suMi
suMi

Reputation: 1546

passing data from Cordova to inAppBrowser

I've found this tutorial to use localStorage to trigger an event inside phonegap/cordova: http://www.telerik.com/blogs/cross-window-communication-with-cordova's-inappbrowser

This works perfectly fine. I am using a click function inside the inAppBrowser to set a local storage item, which then opens the camera from the main phonegap view. Now I need to send the image data back when the image is captured, but I cannot find a way to set the localStorage item of the inAppBrowser from Phonegap/Cordova. I feel like I'm close but cannot figure it out... Can someone help?

Upvotes: 3

Views: 3359

Answers (1)

suMi
suMi

Reputation: 1546

It actually works the exact same way that the tutorial linked above works. I just had a typo in my code...

Upvotes: 2

Related Questions