New way to export into APK, Please give your feedback

Discussion and feedback on Construct 2

Post » Sat Aug 15, 2015 10:05 am

Hi,

Today I tried something different to export the html into APK.

I am a basic4android user. b4a is a simple and easy tool to create Android apps. I thought I could try this b4a to export html into app.

The concept is simple, I use a basic layout in b4a with webvew and then I call the local c2 index.html in it. In my moto G first version, I get about 45 FPS. Can you please download and check this apk and give me your feedback on the speed please,

https://dl.dropboxusercontent.com/u/131 ... copter.apk

The only reason I chose b4a is that I am annoyed to add ads in it with confusing and slow ways. I think now I can do simple games export with b4a itself.

Thank you,
B
9
S
2
Posts: 59
Reputation: 763

Post » Sat Aug 15, 2015 1:44 pm

9 FPS on a Lenovo A10-70 Tablet, i dont think this export method is an alternative, you should compare to XDK Android Export.
I dont get how you managed to get 45 FPS on the 1st gen Moto G.
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Sat Aug 15, 2015 3:20 pm

@fldr oops, that is indeed very slow if it is 9FPS.

Thanks for your time in checking my apk. May i know what compiler you use to build APK?
B
9
S
2
Posts: 59
Reputation: 763

Post » Sat Aug 15, 2015 9:42 pm

im using Intel XDK, once you get used to it, its fairly simple. With XDK you have the choice to build the APK with Crosswalk or "normal" Android, normal android build runs on webview, means the browser engine that comes with android, while crosswalk will add chromium to your apk and that will execute your game.
Webview can be very slow or buggy on different devices/os versions, while crosswalk will perform better on many of these devices but it will also be like 50MB more when installed. Best is to test both build options against each other on a weak device.
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Mon Aug 17, 2015 12:16 am

I get 26~31 fps on my Galaxy S4 ... It may be because S4 have an 1080p display, but is still kind of slow.

You should test Intel XDK or CocoonJs to see if you get better fps.
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Mon Aug 17, 2015 8:37 am

TGeorgeMihai wrote:I get 26~31 fps on my Galaxy S4 ... It may be because S4 have an 1080p display, but is still kind of slow.

You should test Intel XDK or CocoonJs to see if you get better fps.


Thanks. Yes, I prefer cocoonjs. Because, XDK seems very slow to work with,

Thank you,
B
9
S
2
Posts: 59
Reputation: 763

Post » Mon Aug 17, 2015 2:36 pm

Any service that uses the Android webview should work fine on Android 5.0+, since the webview supports WebGL, Web Audio and auto-updates through Google Play for the latest features. However for Android 4.0-4.4 you really need Crosswalk to get a decent browser engine to run the game - the webview sucks real bad on those Android versions.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Tue Aug 18, 2015 6:35 am

@Ashley Thanks for your input.

I really tried b4a just because, I thought intel XDK is somewhat a tedious process.

Suppose, if b4a has the support of webview+ or webview with webgl, I would have definitely chose that one.

BTW, Ashley, Is not it better to create a eclipse or Android studio template with crosswalk webview in it? So, a user like me just need to replace the folder "www" and compile the files into APK easily. Moreover, Android studio or even Eclipse can handle all the signing process too.

Just wanted to ask. I am sure you know a lot and have already researched it,

Thank you,
B
9
S
2
Posts: 59
Reputation: 763

Post » Tue Aug 18, 2015 10:02 am

vijayrajesh wrote:BTW, Ashley, Is not it better to create a eclipse or Android studio template with crosswalk webview in it? So, a user like me just need to replace the folder "www" and compile the files into APK easily. Moreover, Android studio or even Eclipse can handle all the signing process too.

Because we target primarily non-technical users. Asking non-technical people to "just" install the Android SDK doesn't make much sense IMO, so we tend to guide people to publishing services like the XDK that handle it for you. Of course if you know how to do a custom Cordova build yourself, go for it.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests