Re: [android-developers] Screen rotation clears TextView

2011-02-16 Thread TreKing
On Tue, Feb 15, 2011 at 12:40 PM, David Parker parker.davi...@gmail.comwrote: However, when the device is rotated, the Activity resets and that TextView gets cleared. Does anyone know what the problem might be? Any way to make sure this Activity does not reset on rotation? I read the

[android-developers] Screen rotation clears TextView

2011-02-15 Thread David Parker
Hello, For some reason, I have one Activity in my app which does not behave like the rest and seems to reset when the screen is rotated. I have this specified for all Activities in the manifest: android:configChanges=orientation None of the other Activities in my app have any problems when the

[android-developers] Screen rotation clears TextView

2011-02-15 Thread d_a_parker
Hello, For some reason, I have one Activity in my app which does not behave like the rest and seems to reset when the screen is rotated. I have this specified for all Activities in the manifest: android:configChanges=orientation None of the other Activities in my app have any problems when the

Re: [android-developers] Screen rotation clears TextView

2011-02-15 Thread Bambr
you have to check for onSaveInstanceState event handler and related thing - restoring application state from bundle. Google for it - should be easy to find. In general - it will allow you to save needed data and then assign it when activity is re-created after orientation change. On Tue, Feb 15,

Re: [android-developers] Screen rotation clears TextView

2011-02-15 Thread Kumar Bibek
Check if the text view has a id. Normally, the framework would save all the basic values such as TextViews and Edittexts after orientation change. But it looks like you haven't specified the value of the TextView in one of the orientations. Kumar Bibek http://techdroid.kbeanie.com

[android-developers] Screen rotation with App Widgets loses onClick connection

2011-01-13 Thread John Gaby
I have an App Widget on the Home screen which works fine until the screen is auto-rotated. At that point, the onClick connection (set up via a call to setOnClickPendingIntent) is lost. The only way I seem to be able to get it back is to delete the Widget from the Home screen and then add it

[android-developers] Screen Rotation

2010-12-31 Thread Robert
I have an application that I am trying to stop the automatic restart when the screen is rotated. I put android:configChanges=orientation| keyboardHidden into the Manifest (copied below) but the screen still rotates and the OnCreate is called (verified by writing to the log in OnCreate). Have I

Re: [android-developers] Screen Rotation

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 11:48 AM, Robert rcope...@gmail.com wrote: The reason I want to do this is that the app is accessing a webserver via an AsyncTask and I'd like to stop the restart until I can figure out how to link the background task to the new pid that is created. I've read some

Re: [android-developers] Screen Rotation

2010-12-31 Thread Kostya Vasilyev
AsyncTask can be carried through configuration changes by using getLastNonConfigurationData (or some such, I writing this from my phone). The technique was discussed on this list within the last month or two, hopefully you can find it. -- Kostya Vasilyev -- http://kmansoft.wordpress.com

[android-developers] Screen rotation and ProgressDialog

2010-09-20 Thread Bret Foreman
How should I handle an active ProgressDialog when the screen is rotated? Perhaps I should cancel the dialog in onDestroy and restart it in response to a SavedInstanceState flag? I'm getting an exception and the following message in logcat: E/WindowManager( 4240): Activity

Re: [android-developers] Screen rotation and ProgressDialog

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 2:01 PM, Bret Foreman bret.fore...@gmail.comwrote: How should I handle an active ProgressDialog when the screen is rotated? If you use showDialog(), it gets managed for you.

[android-developers] Screen Rotation

2010-07-16 Thread 7H3LaughingMan
I was working on implementing a more advanced list view then the standard one they teach you in basic tutorials, and I did find a great tutorial explaining how to create your own Adapter and such not. http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ I do have a

Re: [android-developers] Screen Rotation

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 11:09 PM, 7H3LaughingMan austin.brk...@gmail.comwrote: I have no clue on how to set it up so that when it rotates that it doesn't recreate everything and re-fetch the data and process it again. Review the Activity Lifecycle and then go here:

Re: [android-developers] Screen rotation counter clockwise

2009-11-02 Thread Dianne Hackborn
Sorry this is not currently supported. On Sun, Nov 1, 2009 at 6:54 AM, Dmitry Munkov fair...@gmail.com wrote: Good day everyone! Is there any way to make autorotation work in both ways: both clockwise and counter clockwise? It's a pain when reading a book that scrolls with volume keys (HTC

[android-developers] Screen rotation

2009-08-22 Thread kabir
Hi, I have an activity which I have defined to keep in portrait position. However I would still like to change things (slightly) when the screen is rotated, what is the best way of doing this? I notice onConfigurationChanged is still called, but this still reports portrait mode. I want to keep

[android-developers] Screen rotation

2009-08-06 Thread engin
Hi, Can we check whether or not user rotated phone while he is capturing video or taking photo? I mean that can we realize that user rotated phone from verticak to horizantal or vice versa? --~--~-~--~~~---~--~~ You received this message because you are subscribed