Imanol Posted August 30, 2014 Share Posted August 30, 2014 Hi! Let's say I've created a game using HTML5. How can I convert it to APK, so I can run it on Android, and upload it to Google Play later? Will it successfully create the APK if the game uses canvas? Thanks! Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted August 30, 2014 Share Posted August 30, 2014 yes, check project Crosswalk https://crosswalk-project.org Quote Link to comment Share on other sites More sharing options...
vcarluer Posted August 30, 2014 Share Posted August 30, 2014 Hi, I've successfully used http://phonegap.com for non based canvas HTML 5 application, but after some research I've no doubt it should word correctly with canvas. Quote Link to comment Share on other sites More sharing options...
Imanol Posted August 30, 2014 Author Share Posted August 30, 2014 Hi, I've successfully used http://phonegap.com for non based canvas HTML 5 application, but after some research I've no doubt it should word correctly with canvas.I have previously tried PhoneGap for non-canvas games, but I had some issues when it comes to performance: the game was slow in some devices, and perfectly fine in some others. Quote Link to comment Share on other sites More sharing options...
dhaber Posted August 30, 2014 Share Posted August 30, 2014 To add a couple more to the list: CocoonJS is extremely easy to use, has an accelerated native canvas, native box2d, and built in APIs for various phone features. They also have APIs for monetization and social networks and provide some analytics as well. The downsides are that it is a commercial offering, and at some point they may start charging for their service. Also, building requires uploading to their site and waiting for it to complete, which in my experience usually takes less than 5 minutes. I've never tried it, but Amazon also has their solution, though I'm not sure if they give you an APK, and it probably won't work for Google Play. It may just take a zip file (like CooconJS) and provide mechanism for testing it and submitting it to their app store. Here is a recent blog post about it from their app store developer blog. Quote Link to comment Share on other sites More sharing options...
vcarluer Posted September 1, 2014 Share Posted September 1, 2014 If you are targeting Android devices and experienced performance issues with it, there is a plugin here for a fast canvas with phonegap: https://github.com/phonegap/phonegap-plugin-fast-canvasI didn't try it and it involves some code refactoring I think. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.