[android-developers] Remote Detection of Touch Events

2010-10-12 Thread Florian Lettner
Hi guys, I'm currently working on a testing framework for usability purposes and wondered if I can record or detect touch events of an application's GUI although I do not modify the target application. Some sort of keyhook. However, I do not need to directly hook a target application. I just want

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
public static ServerConnection getInstance() {       if(m_connection == null)           m_connection = new ServerConnection();       return m_connection; } Actually I've done it this way, was just a writing error -- You received this message because you are subscribed to the Google

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
of m_connection =       return m_connection; } I hope this helps, somehow. I know it's hard to do when you're lost, but if you can better describe your circumstance, you can get more useful answers. (Sometimes, doing so even leads you to your own answer!) On Feb 6, 4:08 am, Florian Lettner fl.lett

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
It's unclear from your description just where you're storing your non- static variables. The right way would appear to be in your ServerConnection instance, since that's the static singleton. Your activity will have a much shorter lifespan. The variables are stored as class members in the

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
Activities? On Feb 8, 5:58 am, Florian Lettner fl.lett...@gmail.com wrote: It's unclear from your description just where you're storing your non- static variables. The right way would appear to be in your ServerConnection instance, since that's the static singleton. Your activity will have

[android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Florian Lettner
Mhm, I guess this could be the problem. I will check it. Otherwise I will use a shared property which will finally solve this issue. On 8 Feb., 21:24, Mike Collins mike.d.coll...@gmail.com wrote: Some thoughts, Is your service delcared remote in the manifest?  If so you do know how to debug

[android-developers] Multitouch: Two buttons at the same time?

2009-10-06 Thread Florian Lettner
Hi, I'm planning to develop a small jump and run game and wondered how to recognize two button presses at one time. For example, I want to run left and jump during running. Is it possible to catch both button presses on the touch? Regards, Florian