So I'm curious if I could call these commands within Construct somehow.
Thanks much! I now have C2 talking to Android's java code. Much easier than I thought it would be.
Just a heads up that performance will likely be really bad if you make your own wrapper.
The newest version of the Android SDK uses Chrome instead of WebView, although its only for 4.4 devices.
There is an open source Chrome Webview though which I've been looking at. Seems like performance using Chrome over the network is pretty solid for the most part
I guess this will be part 2
The Chrome web view in 4.4 is still very slow due to some bugs - we've tried it. Crosswalk is the Chrome-powered web view you are looking for, and it is backed by Intel.
Understood on the web view. The only reason I would want to write my own wrapper is to utilize the Ouya IAP store. As far as I understand, there isn't any native way to utilize it at this point. You would need access to the java code to make those API calls if I'm not mistaken
Develop games in your browser. Powerful, performant & highly capable.
just to answer how to store data into a C2 var using Browser.
set variable name: Browser.execJS("
ret = 100 * 100;
you might be able to get away with
There is a Cordova plugin for Ouya IAP. There is game called Sticky Sticky that's an HTML5 tech game.
and the thread there Caou talks about controller and IAP