[Plugin] PhonegapAndroid

  • 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

  • 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

  • Finally i can use the plugin. Works Great. The call function feature isvery important for we phonegap lover <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks again cranberrygame for develping <img src="smileys/smiley1.gif" border="0" align="middle" />

  • guero

    congratulate your success.

    i'm pleased if this plugin helped you.

    keep good things.

    thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • updated 2014.5.20 - now support phonegap3.x and phonegap build service.

    thanks

  • Does this work even with the free edition?

  • jdbastardy

    c2 free edition is not allowed to be export to mobile.

    but c2 free version is allowed to be exported to windows8 and wp8.

    so you can use this to windows8 and wp8 export with c2 free version.

    (https://www.scirra.com/store/construct-2)

    thanks

  • Hi Cranberrygame,

    this is an awesome plugin! It is great that it now works with phonegap build! The only problem, how do I get it to work with phonegap build? I have tried to follow your instructions, but I can't seem to get the camera button working on Android.

    I am not exactly sure where exactly I put the com.cranberrygame.phonegap.plugin.

    Any help would be greatly appreciated!

  • 1.

    it already works.

    in phonepag build zip file, include config.xml which have the following plugin use description tag

    <widget,,,

    ,,,

    <gap:plugin name="org.apache.cordova.camera" version="0.2.9" />

    ...

    </widget>

    2.

    and as for the plugin use description tag

    <widget,,,

    ,,,

    <gap:plugin name="com.cranberrygame.phonegap.plugin.storepage" version="1.0.0" />

    ...

    </widget>

    this plugin (com.cranberrygame.phonegap.plugin.storepage) is only for wp8 Open store page phonepag build service i.e. for android app this doesn't be needed

    thanks

  • cranberrygame

    do you planning to convert your plugins from C2 to C3 ?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)