Wht's the max length of sound dat can b played in app built using app inventor

783 views
Skip to first unread message

Vaasu

unread,
Jan 30, 2015, 2:59:47 PM1/30/15
to mitappinv...@googlegroups.com
What is the max length of sound that can be played in an app built using app inventor2??? . In my app i want that if i click on a button a music of length more than 1 minute can be played. But it is not playing more than few seconds even when i have set my sound time interval as 125000 milliseconds. Secondly My backgroung image is not showing up in the app. Please Help me.

Taifun

unread,
Jan 30, 2015, 4:17:10 PM1/30/15
to mitappinv...@googlegroups.com
use the Player component instead of the Sound component
Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.                

Vaasu

unread,
Feb 5, 2015, 12:43:03 PM2/5/15
to mitappinv...@googlegroups.com
player is not working , I tried to connect it to my button. can u tell me how to connect player in app inventor ??? I tried to play a sound of 9 seconds but it does not play more than 5-6 seconds. please help me.

SteveJG

unread,
Feb 5, 2015, 12:47:29 PM2/5/15
to mitappinv...@googlegroups.com
If you post a screen capture of the blocks you have tried, someone can give you a suggestion.   Be aware, if your resources plus code in the aia exceed 5Mb, your files are too large.    However, your current issue can not be determined without seeing a screen capture of your blocks.

So, what have you tried?

Vaasu

unread,
Feb 7, 2015, 12:43:51 PM2/7/15
to
Thanks SteveJG for replying to my query and showing interest. Actually the music which i want to play is 2 min long. As suggested by you I m attaching the block image i had tried.
I am new to app inventor as well as app making. please suggest me how to proceed. yes, My app is approx 12 mb.
block.png

Taifun

unread,
Feb 9, 2015, 11:26:03 AM2/9/15
to mitappinv...@googlegroups.com
what kind of sound file are you using? mp3? wav? something else?
did you upload it as media file into App Inventor or do you access it in the internet?

yes, My app is approx 12 mb.
then you will have a problem, because the max size is 5 MB
Reply all
Reply to author
Forward
0 new messages