android
-
(Android) Prevent config change on orientation change
Add to activity in manifest: [xml]android:configChanges="keyboardHidden|orientation|screenSize"[/xml]
-
Open weblinks in external browser when using Phonegap
To prevent a Phonegap-wrapped app from opening external links in the apps webview, use javascript to open the link in the external browser. This works on Android (probably other platforms as well) [html]<a href="#" data-rel="external" target="_blank" onclick="window.open(‘http://www.jymden.com’, ‘_system’)">Jymden</a>[/html]