Thursday, June 30, 2011

Re: [PhoneGap] how to add get applicationDidBecomeActive and didFinishLaunchingWithOptions methods in Phonegap

Use the latest 0.9.6. applicationdidFinishLaunchingWithOptions is there, applicationDidBecomeActive is there but in the subclass PhoneGapDelegate.

For active/inactive events, use the "pause" and "resume" events in javascript instead to handle that event: http://docs.phonegap.com/phonegap_events_events.md.html

On 2011-06-29, at 3:00 AM, Abhi wrote: >
Hi, > > 
Native apps on IOS have the following methods >
- (BOOL)application:(UIApplication *)application > didFinishLaunchingWithOptions:
(NSDictionary *)launchOptions >
- (void)applicationDidBecomeActive:(UIApplication *)application >
> but Phonegap.0.9.4 has >
- (void)applicationDidFinishLaunching:(UIApplication *)application >
- (void)webViewDidFinishLoad:(UIWebView *)theWebView //this does not > trigger when app comes to foreground from background > > > > > Pls advice how to add the two triggers in Phonegap platform (required > to implement push notification all scenarios) >
- (BOOL)application:(UIApplication *)application >
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions >
- (void)applicationDidBecomeActive:(UIApplication *)application > > -- >

You received this message because you are subscribed to the Google >
Groups "phonegap" group. > To post to this group, send email to phonegap@googlegroups.com >
To unsubscribe from this group, send email to >
phonegap+unsubscribe@googlegroups.com >

For more options, visit this group at >
http://groups.google.com/group/phonegap?hl=en?hl=en > >

For more info on PhoneGap or to download the code go to www.phonegap.com -- You received this message because you are subscribed to the Google Groups "phonegap" group. To post to this group, send email to phonegap@googlegroups.com

To unsubscribe from this group, send email to phonegap+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/phonegap?hl=en?hl=en For more info on PhoneGap or to download the code go to www.phonegap.com

No comments:

Post a Comment