[Plugin] PhonegapAndroid

Post your completed addons to share with the community

Post » Wed Nov 13, 2013 12:37 am

Can anyone make simple tutorial how to using PhoneGap to export Construct 2 game to APK with Eclipse?
B
41
S
5
G
3
Posts: 49
Reputation: 5,502

Post » Mon Dec 02, 2013 10:29 am

Hi All

Could it be possible to use this if I want a player to recommend the
game via SMS text msg on android

with a predefined link


Cheers
Flemming

flemmig2013-12-02 10:30:00
B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Fri Dec 06, 2013 1:05 pm

Hi.. Problem with back button > Quit android

Ive unzipped the file and placed it in C2 plugin folder

then in C2 this



BUT after build at phonegap 3.1.0 it dont work

am I missing something

Regards
Flemming
B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Sat Dec 07, 2013 4:12 am

I think you skipped the following step

copy src\com\cranberrygame\plugin\Phonegap.java to your phonegap android project
copy res\xml\config.xml to your phonegap android project

thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Mon Dec 09, 2013 5:51 pm

Hi .. Thanks for reply

But dont the config.xml conflict with the exported one

Regards
Flemming
B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Tue Dec 10, 2013 11:15 am

Hi .. Is it the folders or the files I have to copy ?

if its the file .. do I then just overwrite the config.xml
made by C2 in phonegap export

R/flemming
B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Sat Dec 14, 2013 2:09 pm

sent to message to flemmig as the following, thanks

---------------------

sorry for late reply.

unfortunately, current construct2 phonegap plugin is not for phonegap build service (not for cloud).

if you want to use this plugin, you should download phonegap binary to your pc.

before build phonegap android project, do the two followings.

copy src\com\cranberrygame\plugin\Phonegap.java to your phonegap android project (your phonegap android project\src\com\cranberrygame\plugin\Phonegap.java)
copy res\xml\config.xml to your phonegap android project (your phonegap android project\res\xml\config.xml)

thanks

Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Tue Feb 11, 2014 1:10 pm

Finally i can use the plugin. Works Great. The call function feature isvery important for we phonegap lover

Thanks again @cranberrygame for develping
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Tue Feb 11, 2014 1:51 pm

@guero

congratulate your success.

i'm pleased if this plugin helped you.

keep good things.

thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Tue May 20, 2014 2:01 am

updated 2014.5.20 - now support phonegap3.x and phonegap build service.
thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests