I have a web application with a phone 1.3 and jquerymobile 1.0 that works well on all versions of Android, but 4.0 In fact, if I change the orientation, the power of the application is rounded off without errors and there are no (as I understand it) logcat errors. If I open my application in portrait work, if I open in landscape work, but if I try to switch the closure
Here is my code:
import android.os.Bundle; import com.phonegap.DroidGap; public class MYActivity extends DroidGap { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.loadUrl("file:///android_asset/www/index.html"); } }
of course it's me
android:configChanges="keyboardHidden|orientation" android:screenOrientation="sensor"
in the manifest!
thanks for the help
Leonardo Gandini
source share