remine focus on the main activity (while switching activities)
- by rayman
Hi,
Ive got two activities in the same application.
the first one is with gui(main activity)
the second one is a listener which works infinite without gui.
Wierd problem occurs:
i am running the second activity with a diffrent thread so i could keep on
manipulate the gui..
but for some reason, the gui losing it's focus for some reason, only when i press 'home' and come back to it, then i can continune maniuplate the gui.
it feels like after i launch the second activity, the gui activity(the main) is losing the focus.
how come?
in my mainactivity i have:
setContentView(R.layout.main);
and its setted as the launcher in the manifest.
thanks,
ray.