PhoneGapDelegate.h defines the startPage method of the class, which you can overload / override in the AppDelegate.m file of the iOS application.
+ (NSString*) startPage;
For example:
+ (NSString*) startPage{ return @"http://m.google.com"; }
Will override the start page in PhoneGap. You will need to add google.com to your external addresses in PhoneGap.plist. Starting with PhoneGap 1.2. If you do this and enable plugins in your own application, remote PhoneGap applications and their associated * .js will be able to prefix the actions of the plugin. I checked this with BarcodeScanner, ChildBrowser and ApplicationPreferences.
UPDATE
Starting with 1.4.0 and 1.4.0, startPage and wwwFolderName are properties instead of methods. They are still overridden, but you can no longer have startPage for remote (non-local) installation of a phone screen saver, as in my example above. (What a bummer)
mtwagner
source share