Ads in canvas

Get help using Construct 2

Post » Sun Mar 04, 2012 10:20 am

Does anyone has any ideas about including this: https://developers.google.com/mobile-ads-sdk/docs/android/fundamentals in a construct2 application?
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Wed Mar 07, 2012 6:28 pm

@0plus1 : since it's using a Java .jar, you need to have a JS plugin that declare an applet, and dump the .jar in the same folder as your exported app, to access the functionnalities of the .jar (and hava Java installed, of course).
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Thu Mar 08, 2012 9:07 am

@Pode, couldn't I just code it in PhoneGap and put it a an overlay? To avoid messing with c2..
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Thu Mar 08, 2012 10:09 am

@0plus1: it depends. If you are targetting iOS, it's not possible because there's not JVM on non-jailbroken phones. If you know how to code a PhoneGap plugin for Android (here, you need to bind it to your .jar), it's possible. The overlay is going to be over C2's canvas, and you need to be sure that you cover the whole screen.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704


Return to How do I....?

Who is online

Users browsing this forum: Mirlas, TELLES0808 and 21 guests