[Q] Need help with Handler and or Timer - Android Q&A, Help & Troubleshooting

Hey guys so here's the dealio
I'm trying to make after I push a button an object move like 3 px from the bottom of the screen to the top of the screen and then disappear.
Iv'e never used a Timer before and it was suggested on other sites that I use a Handler?
I'm programming on eclipse for an android game app
If anyone has any Ideas I greatly appreciate it.
thanks
jen

Related

[Q] Full screen flash and....

Hi guys,
I have 2 questions. The 1st is does anyone know how to get full screen flash? eg. When I go watch a starcraft 2 stream on team liquid it seems to cut off at the top, probably because the android status bar at the top is still showing. Anyway to get rid of it?
The second question....Does anyone know how to assign a double tap home button action to our galaxy s 2 using launcher pro, like another app or something.
Thanks in advance!

[Q] - Tasker - Event Trigger when landing on a specfic homepage

Hi Everyone,
Let me start by thanking everyone in advance for any help. I've recently started playing around with tasker and there's one thing I'd like to do that I can't seem to figure out. What I'd like to do is set up a tasker event to trigger a task when I reach a specific homescreen (ie: Homescreen 1 of 7) originally the intent was to hide the dock when on my main home screen and call it back whenever I was on any other. I know we can use the %WIN variable but that only returns the window. For example, my launcher is Nova and %WIN returns Nova regardless of which of the homescreens i'm on. Any help will be greatly appreciated!

[Q] Log touch events script help

Apologies if this doesn't belong here. I have been searching for a solution for a few days now. A bit about what I am trying to do. I own a Pivos Xios android device. It is a set top box type thing for your tv. Unfortunately my tv is slightly older and is still vulnerable to the screen burning if a static image is left to long. It has no display timeout so none of the screen savers on the play store will work. I started to mess with Tasker to make my own, but there is no way to detect a screen touch event in Tasker to know when to toggle a screen saver.
I am a complete newb when it comes to scripting for android. I took a look at an app called script manager, it looks useful, but doesn't help me much right now. So I wonder if this is possible or not, but what I would like to do is have a script that senses when the touch events happen and then writes to a text file. It doesn't even have to write anything worth a value. Tasker can detect the change in the text file and trigger my screen saver event.
I found out that using getevent -lt /dev/input/event2 in a terminal gives me a nice list of all my touch events. Is there a simple way to use it for what I want? Is there anyone that could give me a code snippet to fulfill my needs? Or at the very least point me in the right direction?
Thanks for taking the time to read!

[Q] Tasker help - give in-app text box focus

Hi, I'm not quite sure where to put this question, so sorry if it's in the wrong place
What I'm trying to do is give the search text box in the Contacts app focus, right when I open the app, thus bringing up the keyboard so I can type right away. Is this possible?
Thanks!
Figured it out. Used an "input tag x y" script to simulate a tap on the textbox.

Little help

I'm looking to make a small app for a friend. It's just gonna be like one of those app introduction pages where you swipe left to get to the next instruction/page. That's all I need. I used Android studio and had a go, and was able to make an app that had a blank activity with text, and a button. Also made a second activity as ghee second page but was unable to link the button to it. Tried multiple times but failed. Can someone help me?

Categories

Resources