Re: [Android] Refactoring in CordovaActivity

2012-11-29 Thread Andrew Grieve
I'm in favour of adding it in, but I think we should hold off until after this release. We should also think more about how to pass the plugin result back to the app e.g. via a JS launch arg? On Wed, Nov 28, 2012 at 7:34 PM, Joe Bowser wrote: > Hey > > Yes, the camera is still an issue. There

Re: [Android] Refactoring in CordovaActivity

2012-11-28 Thread Joe Bowser
Hey Yes, the camera is still an issue. There are two approaches to getting around this issue. One of which is to allow users to restore the state that we save for them. I've added this ability in Cordova for the most part, but the problem with the tests is that I never had a problem with my cam

Re: [Android] Refactoring in CordovaActivity

2012-11-28 Thread Lorin Beer
Hey Joe, is the Camera still an issue for state restoration? What are the limitations of using this feature? I think the ability to restore state is awesome to have, and would be appreciated, but depending on the limitations I'm concerned this would be like handing users a loaded gun that only p

[Android] Refactoring in CordovaActivity

2012-11-28 Thread Joe Bowser
Hey A while ago I did an experiment where I allowed users to restore their state in the case that Cordova gets killed. This seemed like a good idea except that I couldn't test it because the Camera requires that you have background processes running. That being said, I think that the code is an