Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Tim Cooke
Paul Clapham
Liutauras Vilda
Sheriffs:
Junilu Lacar
Rob Spoor
Jeanne Boyarsky
Saloon Keepers:
Stephan van Hulst
Carey Brown
Tim Holloway
Piet Souris
Bartenders:
Forum:
Android
Activity restarts even after android:configChanges is set in Manifest
Naishadh Parmar
Ranch Hand
Posts: 95
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have an activity and I
DON'T
want it to restart when its orientation changes.
i wrote this in the activity tag of the Manifest file:
android:configChanges="orientation|keyboardHidden|keyboard"
and also implemented the onConfigurationChanged(Configuration) method
But still the activity restarts!!!
Please help me out.
Ulf Dittmer
Rancher
Posts: 43077
77
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What minSdkVersion and targetSdkVersion values are you using in the manifest (if any)?
Naishadh Parmar
Ranch Hand
Posts: 95
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Ulf. Thanks for the reply
minSdkVersion = 8
targetSdkVersion = 8
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Exception while running my app. (TargetSDK 2.2 API Level 8 running on 1.5 (API Level 3)
AdMob ad doesn't show in the emulator
Disadvanteges of android:configChanges="orientation|keyboardHidden"
Google Admob Integration Errors
Two Buttons - Only one works?
More...