Re: [android-developers] Re: On screen orientation changes activity restarted.

2012-10-04 Thread nihal
i have a similar problem too. And i find my answer in http://stackoverflow.com/questions/10906395/android-manifest-configchangesscreensize-is-not-available Maybe this is the solution of your problem too. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: On screen orientation changes activity restarted.

2012-09-26 Thread Joseph Visuvasam
Hi I am also have the same problem. Here i show you the code. public class YemegimyoldaActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { final ProgressDialog progressDialog = new ProgressDialog(this);

Re: [android-developers] Re: On screen orientation changes activity restarted.

2012-09-26 Thread Marina Cuello
If your target is 13 or higher you need to add screenSize too. You didn't even needed Google on this one. It's on the docs. http://developer.android.com/guide/topics/manifest/activity-element.html#config Marina On Sep 26, 2012 3:52 AM, Joseph Visuvasam josep...@roamsoft.in wrote: Hi I am also

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
Hi, Martins. I had tried it by still activity restarted. On Aug 16, 10:46 am, Martins Streņģis martin...@draugiem.lv wrote: add android:configChanges=orientation to your manifest in each activity activity android:name=Settings android:configChanges=orientation / -- You received this message

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
i dont know why but i doesn't work on emulator on phones it works just fine try it :) -- 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,

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Tonny
you should remove keyboardHidden . Result: android:configChanges=orientation On Aug 16, 12:12 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi everybody, I know on screen orientation changes activity restarted, but suppose i don't want to restart the activity then what should I do? I had

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
Ok I had tried it but it doesn't work. Look I had developed one simple application in that only I had print one line in onCreate method, but each time when I change screen orientation that statement print (i.e. which I had write in onCreate() method) Here is my code import android.app.Activity;

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
Hello , Please someone tell me how to solve this issue. -- 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: On screen orientation changes activity restarted.

2010-08-16 Thread Floaters
I met the same issue activity android:name=Settings android:configChanges=orientation / did not work. 2010/8/16 pramod.deore deore.pramo...@gmail.com Hello , Please someone tell me how to solve this issue. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
as i said earlier for some reaosn it doesnt work on emulators. that fix works only on real phones -- 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

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
Hi, Martnis, But I am running this application on real phone G1, but still onCreate() method is called each time when I open or close the keypad. On Aug 16, 3:51 pm, Martins Streņģis martin...@draugiem.lv wrote: as i said earlier for some reaosn it doesnt work on emulators. that fix works only

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
sounds like daily wtf :) -- 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

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
I am also searching for this from last 8 hours but everybody says that add this in manifest.xml as android:configChanges=orientation . But still onCreate() method is called on each time when I open or closed keyboard.I really don't understand what to do? On Aug 16, 4:52 pm, Martins Streņģis

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread alan
android:configChanges=keyboard|keyboardHidden|orientation is working for me On Aug 16, 12:58 pm, pramod.deore deore.pramo...@gmail.com wrote: I am also searching for this from last 8 hours but everybody says that add this in manifest.xml as  android:configChanges=orientation . But still

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Namrata
I generally use following and it works always for me android:configChanges=orientation|keyboardHidden On Aug 16, 6:40 pm, alan a...@birtles.org.uk wrote: android:configChanges=keyboard|keyboardHidden|orientation is working for me On Aug 16, 12:58 pm, pramod.deore deore.pramo...@gmail.com

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Matt West
Your syntax in the manifest is wrong. Your code shows; activity android:name=.ActivityTesting android:label=@string/app_name android:configChanges=orientation It should be: activity android:name=.ActivityTesting

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Matt West
Hey, Check your syntax in you manifest. You have closed the activity tag in the wrong place. Your code: activity android:name=.ActivityTesting android:label=@string/app_name --- This is your problem android:configChanges=orientation Should

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
Oh In many application I am facing this problem but because of you now it is solved. Thanks to Martins, Tonny, Alan,Namrata, and MATT. After closing the activity tag configChanges attribute my problem is solved. when I write android:configChanges=orientation then also onCreate () method is