Reputation: 107
I have developed a simple PhoneGap application for ios.
This app is mainly a wrapper of a mobile website.
onDeviceReady
I just do the following:
window.open(myURL, '_blank');
myURL:
opens a webview object which refer to a website built for mobile using jquery-mobile
.
I would like to have the myURL
be selected from a settings window within the application.
Upvotes: 0
Views: 308
Reputation: 3268
if you are more good at HTML
than objective-c
, create the settings page as your first page of the phonegap app, i.e in HTML. Then when you get the myURL
value, just open that in an inappBrowser
.
Get the inappBrowser
plugin from this GitHub repo
Update:
If you have the SDK for the respective platforms installed, then you can create the project using cordova/phonegap CLI
and then use your Platforms IDE (XCode
, Eclipse
. etc) to build and publish the app. Where as using phonegap-build
, see this question.
Upvotes: 1