[jira] [Commented] (CB-1286) Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + Android Transformer Pad

2012-11-05 Thread Simon MacDonald (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490675#comment-13490675
 ] 

Simon MacDonald commented on CB-1286:
-

Cool, thanks for the investigation. Have you created a separate issue for this 
bug? If not you should and include these findings.

> Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + 
> Android Transformer Pad
> -
>
> Key: CB-1286
> URL: https://issues.apache.org/jira/browse/CB-1286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.0.0
> Environment: Android 4.0.3; Asus Transformer Pad,
>Reporter: Walter Nicholls
>Assignee: Joe Bowser
> Fix For: 2.2.0
>
> Attachments: TPadBug-debug.apk, TPadBug-src.zip
>
>
> Using attached sample app, program works up until tablet goes to sleep. When 
> the tablet wakes up, callback no longer functions 
> Full thread of original problem report: 
> https://groups.google.com/forum/?fromgroups=#!topic/phonegap/ut3RqEgDx58
> I started with Cordova 2.0.0, then while investigating upgraded to 
> development code from github and struck an introduced, now fixed, problem. SO 
> I am now back to the original issue but with latest code (2.1 RC)
> Steps to reproduce:
> --
> 1. Install attached APK file (I also include source in separate zip (includes 
> cordova.jar file), and run program.
> 2. Touch the "dialog" button
>  OBSERVED:  Text says "mary had a little lamb..." ( result from plugin)
> 3. Touch "Close" to return to front screen
> 4. Wait for the tablet to go to sleep and disconnect from network etc - takes 
> about 5 minutes with my tablet as it is configured. (screen going dark is not 
> enough, it has to shut down into deep sleep)
> 5. Wake the tablet and unlock screen
> 6. Touch the "dialog" buitton again.
>   EXPECTED:  Text "mary had a little lamb..." again
> but  OBSERVED:  Text "if you are reading this something went wrong"
> What seems to be happening
> ---
> The way the dialog works is that the "something wrong" message is the text in 
> the HTML file, but the page show functions calls a plugin to get the text to 
> show.  This is all handled by jQuery Mobile with an ajax load.
> Until the deep sleep point, everything works as expected, the plugin returns 
> a result which is placed in the queue, then the setTimeout()-based Javascript 
> side picks it up.
> After deep sleep, the callback mechanism breaks, and although the plugin is 
> called and produces a result, this is never collected from Javascript.
> I watch the log with the command :
>   adb logcat -v time | grep -E "Cordova|Callback|DroidGap|TPadBug"
> So while it is working...
> 8-28 14:15:32.180 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:15:32.200 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:15:32.200 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin exiting
> 08-28 14:15:32.250 D/CordovaLog(29867): Dialog has got results back from 
> plugin: 102 chars
> 08-28 14:15:32.250 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 47 : Dialog has got results back 
> from plugin: 102 chars
> 08-28 14:15:35.770 D/Cordova (29867): 
> onPageFinished(file:///android_asset/www/index.html)
> Note particular the "Dialog has got results back.." which shows the JS 
> callback working.
> After a sleep/resume cycle:
> 08-28 14:23:05.880 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:23:05.900 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:23:05.900 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin exiting
>  .. and nothing more, no dialog handler.
> (I did have a lot of console.log and Log.d calls as well, but these got lost 
> in some of the test and updating to latest code. Read Google Groups thread 
> for the agonizing detail).
> Needless to say, this stops my app in its tracks.
> I left an additional page for "test timeouts" which if you navigate to this, 
> it shows that callbacks are once again working, and then when yo

[jira] [Commented] (CB-1286) Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + Android Transformer Pad

2012-11-04 Thread Adam (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490242#comment-13490242
 ] 

Adam  commented on CB-1286:
---

Thanks for the quick response, Simon.

Actually, I think I have found the issue: I had javascript timers (recursive 
setTimeouts) running in the background every 15 minutes. I think when the app 
is brought into the foreground, all of those timer actions were queued up and 
have to execute before the resume callback fires on the javascript side. Very 
confusing --since the web console doesn't seem print anything until the queued 
actions are done. Then a massive console log appears! 

Shouldn't "resumeTimers" just start the js where it left off? Also, 
super.setBooleanProperty("keepRunning", false) seems to have no effect at all.

Anyway, it's strange and baffling and not at all consistent with the IOS side. 

I did confirm, however, that the freezing stops after clearing these timers on 
the "pause" event on the js side.

I will put together a simplified sample and issue a new ticket when I have a 
little more time. 

Thanks!

> Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + 
> Android Transformer Pad
> -
>
> Key: CB-1286
> URL: https://issues.apache.org/jira/browse/CB-1286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.0.0
> Environment: Android 4.0.3; Asus Transformer Pad,
>Reporter: Walter Nicholls
>Assignee: Joe Bowser
> Fix For: 2.2.0
>
> Attachments: TPadBug-debug.apk, TPadBug-src.zip
>
>
> Using attached sample app, program works up until tablet goes to sleep. When 
> the tablet wakes up, callback no longer functions 
> Full thread of original problem report: 
> https://groups.google.com/forum/?fromgroups=#!topic/phonegap/ut3RqEgDx58
> I started with Cordova 2.0.0, then while investigating upgraded to 
> development code from github and struck an introduced, now fixed, problem. SO 
> I am now back to the original issue but with latest code (2.1 RC)
> Steps to reproduce:
> --
> 1. Install attached APK file (I also include source in separate zip (includes 
> cordova.jar file), and run program.
> 2. Touch the "dialog" button
>  OBSERVED:  Text says "mary had a little lamb..." ( result from plugin)
> 3. Touch "Close" to return to front screen
> 4. Wait for the tablet to go to sleep and disconnect from network etc - takes 
> about 5 minutes with my tablet as it is configured. (screen going dark is not 
> enough, it has to shut down into deep sleep)
> 5. Wake the tablet and unlock screen
> 6. Touch the "dialog" buitton again.
>   EXPECTED:  Text "mary had a little lamb..." again
> but  OBSERVED:  Text "if you are reading this something went wrong"
> What seems to be happening
> ---
> The way the dialog works is that the "something wrong" message is the text in 
> the HTML file, but the page show functions calls a plugin to get the text to 
> show.  This is all handled by jQuery Mobile with an ajax load.
> Until the deep sleep point, everything works as expected, the plugin returns 
> a result which is placed in the queue, then the setTimeout()-based Javascript 
> side picks it up.
> After deep sleep, the callback mechanism breaks, and although the plugin is 
> called and produces a result, this is never collected from Javascript.
> I watch the log with the command :
>   adb logcat -v time | grep -E "Cordova|Callback|DroidGap|TPadBug"
> So while it is working...
> 8-28 14:15:32.180 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:15:32.200 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:15:32.200 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin exiting
> 08-28 14:15:32.250 D/CordovaLog(29867): Dialog has got results back from 
> plugin: 102 chars
> 08-28 14:15:32.250 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 47 : Dialog has got results back 
> from plugin: 102 chars
> 08-28 14:15:35.770 D/Cordova (29867): 
> onPageFinished(file:///android_asset/www/index.html)
> Note particular the "Dialog has got results back.." which shows the JS 
> callback working.
> After a sleep/resume cycle:
> 08-28 14:23:05.880 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:23:05.900 D/CordovaLog(29867):

[jira] [Commented] (CB-1286) Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + Android Transformer Pad

2012-11-04 Thread Simon MacDonald (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490185#comment-13490185
 ] 

Simon MacDonald commented on CB-1286:
-

[~adamico] Yes, the original bug that was reported by ~Walter and reproduced by 
Joe and myself has been fixed. Whatever you are running into on the S3 is being 
caused by something different. You should open a new bug on it and provide some 
more details, logs, etc.

> Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + 
> Android Transformer Pad
> -
>
> Key: CB-1286
> URL: https://issues.apache.org/jira/browse/CB-1286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.0.0
> Environment: Android 4.0.3; Asus Transformer Pad,
>Reporter: Walter Nicholls
>Assignee: Joe Bowser
> Fix For: 2.2.0
>
> Attachments: TPadBug-debug.apk, TPadBug-src.zip
>
>
> Using attached sample app, program works up until tablet goes to sleep. When 
> the tablet wakes up, callback no longer functions 
> Full thread of original problem report: 
> https://groups.google.com/forum/?fromgroups=#!topic/phonegap/ut3RqEgDx58
> I started with Cordova 2.0.0, then while investigating upgraded to 
> development code from github and struck an introduced, now fixed, problem. SO 
> I am now back to the original issue but with latest code (2.1 RC)
> Steps to reproduce:
> --
> 1. Install attached APK file (I also include source in separate zip (includes 
> cordova.jar file), and run program.
> 2. Touch the "dialog" button
>  OBSERVED:  Text says "mary had a little lamb..." ( result from plugin)
> 3. Touch "Close" to return to front screen
> 4. Wait for the tablet to go to sleep and disconnect from network etc - takes 
> about 5 minutes with my tablet as it is configured. (screen going dark is not 
> enough, it has to shut down into deep sleep)
> 5. Wake the tablet and unlock screen
> 6. Touch the "dialog" buitton again.
>   EXPECTED:  Text "mary had a little lamb..." again
> but  OBSERVED:  Text "if you are reading this something went wrong"
> What seems to be happening
> ---
> The way the dialog works is that the "something wrong" message is the text in 
> the HTML file, but the page show functions calls a plugin to get the text to 
> show.  This is all handled by jQuery Mobile with an ajax load.
> Until the deep sleep point, everything works as expected, the plugin returns 
> a result which is placed in the queue, then the setTimeout()-based Javascript 
> side picks it up.
> After deep sleep, the callback mechanism breaks, and although the plugin is 
> called and produces a result, this is never collected from Javascript.
> I watch the log with the command :
>   adb logcat -v time | grep -E "Cordova|Callback|DroidGap|TPadBug"
> So while it is working...
> 8-28 14:15:32.180 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:15:32.200 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:15:32.200 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin exiting
> 08-28 14:15:32.250 D/CordovaLog(29867): Dialog has got results back from 
> plugin: 102 chars
> 08-28 14:15:32.250 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 47 : Dialog has got results back 
> from plugin: 102 chars
> 08-28 14:15:35.770 D/Cordova (29867): 
> onPageFinished(file:///android_asset/www/index.html)
> Note particular the "Dialog has got results back.." which shows the JS 
> callback working.
> After a sleep/resume cycle:
> 08-28 14:23:05.880 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:23:05.900 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:23:05.900 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin exiting
>  .. and nothing more, no dialog handler.
> (I did have a lot of console.log and Log.d calls as well, but these got lost 
> in some of the test and updating to latest code. Read Google Groups thread 
> for the agonizing detail).
> Needless to say, this stops my app in its tracks.
> I left 

[jira] [Commented] (CB-1286) Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + Android Transformer Pad

2012-11-03 Thread Adam (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490143#comment-13490143
 ] 

Adam  commented on CB-1286:
---

I've confirmed that this is still happening to me with the Galaxy S3, Android 
4.0.4, Cordova 2.2.0. Are there any workarounds? Getting nervous because this 
is a show stopper for our app!

> Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + 
> Android Transformer Pad
> -
>
> Key: CB-1286
> URL: https://issues.apache.org/jira/browse/CB-1286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.0.0
> Environment: Android 4.0.3; Asus Transformer Pad,
>Reporter: Walter Nicholls
>Assignee: Joe Bowser
> Fix For: 2.2.0
>
> Attachments: TPadBug-debug.apk, TPadBug-src.zip
>
>
> Using attached sample app, program works up until tablet goes to sleep. When 
> the tablet wakes up, callback no longer functions 
> Full thread of original problem report: 
> https://groups.google.com/forum/?fromgroups=#!topic/phonegap/ut3RqEgDx58
> I started with Cordova 2.0.0, then while investigating upgraded to 
> development code from github and struck an introduced, now fixed, problem. SO 
> I am now back to the original issue but with latest code (2.1 RC)
> Steps to reproduce:
> --
> 1. Install attached APK file (I also include source in separate zip (includes 
> cordova.jar file), and run program.
> 2. Touch the "dialog" button
>  OBSERVED:  Text says "mary had a little lamb..." ( result from plugin)
> 3. Touch "Close" to return to front screen
> 4. Wait for the tablet to go to sleep and disconnect from network etc - takes 
> about 5 minutes with my tablet as it is configured. (screen going dark is not 
> enough, it has to shut down into deep sleep)
> 5. Wake the tablet and unlock screen
> 6. Touch the "dialog" buitton again.
>   EXPECTED:  Text "mary had a little lamb..." again
> but  OBSERVED:  Text "if you are reading this something went wrong"
> What seems to be happening
> ---
> The way the dialog works is that the "something wrong" message is the text in 
> the HTML file, but the page show functions calls a plugin to get the text to 
> show.  This is all handled by jQuery Mobile with an ajax load.
> Until the deep sleep point, everything works as expected, the plugin returns 
> a result which is placed in the queue, then the setTimeout()-based Javascript 
> side picks it up.
> After deep sleep, the callback mechanism breaks, and although the plugin is 
> called and produces a result, this is never collected from Javascript.
> I watch the log with the command :
>   adb logcat -v time | grep -E "Cordova|Callback|DroidGap|TPadBug"
> So while it is working...
> 8-28 14:15:32.180 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:15:32.200 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:15:32.200 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin exiting
> 08-28 14:15:32.250 D/CordovaLog(29867): Dialog has got results back from 
> plugin: 102 chars
> 08-28 14:15:32.250 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 47 : Dialog has got results back 
> from plugin: 102 chars
> 08-28 14:15:35.770 D/Cordova (29867): 
> onPageFinished(file:///android_asset/www/index.html)
> Note particular the "Dialog has got results back.." which shows the JS 
> callback working.
> After a sleep/resume cycle:
> 08-28 14:23:05.880 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:23:05.900 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:23:05.900 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin exiting
>  .. and nothing more, no dialog handler.
> (I did have a lot of console.log and Log.d calls as well, but these got lost 
> in some of the test and updating to latest code. Read Google Groups thread 
> for the agonizing detail).
> Needless to say, this stops my app in its tracks.
> I left an additional page for "test timeouts" which if you navigate to this, 
> it shows that callbacks ar

[jira] [Commented] (CB-1286) Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + Android Transformer Pad

2012-11-03 Thread Adam (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490139#comment-13490139
 ] 

Adam  commented on CB-1286:
---

Has this truly been confirmed as fixed. It's happening to me with the Samsung 
Galaxy S3 as well for Cordova 2.1. 

> Cordova 2.1 callbacks stops working after sleep/wake with jQuery Mobile + 
> Android Transformer Pad
> -
>
> Key: CB-1286
> URL: https://issues.apache.org/jira/browse/CB-1286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.0.0
> Environment: Android 4.0.3; Asus Transformer Pad,
>Reporter: Walter Nicholls
>Assignee: Joe Bowser
> Fix For: 2.2.0
>
> Attachments: TPadBug-debug.apk, TPadBug-src.zip
>
>
> Using attached sample app, program works up until tablet goes to sleep. When 
> the tablet wakes up, callback no longer functions 
> Full thread of original problem report: 
> https://groups.google.com/forum/?fromgroups=#!topic/phonegap/ut3RqEgDx58
> I started with Cordova 2.0.0, then while investigating upgraded to 
> development code from github and struck an introduced, now fixed, problem. SO 
> I am now back to the original issue but with latest code (2.1 RC)
> Steps to reproduce:
> --
> 1. Install attached APK file (I also include source in separate zip (includes 
> cordova.jar file), and run program.
> 2. Touch the "dialog" button
>  OBSERVED:  Text says "mary had a little lamb..." ( result from plugin)
> 3. Touch "Close" to return to front screen
> 4. Wait for the tablet to go to sleep and disconnect from network etc - takes 
> about 5 minutes with my tablet as it is configured. (screen going dark is not 
> enough, it has to shut down into deep sleep)
> 5. Wake the tablet and unlock screen
> 6. Touch the "dialog" buitton again.
>   EXPECTED:  Text "mary had a little lamb..." again
> but  OBSERVED:  Text "if you are reading this something went wrong"
> What seems to be happening
> ---
> The way the dialog works is that the "something wrong" message is the text in 
> the HTML file, but the page show functions calls a plugin to get the text to 
> show.  This is all handled by jQuery Mobile with an ajax load.
> Until the deep sleep point, everything works as expected, the plugin returns 
> a result which is placed in the queue, then the setTimeout()-based Javascript 
> side picks it up.
> After deep sleep, the callback mechanism breaks, and although the plugin is 
> called and produces a result, this is never collected from Javascript.
> I watch the log with the command :
>   adb logcat -v time | grep -E "Cordova|Callback|DroidGap|TPadBug"
> So while it is working...
> 8-28 14:15:32.180 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:15:32.200 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:15:32.200 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:15:32.200 D/TPadBugPlugin(29867): Plugin exiting
> 08-28 14:15:32.250 D/CordovaLog(29867): Dialog has got results back from 
> plugin: 102 chars
> 08-28 14:15:32.250 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 47 : Dialog has got results back 
> from plugin: 102 chars
> 08-28 14:15:35.770 D/Cordova (29867): 
> onPageFinished(file:///android_asset/www/index.html)
> Note particular the "Dialog has got results back.." which shows the JS 
> callback working.
> After a sleep/resume cycle:
> 08-28 14:23:05.880 D/DroidGap(29867): 
> onMessage(onPageFinished,file:///android_asset/www/index.html#/android_asset/www/index.html&ui-state=dialog)
> 08-28 14:23:05.900 D/CordovaLog(29867): Dialog is about to call plugin
> 08-28 14:23:05.900 D/CordovaLog(29867): 
> file:///android_asset/www/tpadbug2.js: Line 44 : Dialog is about to call 
> plugin
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Enter plugin action:GetRandomText
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin successful
> 08-28 14:23:05.900 D/TPadBugPlugin(29867): Plugin exiting
>  .. and nothing more, no dialog handler.
> (I did have a lot of console.log and Log.d calls as well, but these got lost 
> in some of the test and updating to latest code. Read Google Groups thread 
> for the agonizing detail).
> Needless to say, this stops my app in its tracks.
> I left an additional page for "test timeouts" which if you navigate to this, 
> it shows that callbacks are once again working, and then when you go back 
> (using the android back