Continue activity after screen orientation change - Android?

You can accomplish this by setting an attribute on your activity in your AndroidManifest. Xml file. This tells your activity to not kill the activity and call onCreate again on orientation or keyboard changes activity android:name="YourActivity" android:configChanges="orientation|keyboard.

You can accomplish this by setting an attribute on your activity in your AndroidManifest. Xml file. This tells your activity to not kill the activity and call onCreate again on orientation or keyboard changes.

You should add the following line in each of your activity Element in android menifest file android:configChanges="orientation|keyboard|keyboard.

I currently have a class that'll play audio Files, however if I tilt my screen to horizontal or portrait, it just restarts. How can I make my app continue from where it left off after I tilt my screen? Note that I do not want my app to be fixed in the portrait/horizontal position.

Thanks a lot!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions