[PLUGIN] appMobi Plugin Updates

Post your completed addons to share with the community

Post » Wed Aug 15, 2012 9:34 pm

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.tap2012-08-30 16:12:24
B
19
S
4
G
5
Posts: 116
Reputation: 4,369

Post » Mon Aug 20, 2012 10:35 pm

Hi Tap, thanks for the good work. I am quite keen to see an appMobi oauth plugin as most third party API's require oAuth 2.

Thanks

Mike
B
16
S
2
G
4
Posts: 67
Reputation: 3,295

Post » Wed Aug 22, 2012 9:59 pm

Great to hear about Appmobi updates!

@tap

I try to test the new feature as a complement of the C2's internal Audio/Play sound. I use it to play narration for a childeren's storybook (https://chrome.google.com/webstore/detail/hpoodhffejkmofghgbkjkghagiicdgmo)

In C2 I can play sound by name, so can construct the audio file name like this:
"Story" & StoryActive & "Page" & ActualPageNumber
So can play progamatically the Story1Page1, Story1Page2...Story1Page30 and also Story2Page1, Story3Page1 ...Story10Page1.

Could you add this kind of playing logic for the AppMobi plugin please!

This is the only thing prevents us to publish the app, we can not push it if the bg music and narration not works.

I will be happy to assist to you by testing the music playing, stopping functionality - as the Android/iOS complementer of the C2's actions.
B
19
S
5
G
4
Posts: 109
Reputation: 4,195

Post » Thu Aug 23, 2012 2:13 pm

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!
B
19
S
4
G
5
Posts: 116
Reputation: 4,369

Post » Thu Aug 23, 2012 4:02 pm

Thank you @tap!

Great to see the activity from AppMobi's side. Since you change your solution's pricing, I would like to ask if there is an easy way to implement the AppMobi's AppAds in my app.

We would like to push out the app for free, and I think we will not have more than 10 000MAUs in several months... :) But till than the update is an unavoidable feature, so I consider to include Ads.

Do you plan to make ad placement easy for C2 users by the plugin? Unfortunately I do not know your ad system, so can not tell what I would love in C2, but the IsInAppMobi could be the starting point before the display of ads.

Thanks for your kind reply in ancipation!
B
19
S
5
G
4
Posts: 109
Reputation: 4,195

Post » Thu Aug 23, 2012 8:01 pm

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. :)

B
19
S
4
G
5
Posts: 116
Reputation: 4,369

Post » Fri Aug 24, 2012 2:33 am

Is it possible to port a phonegap plugin to something that can be used with Appmobi and Construct?
B
6
S
2
Posts: 18
Reputation: 790

Post » Fri Aug 24, 2012 3:17 am

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: http://www.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.
B
19
S
4
G
5
Posts: 116
Reputation: 4,369

Post » Fri Aug 24, 2012 8:01 am

Thank You @tap! I'll place the new events/action to handle AppMobi audio, run the tests, and will notify you if the app will be build for production.

I wounder if you can tell me how can I publish now, when the Ads plugin is not ready for include in my app. I just read the Read more, and How does it work (whitepaper) pages of the LiveUpdate.

Well, I cant imagine to avoid several updates with bug fixes. Can you help me to find a long term strategy for publish my free app by AppMobi?

Ways I see:
A: Dont use cloud services:
+ free
- cant update, publish bug fixes

B: Wait for Ads plugin
+ Free up to 10 000 MAUs
+ Can update the app with LiveUpdate
- I do not know when it will came out... :(

C: Use 1Touch
+ Free up to 10 000MAUs
+ Can update
- I'm not in the stage where it is ethical to charge any amount for the app (should be in several months, but not now)

D: Go live with payed cloud (no ads, no in-app-payments)
- 25-50-100USD/month fee
+ Can update
+ Can publish now


About AppMobi's audio feature usage in C2
-----------------------------------------
From a viewpoint of a C2 game/app maker I have now 2 ways to go to Android/iOS: the most ready for production is AppMobi. Altrought the CocoonJS - even if is not ready and available for prod. - solved to handle the C2's standard audio features: I have great results with 2-3 parallel audio play.

To find the longterm production way I see that to use AppMobi publishing, I'll need to add the alternate audio actions, additional conditions, and programatically disable the C2's standard audio actions to avoid conflicts (double played audio).

I see that it may be much easier to update the AppMobi plugin with the audio features, and this could be the best way to start, but do you plan to switch to support C2's standard audio actions somewhere in the future?

Please note, that I wouldnt want to be offensive, I just tell my feeling so you have some feedback and maybe can make better decisions.
B
19
S
5
G
4
Posts: 109
Reputation: 4,195

Post » Fri Aug 24, 2012 8:16 am

Sorry @tap, It seems that I have some trouble about the new features of the AppMobi plugin. :(

The most easy way to let you understand my situlation is to descibe my app's audio logic. It's a simple childeren's stroybook app with currenctly 2 stores, 38 pages each.

I have a bg music, it starts like this:
Play AlpineCrocoBGMusic looping (Tag "Music")

I have narration for every page, when a new page display is fired, the narration work as follows:
Play "Story" & StoryActive & "Page" & ActualPageNumber not looping from Music (tag "Narration")

Cause of the tagging the narration can be stopped anytime (Stop "Narration"), and I can start a new narration.

In the AppMobi plugin the music do not have tagging, so I can not stop the "Narration" when the "Music" is keep playing, can I?
B
19
S
5
G
4
Posts: 109
Reputation: 4,195

Next

Return to Completed Addons

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests