AndreasR's Recent Forum Activity

  • Problem Description

    The Navigation bar of the mobile phone remains after an alert has been triggered (Browser -> alert 'MESSAGE')

    Attach a Capx

    No capx needed -> Browser -> alert 'MESSAGE'

    See here live: https://play.google.com/store/apps/deta ... shatterbox

    Description of Capx

    /

    Steps to Reproduce Bug

    • Browser -> alert 'MESSAGE'
    • Touch on 'ok'

    Observed Result

    The Navigation bar remains and overlaps the game layer.

    [attachment=1:2ookta0z]Screenshot_2015-01-17-15-14-10.png[/attachment:2ookta0z]

    After the player touch on 'ok' the navigation bar remains until I close the game.

    [attachment=0:2ookta0z]Screenshot_2015-01-17-15-14-18.png[/attachment:2ookta0z]

    Like on that screen shot.

    Expected Result

    The game should stay in fullscren

    Affected Browsers

    • In-App Browser: (YES)
    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    Windows 8.1 x64

    Construct 2 Version ID

    R194.2

  • cranberrygame

    I guess there is a bug at the Phonegap Game plugin. The game crashs when it triggers 'Get Player Image'. I'm using the latest version of your plugin.

    Here is the error report from Google Play:

    [quote:137mk7v6]java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference

    at com.cranberrygame.phonegap.plugin.Game._getPlayerImage(Game.java:449)

    at com.cranberrygame.phonegap.plugin.Game.access$400(Game.java:58)

    at com.cranberrygame.phonegap.plugin.Game$4.run(Game.java:186)

    Update:

    This only happens if the player has no image uploaded to his Play Game Account. Otherwise it works.

    Hope this information helps you

    Thanks!

  • > Hi Reinarte

    >

    > I used the phonegap game plugin by cranberrygame to setup the Google Play Games Login. Maybe this template would help you.Kind regards

    > AndreasR

    >

    Hello AndreasR,

    Unfortunately in my game does not work at all, or with google or play with CocoonJS nor with Phonegap Game, I've done a lot of testing in these 3 plugins.

    Currently if you upgrade your supermarioclone design and republish it will operate normally with the newest plugins ???

    I wanted is the plugin CocoonJS v2.0.0 - 23/07/2014, as it is in c2runtime.js file of your game,

    I wonder if you still have this plugin or you already updated and no longer has this version ...

    Hi,

    The latest version is built for crosswalk, but up to version 2.0 the game is using the CocoonJS plugin. The only diffrent from V2.0 to V3.0 is the upgrade to Crosswalk, so version V2.0 and V3.0 are the same just for diffrent compilers.

    So if you purchase the game Super Mario Clone you'll get both versions (CocoonJS and Crosswalk/Cordova). But the CocoonJS Version will not be updated anymore.

    If you have further questions about the game please leave a reply here:

    The games are on sale at the moment

  • Gregster

    You're welcome

  • Hi Reinarte

    I used the phonegap game plugin by cranberrygame to setup the Google Play Games Login. Maybe this template would help you.

    https://www.scirra.com/store/royalty-fr ... rboard-538

    Kind regards

    AndreasR

  • Yes. The phonegap plugins from cranberrygame are working for crosswalk / cordova.

  • > Hi,

    > The built-in from scirra is based on a web view. If you want to use it on mobile games (Android, IOS, etc) then I recommend the free plugin from cranberrygame.

    >

    > You can download it here: http://shatter-box.com/downloads/phonegap-game/

    > Also a tutorial for how to set it up is available here: http://shatter-box.com/wiki/phonegap-ga ... amecenter/

    >

    > If you still want to use the built-in Google Play plugin from scirra, you can check out this tutorial: http://shatter-box.com/wiki/google-play ... a-version/

    > I got it working this way.

    >

    Thanks! That explains why this thing wasn't working.

    Hi,

    I'm getting a build error when I include the new Facebook Code at Intel XDK.

    Did you use the new code for the new plugin?

    <intelxdk:plugin intelxdk:name="https://github.com/Wizcorp/phonegap-facebook-plugin#d8b0f6935a7c6e586188bf85f9da88a1c160790b" intelxdk:value="https://github.com/Wizcorp/phonegap-facebook-plugin#d8b0f6935a7c6e586188bf85f9da88a1c160790b" >
    	<intelxdk:param intelxdk:name='APP_ID' intelxdk:value='YOUR_FACEBOOK_APP_ID' />
    	<intelxdk:param intelxdk:name='APP_NAME' intelxdk:value='YOUR_FACEBOOK_APP_NAME' />
    </intelxdk:plugin>[/code:1tnp63z5]
    
    I'm about to write a tutorial for the new facebook plugin, but I stuck at that point. So if you know a solution it would be great <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
  • Esse AndreasR é gente boa,,,,, já li muita coisa que ele postou,,,,, vou testar o que ele disse pra ver se funciona

    Ìn english please?

  • Hi,

    I tried to make a tutorial for your new 'PhonegapFacebook 2.0.4' plugin, but I get a build error if I enter this code to the '...additional.xml'

    <intelxdk:plugin intelxdk:name="https://github.com/Wizcorp/phonegap-facebook-plugin#d8b0f6935a7c6e586188bf85f9da88a1c160790b" intelxdk:value="https://github.com/Wizcorp/phonegap-facebook-plugin#d8b0f6935a7c6e586188bf85f9da88a1c160790b" >
    	<intelxdk:param intelxdk:name='APP_ID' intelxdk:value='YOUR_FACEBOOK_APP_ID' />
    	<intelxdk:param intelxdk:name='APP_NAME' intelxdk:value='YOUR_FACEBOOK_APP_NAME' />
    </intelxdk:plugin>
    [/code:34nbmmoy]
    
    Error Log
    
    [quote:34nbmmoy][dependency] Ordered libraries:
    [dependency] 
    [dependency] ------------------
    [dependency] Found 2 versions of android-support-v4.jar in the dependency list,
    [dependency] but not all the versions are identical (check is based on SHA-1 only at this time).
    [dependency] All versions of the libraries must be the same at this time.
    [dependency] Versions found are:
    [dependency] Path: .../JumperJam/com.phonegap.plugins.facebookconnect/FacebookLib/libs/android-support-v4.jar
    [dependency] 	Length: 987314
    [dependency] 	SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
    [dependency] Path: .../JumperJam/libs/android-support-v4.jar
    [dependency] 	Length: 621451
    [dependency] 	SHA-1: 5896b0a4e377ac4242eb2bc785220c1c4fc052f4
    
    BUILD FAILED
    .../tools/ant/build.xml:577: Jar mismatch! Fix your dependencies
    
    Total time: 1 second
    Error code 1 for command: ant with args: release,-f,.../JumperJam/build.xml
    
    
    Here you find the first version of the tutorial for the new facebook plugin.
    
    [url=http://shatter-box.com/wiki/facebook-functions-for-cordova-crosswalk-phongegap/]http://shatter-box.com/wiki/facebook-fu ... phongegap/[/url]
    
    Thanks !
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!

    I've been trying to get the google game services to work for a while now. And i think im getting close. But i'm getting a build fail when i try to build my app in crosswalk when following this http://shatter-box.com/wiki/phonegap-ga ... amecenter/

    I have downloaded the lates plugin and added this to the xml file:

    <!-- caution: copy this to intelxdk.config.additions.xml and replace YOUR_GOOGLE_PLAY_GAME_APP_ID --><br />

    <intelxdk:plugin intelxdk:name='https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952' intelxdk:value='https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952' ><br />

    <intelxdk:param intelxdk:name='APP_ID' intelxdk:value='YOUR_GOOGLE_PLAY_GAME_APP_ID' /><br />

    </intelxdk:plugin>

    I have also replaced the text with my app_id at intelxdk:value. Should i change something where it says intelxdx:name as well?

    Thanks in advance

    AndreasR can you help me?

    Edit: Got it to work now. I dont know how i did. Just tried the same thing a bunch of times and now its working! Awsome. Thanks for the plugin and the tutorials.

    Hi,

    Creat that it's working now for. Just a little hint, remove the br-tags. My code highlighter adds this to the code snippet. These br-tags aren't needed.

    [Wanted to know]

    Crosswalk same with Phonegap?

    Hi,

    You can use the Phonegap Plugins with Cordova / Crosswalk, but it isn't the same as far as I know.

    Kind regards

  • You do not have permission to view this post

  • Hi,

    imaffett

    Ashley

    I'm working on a new tutorial to use Facebook with Crosswalk.

    But Facebook asks for a

    [quote:107ooh98]Default Activity Class Name

    This is the fully qualified class name of the activity your app launches by default. We use this when we deep link into your app from the Facebook app. You can also find this in your Android Manifest

    How is the main activity called later when the app has been compiled via 'Androif for Crosswalk' I just found something like 'APPID.cordovaActivity'

    Thanks for your help!

AndreasR's avatar

AndreasR

Member since 21 Feb, 2013

Twitter
AndreasR has 6 followers

Connect with AndreasR

Trophy Case

  • 11-Year Club
  • x11
    Popular Game One of your games has over 1,000 players
  • x17
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies