Add confirm, start/stopActivity, start/stopProgress to notification service. Add "application loading" spinner that user can optionally show when app is starting.

This commit is contained in:
Bryce Curtis
2010-10-08 09:18:10 -05:00
parent 72b2ec804c
commit 50ab0e0834
4 changed files with 280 additions and 17 deletions
+3
View File
@@ -245,6 +245,9 @@ PhoneGap.Channel.join(function() {
* received from native side.
*/
PhoneGap.Channel.join(function() {
// Turn off app loading dialog
navigator.notification.activityStop();
PhoneGap.onDeviceReady.fire();
// Fire the onresume event, since first one happens before JavaScript is loaded