[PLUGIN] appMobi Plugin Updates

  • After a few hours of "training" I learned that building the app after pushing the project to the cloud will not actually output the latest version of the app, but instead I need to "Live update" it ( as per attached screenshot ). So now it works as supposed to.

    However, my second issue, related to the app-lab incompatibility still stands. Any solution for that, tap?

    <img src="http://img152.imageshack.us/img152/9837/appmobi.png" border="0" />

  • Hi Tap!

    I try to use trigger for "end of sound" that exists in C2. But it does not work in Appmobi. DO you have any suggestion how to handle the end of sound for ipad or android.

    Thanks

  • xyboox - I do not know off the top of my head why Google Play would say it's incompatible with your device if your version is greater then the required version. I would recommend posting that question on our developer forum at http://forums.appmobi.com/viewforum.php?f=11 Our QA guys can give you a hand as they deal with version issues like this more then I do.

    pavelkn - Are you looking to know when a sound effect like say a "laser blast" ends, or is it a longer audio file like background music? If it's a longer audio file like BG music, I could add that event to the appmobi plugin as a trigger. Would that be helpful?

  • Thank you tap, will look for an answer in appmobi's forum.

  • Hi Tap!

    I need to be handle long sounds(BG,conversations between spite and so on..).

    I will be happy to have this option

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sure. Actually neither the Start Audio and Play Sound actions limit the length of your sound file. So if I'm not missing anything, you should be all set.

  • Hi Tap!

    I will try to explain what I need.

    First sprite speaks something , second sprite has to do some action ONLY after speaking the first one . In C2 we use trigger "end of sound" that we put in the condition on the event sheets and if condition is true we do some action. To use length of the sound in the seconds to my mind not very useful work around solution.

       

  • Hi tap

    I was wondering if you could answer some questions about the api, I am building a custom plugin for something and I need to make an appmobi friendly version of it.

    Is AppMobi.device.launchExternal(url); a drop in replacement for window.open? If so can I send a message back to the app using an event listener (app side) and window.opener.postMessage("mymessage" , '*'); from the opened window.

    This works flawlessly when I use window.open from a chrome based game. However window.open seems to break my app in appmobi (compiled as an apk or in test anywhere.) and I get a white screen of doom.

    Mike

  • any plans on releasing a version that supports the accelerometer touch.gamma functions through direct canvas any time soon?

  • Hey pavelkn,

    Currently in the plugin I do not have an On Audio End event however our api does have one available and I will work to get the code updated for you tomorrow.

    Right now the Start Audio action which has the event available only allows one file to be played at a time while the Play Sound action can play multiple files but has no On End event available.

    I talked with our native developers about enhancing the audio api to give give functionality like start/stop/monitor multiple audio files at once,as well some other cool features. That will probably take several weeks to start, implement, test, deploy given the current priority list.

    I hope that helps.

  • Hey Mike,

    Nope, it is not. All it does is launch the devices browser, so you wont be able to communicate back to the app. It looks like you want to use showRemoteSiteExt. This will open a new webview loading up whatever url you wish. From the child WV you can use mainViewExecute to send data back to the parent.

    I believe that is what you are looking for.

    A helpful hint, if you don't want to have a "close" icon over your remote site as stated in the docs, just upload a transparent png and set the x,y,w,h of the icon to 0, then in your child just fire closeRemoteSite

    I hope that all helps.

  • eldods, "soon", that's so relative. What does "soon" really mean? <img src="smileys/smiley2.gif" border="0" align="middle" />

    But to answer your question, I'm in the middle of improving the directCanvas support for the plugin and part of that is adding more of our api including the accelerometer. I can't promise a specific day yet, within the next couple weeks at the latest I would imagine.

  • Wow fantastic, that is just what I needed and the helpful hint is very helpful indeed.

  • Thanks for fast respond. For me to have at least one trigger (On End) will make huge difference. I checked CocoonJS and found that it can handle multiple (On End) Events.

    Thank you

  • yea same here thanks for the quick response

    tap soon is better then never hope fully that soon is a small one how far down on your checklist the accelerometer?

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