Could you provide a code-snippet showing how you coded the menu-
handling and the starting of your thread?


On Mar 12, 10:00 am, Ikon <ayanafr...@gmail.com> wrote:
> Hi,
>
> I am developing a game based on the SurfaceView/LunarLander example in
> the sample code.
> I have one activity, with one menu option that is "new game".
>
> My activity listens for the menu selection, and once new game is
> selected, doStart of the Game thread is called.  The game starts up
> after 3-4 seconds, but the menu option sticks around on the screen
> until the game has started.  I think the main thread is waiting on the
> doStart to do its thing, but since it's creating a new thread, how do
> I get it to just start the thread and continue its business of hiding
> the menu option right away, instead of after 3 seconds?
>
> Thanks,
> Ayan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to