On Wed, Apr 9, 2008 at 9:49 AM, Nixarn <[EMAIL PROTECTED]> wrote:

>
> I got a few small issues I hope to resolve before submitting my entry
> to the Challange.
>
> 1. How can I get the game into the pause state. Always when I try for
> example to press the green phone it seems to remove the application
> completely from memory? And is there any other way to store the
> applications state than create a boundle with all variables? What if I
> have alot of them?


For storing data when application process can be killed, place that data in
persistent storage like Application Preferences, SQLite DB, Files or
ContentProviders.
Please refer to the Storing, Retrieving and Exposing
Data<http://code.google.com/android/devel/data.html>for further
details on how to use these components.

>
>
> 2. When I touch the screen the keys don't react at all for a while. It
> could be a problem if you want to control my game with the keys but
> control the menu with the touch screen.


Did you use setFocusableInTouchMode(true)?


>
> Thanks in advance!
>
> Niklas
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to