I was away from construct for a while creating a proof of concept html5 to java wrapper / compiler and I somewhat succeeded with a published on android market app:
it still uses much "hacks" to make most of the work in native java, but i managed to make a basic template to compile:
html files to activities (with lots of manual work)
global js file as a global class
some js functions to native java functions (ie. alert to toast)
some basic html elements to views (img to imageview, button to buttonview, p to textview, etc)
as I said before it still uses native java for facebook sdk, setting wallpapers, accessing gallery, admob ads, in app purchases etc. but i got the basics running and it was really fun to create this app and (as a webdeveloper) to learn java for android this way, so I would be more than happy if you test it and let me know what you think?
Really usefull and interesting
but for me appear very complicated
I don't understand why is supposed to be converted from HTML5 to Java.
I know Java helps to set wallpaper, use facebook sdk, accesing gallery, admob and in app payment. HTML5 is a new Java if is completed in 2014
1) java is native to android
2) webview is slow
simple as that :)
anyway it was just a proof it can be done and done for fun, not to be used by anyone for any purpose.
Develop games in your browser. Powerful, performant & highly capable.
Hi have used cocoonjs.
there is a cocoonjs splash screen can I change that screen
We can't until CocoonJS releases final version and pay premium services
how to add in app billing in c2?
Closing this thread, the posts are way off topic and the OP is very old. Please start a new thread if the subject you want to discuss is not related.