Thursday, June 30, 2011

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

cd ~/Documents/phonegap-iphone/ git remote update git merge origin/master make, reinstall the pkg, reload, clean & rebuild On Jun 30, 10:40 am, Abhilash Vijayakumar wrote: > Ok thank you. Any recommended way to convert an existing Phonegap.0.9.4 app > to Phonegap.0.9.6 app > Can Phonegap0.9.4 and 0.9.6 templates co-exist in xcode3.2.6 ? > Pls advice > Regards > Abhilash Vijayakumar > > On Wed, Jun 29, 2011 at 6:17 PM, Shazron Abdullah < > > > > shazron.abdul...@nitobi.com> wrote: > > 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 towww.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 towww.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