Hello, i think i did this sometime ago, but i don't remenber. So, there is a code that don't recreate the activity when the orientation is changed?
I need to do just one activity, not more than this, the solution of create another activty doesn't work to me.
I use this string android:configChanges="orientation|screenSize" in the manifest to save data when I change the orientation of the screen. OK, the information is saved, but the layout view does not adapt to the new orientation, i.e. for example, the portrait view doesn't change to...
So... I locked orientation to portrait because people using my app on phones kept accidentally resetting the activity by rotating the phone. That worked great. UNTIL someone with a FireTV said it looked distorted.
So is the solution for me to change #SupportedOrientations: portrait to...
FIXED! See next post after this one
I've added some landscape variants to my primary layout and now Amazon app store says: "Your APK currently supports no devices. In order to submit your app, this APK must support at least one device."
#Region Project Attributes...
On some smartphone wit API 26 and Android 8, the app close reporting in log this error
Caused by java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
Is there a way to restore an indexed table to the last state, for example on screen rotation. From what I can tell, it happens on activity_resume, however if activity_create is called, then it overrides it.
Alternatively, is there a way to get the index of the item at the top of the screen in...
For OCR the picture with a text must be prepared in correct orientation (without option\setting of the picture orientation, let it be so). And photo of the max possible resolution.
If to use the intent based camera and get the photo for OCR - it's very different result under Android...