[android-developers] Re: Orientation change action

2011-06-23 Thread suresh
Thank you EmbSysPro for your help. now am clear. thank you very much 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 email to

[android-developers] Re: Orientation change action

2011-06-23 Thread Oleg V
I've actually been looking for a solution to this quandary for some time. The quickest is just to add this property to each activity tag in your AndroidManifest.xml file: *android*:configChanges=keyboardHidden|*orientation* However, this won't keep your task/download working if, say, the user

[android-developers] Re: Orientation change action

2011-06-22 Thread suresh
i tried but am not getting please help me with code -- 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

Re: [android-developers] Re: Orientation change action

2011-06-22 Thread TreKing
On Tue, Jun 21, 2011 at 6:31 AM, suresh sureshmca.sv...@gmail.com wrote: i tried but am not getting please help me with code i tried but your are not getting please help yourself by reading the documentation.

[android-developers] Re: Orientation change action

2011-06-22 Thread EmbSysPro
Hi, I feel your pain. The life cycle of an activity seemed strange to me until I began to log every entrance into these methods. As a result I began to understand what was going on and why. I can't seem to find a way to attach this code to the reply so I'll have to just insert it here. This

Re: [android-developers] Re: Orientation change action

2011-06-22 Thread TreKing
On Wed, Jun 22, 2011 at 2:21 PM, EmbSysPro char...@embsyspro.com wrote: This works very well for me on my Archos 43IT (Android 2.2.1). You just need to follow this simple logic replacing it with your own requirements. This is a simple new user info panel. Buddy ... the system calls onSave

[android-developers] Re: Orientation change action

2011-06-22 Thread EmbSysPro
Firstly, what you state has not been my experience and it did not and does not work on my devices. Perhaps there is another issue involved, but the only reason I went to such toil is expressly because I had to do so for every field to remain the same upon an orientation change. I've got both an

Re: [android-developers] Re: Orientation change action

2011-06-22 Thread TreKing
On Wed, Jun 22, 2011 at 3:16 PM, EmbSysPro char...@embsyspro.com wrote: Firstly, what you state has not been my experience and it did not and does not work on my devices. Perhaps there is another issue involved, but the only reason I went to such toil is expressly because I had to do so for

Re: [android-developers] Re: Orientation change action

2011-06-22 Thread Kostya Vasilyev
save data while data downloading from network with out restarting again after change the orientation Perhaps the question is more to do with maintaining a worker thread or an AsyncTask during orientation changes? -- Kostya 2011/6/23 TreKing treking...@gmail.com On Wed, Jun 22, 2011 at 3:16

Re: [android-developers] Re: Orientation change action

2011-06-22 Thread TreKing
On Wed, Jun 22, 2011 at 3:42 PM, Kostya Vasilyev kmans...@gmail.com wrote: Perhaps the question is more to do with maintaining a worker thread or an AsyncTask during orientation changes? True - missed that part. For that there's this:

Re: [android-developers] Re: Orientation change action

2011-06-22 Thread Dianne Hackborn
Your views do need to have an android:id assigned to them to be able to save/restore their state automatically (otherwise they wouldn't be able to correlate the data between the old and new view hierarchies). On Wed, Jun 22, 2011 at 1:30 PM, TreKing treking...@gmail.com wrote: On Wed, Jun 22,