Dear Anik Ralhan;
                            Add below lines to your menifest file
                android:configChanges="orientation" and one of activty
method need to override  . .
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);

}

If still you are facing problem feel free to ask . . .


On Mon, Apr 11, 2011 at 10:54 PM, anik ralhan <rebellion.a...@gmail.com>wrote:

> hey can you please send me the steps that you followed,actually m also
> facing the same problem
>
>
> On Sun, Apr 10, 2011 at 2:56 PM, Me <tonasirin...@gmail.com> wrote:
>
>> Hi thanks group > I solved this one ....
>>
>>
>>
>> On Mon, Apr 11, 2011 at 1:34 AM, TreKing <treking...@gmail.com> wrote:
>>
>>> On Sun, Apr 10, 2011 at 1:12 AM, Jons Jean <tonasirin...@gmail.com>wrote:
>>>
>>>> problem is this when I rotate phone its activity got restart , How I can
>>>> handle it ?
>>>>
>>>
>>> Read the documentation. This is covered extensively in the life cycle
>>> documentation.
>>>
>>> From google I find the way to handle this to add below line in menifest
>>>> fine > I add this line but same problem  ,
>>>>  android:configChanges="orientation"
>>>>
>>>
>>> That's a hack around the main problem of saving state. Doing this so that
>>> you don't have to save your state will only mask the problem. You may not
>>> restart on orientation change, but your app will restart when you press Home
>>> and come back to it some time later. You should be able to handle this and
>>> switching orientation is the quickest and easiest way to test this.
>>>
>>>
>>> -------------------------------------------------------------------------------------------------
>>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
>>> transit tracking app for Android-powered devices
>>>
>>>  --
>>> 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
>>
>>
>>
>>
>> --
>> -----------------------------------------------
>> Regards :
>>                Muhammad Nasir Aftab
>> -----------------------------------------------
>>
>> --
>> 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
>>
>
>
>
> --
> *
> --
> Anik Ralhan*
> *3rd year Student *
> *Chitkara University*
>
>  --
> 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
>



-- 
-----------------------------------------------
Regards :
               Muhammad Nasir Aftab
-----------------------------------------------

-- 
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