[android-developers] How to keep state on expandablelistview when changing orientation

2011-09-06 Thread Jump
Hi I have implemented a ExtendableListView just like the ExtendableListView2 example from the ApiDemos. But I don't understand why the extended/collapsed states are not saved when changing orientation or starting an activity and going back. I have my own layout which contains Do I have

Re: Ang.: Re: [android-developers] Password protect an app

2011-08-29 Thread Jump
Thanks for the tip! But Pray doesn't work when switching between apps. For example, if you start a downloaded app from notification bar when pray is in the foreground and then go back, it won't show the password. This works with Dropbox. -- You received this message because you are subscribed

Re: Ang.: Re: [android-developers] Password protect an app

2011-08-28 Thread Jump
I did not manage to do it in a satisfying way. I noticed that Dropbox app has password protection and it works as expected. Does anybody know how dropbox did it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: Change spinner's text color?

2011-08-23 Thread Jump
Did you resolve this paladin? Anyone with some pointers? The spinner does not support android:textColor Thx -- 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 unsubs

Ang.: Re: [android-developers] Password protect an app

2011-07-02 Thread Jump
Ah, an inactivity timeout, seems like a good enough solution. Thank you guys! -- 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 ema

[android-developers] Password protect an app

2011-07-02 Thread Jump
Hello I want to password protect my app so that whenever any activity that is owned by my app's process no longer is in the foreground and then comes back into foreground there should be a "enter password" dialogue. Is this possible? It's hard to find a place in code to show the dialogue due t

Ang.: Re: Ang.: Re: Ang.: Re: Ang.: Re: [android-developers] Activity is destroyed than instantly created when pushing the sleep/lock-screen button

2011-05-13 Thread Jump
Yes, that's what I was referring to. I also saw the Handling Runtime Changes post. Thx! (Regarding the header. If you mean the "Ang:". I am responding directly from google groups webgui which defaults to my local languag

Ang.: Re: Ang.: Re: Ang.: Re: [android-developers] Activity is destroyed than instantly created when pushing the sleep/lock-screen button

2011-05-13 Thread Jump
There's nothing wrong with my app. I just want to prevent it from restarting unnecessarily since it loads textures n' stuff. If i need it, I will handle configuration changes at runtime. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

Ang.: Re: Ang.: Re: [android-developers] Activity is destroyed than instantly created when pushing the sleep/lock-screen button

2011-05-13 Thread Jump
Wow, your assumption was correct! :D I am forcing landscape mode since it's a game. I just added android:configChanges="orientation" and this was the solution to my problem. I see the importance of configChanges. I will probably add keyboard and keyboardHidden as well. Locale is ok if it destro

Ang.: Re: [android-developers] Activity is destroyed than instantly created when pushing the sleep/lock-screen button

2011-05-13 Thread Jump
on > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Tue, May 10, 2011 at 8:00 AM, Jump wrote: > >> I do not want to handle state > > > -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] Activity is destroyed than instantly created when pushing the sleep/lock-screen button

2011-05-10 Thread Jump
Hello When I run my game app and then push the sleep/lock-screen button my activity is destroyed (onDestroy is called) and then directly after, onCreate is called. However, if I first put my app in the background then push the sleep/lock-screen button the activity is not destroyed. Can anyone

[android-developers] opengl: Loading textures in another thread

2011-03-30 Thread Jump
Hello I am trying to load and bind textures in another thread while the rendering thread is showing a loading screen. I am trying to create a shared context and set that to the current then do all the work and then set the context of the rendering thread back to current. This is the code in m