tap's Forum Posts

  • Hey cow_trix, I'm not sure what you mean. While they are both offered by appMobi, the two plugins have different feature sets.

    playMobi offers leaderboards, badges, cloud data,user authentication, etc... for your games. These work across platform and device. Where as the appMobi plugin allows you to access device features (audio, device info, notification, geolocation, etc..) in your C2 game via the appMobi api.

    So you could use either or both depending on the requirements of your game.

    I hope that helps.

  • Update #2: Push Notifications and SMS Support

    You can now send and receive push messages from your C2 games. Use push messages to send text / rich media alerts and messages, deliver data bundles to your game, send friends a message and even trigger in game events to occur.

    You can send Push messages from your XDK, apphub or even from your own server.

    appMobi Push Message Documentation

    http://www.appmobi.com/documentation/jsAPI/notification/index.html

    Available Plugin Actions

    • Add Push User
    • Set User Attributes
    • Find User
    • Delete Push User
    • Send Push Notification
    • Send SMS
    • Show Rich Message
    • Alert
    • Beep
    • Vibrate

    Available Plugin Expressions

    • Friend User Id
    • New Message Queue Count
    • Push Message Type
    • Push Message Text
    • Push Message Data

    Plugin: https://www.dropbox.com/s/nxjzux44sjrrozt/appmobi.zip

  • Hey ctceismc,

    Sounds very cool. I would say the first step is to familiarize yourself with our plugin system. The documentation with examples is at http://www.appmobi.com/documentation/nativeplugins/index.html.

    In the docs there are examples on how to call your plugins functions via javascript as well. Basically MyPlugin.dosomething();

    Once you have the plugin working, creating the C2 plugin will be pretty easy as it will be like any other plugin. You will just be calling the functions you created. So to recap:

    1.) Familiarize yourself with our plugin system

    2.) Port the code

    3.) Test to make sure you can call what you need from javascript in an index.html file.

    4.) Once tested, just create a C2 plugin that calls your methods. Scirra has some very good documentation on how to write a plugin.

    I hope that helped.

    Let me know if you need anything else.

    Good luck

  • Epox, Sorry to hear. I will ask our XDK team about this. Can you either post or PM me your OS, Java version and version of the XDK you are using (if you can get it to load it's in the upper left.)

    As funny as it may sound. I know when another dev was having issues, they were told to clear the Java cache on their system. Just google "clear java cahce" for instruction on how to clear it on your system. But I will check internally as well.

  • Thanks for the feedback Epox. No worries about being offensive. Honest feedback is a good thing. :) I'm going to outline the answers below.

    Q: I wounder if you can tell me how can I publish now, when the Ads plugin is not ready for include in my app....

    A: The same way you would if they were ready. Except you won't have ad's (you wont get billed or anything) <img src="smileys/smiley1.gif" border="0" align="middle">

    If you are using our XDK for testing you can upload the app from there via the build for app store feature. If you do not want to use the XDK, you can just login to appHub and upload a zip file then build. We have a pdf that walks through appHub's features and shows you how to build: http://www.appmobi.com/amdocs/lib/Article-appHub.pdf?r=127 If that does not help or you still have questions just let me know.   

    Q: ... do you plan to switch to support C2's standard audio actions somewhere in the future?

    A: Probably not. With the way our api/build system works I do not see this happening. If you want have the same C2 game/app on the web and mobile device, you can still use the appMobi audio api. When you build for Chrome, Facebook or Web we include some JS in our appmobi.js file that makes that possible.

    Q:What can I test or how can I capture more debug info now? Do you have any documentation about the debug feature?

    A: The Debug in appHub uses weinre, and operates very much like the Chrome developer console.

    Thanks for the further details on what you are trying to accomplish. I think I have a clear understanding of what you want to do. I will contact you via PM/email and lets one on one see if we can find a solution that accomplishes what you need.

  • Hey ctceismc, I don't know the specifics of what you would like to do, but it should be possible. We do have a plugin system at appMobi, the documentation for that is here: appmobi.com/documentation/nativeplugins/index.html and it should be relatively "easy" to port the code. After that it would be a simple javascript plugin to interface C2 with your plugin.

    Let me know if I can be of further assistance.

  • No problem at all. I'm happy to help.

    The zip file has been updated. You should see 3 new "by name" actions to use.

    As for your question about ad's. At the moment they are still under development so you won't / can't add them to your app. However you are still able to build and use the cloud services. So once you implement the updated plugin, you can build and deploy without issue.

    I hope that all helps. Let me know when your app is live, I would love to check it out. :)

  • Hey Epox,

    First off, thanks for using appMobi to build your app! :)

    As for a way to play a sound file by name, sure thing. That's not a problem, I will add that functionality today and get the update posted as soon as possible so as not to hold up your development.

    If you have any other questions about the plugin or appMobi in general, just let me know.

    Thanks!

  • Hey all, as I go through and expand the appMobi plugin. I figure I will post the updates as they are ready instead of making you wait until there is an official update with all of them.

    Update #1 Details: Added audio support with the following actions

    • Preload Sound
    • Start Audio (background music)
    • Stop Audio
    • Toggle Audio
    • Play Sound (sound effects)
    • Unload Sound File
    • Unload All Sounds

    Plugin:https://github.com/koza/appMobiC2Plugin

    Example .capx

    https://www.dropbox.com/s/lsuzlgr8s4yl7ye/audioDemo.capx

    Give it a try, let me know what you think. And as always, I take requests. :) So if there is something you need implemented sooner then later, just let me know.

  • Hey nararacds, Ken here from appMobi. Right now the plugin does not support the getRemoteData call when using DirectCanvas. I am currently working on expanding the appMobi plugin, part of that process is adding support for items like these.

    I will get this working for you, then PM you with the updated file, so you don't have to wait for the official update to be complete. If you would prefer it in an email, just send me your address at kenqyq@appmobi.com

  • Thanks Rory! Hey if you have any questions, need help or have something you would like to see implemented, just let me know.

  • Actually we are implementing ad's into the appMobi appHub, so all you have to do is select how you want ad's displayed (pre-roll, header, footer, etc..)and everything is handled automatically for you. So I don't expect an ad's api to be added to the plugin as it wont be needed, once the ad's configuration in appHub is complete.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the heads up cow_trix! Fixed and uploaded: playmobi.appmobi.com/files/scirra_playmobi_plugin.zip

  • Awesome, thank you Animate. :) I don't have a step-by-step guide exactly, but there is a detailed README file and an example .capx file to help illustrate how to use the plugin. If anyone feels that it isnt enough and would like a step-by-step guide or video, just let me know.

  • Not a problem aridale. Thanks for bringing that to my attention. I found the issue and will have it fixed in the new and improved appMobi plugin.