Groups
Groups
Sign in
Groups
Groups
Android Programming at USF
Conversations
About
Send feedback
Help
sound.Vibrate kills app.
2 views
Skip to first unread message
bernhard
unread,
Feb 8, 2012, 9:38:57 PM
2/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Programming at USF
hi,
using sound.Vibrate(1000) kills my app,
sound = new Sound(this);
sound.Source("meow.mp3");
sound.Vibrate(1000)
//crash
best
bernahrd
Kevin Moran
unread,
Feb 8, 2012, 9:40:49 PM
2/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-progr...@googlegroups.com
Could there be a limit for the vibrate method? Have you tried something smaller?
Kevin
M. Hossein Amerkashi
unread,
Feb 8, 2012, 9:43:08 PM
2/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-progr...@googlegroups.com
Couple of notes:
You need following permission in your manifest:
<uses-permission android:name="android.permission.VIBRATE"/>
Given above, I believe it will still crash (try first). If so, do this:
in $define:
sound = new Sound(this);
in initData:
sound.Source("meow.mp3"); //some type of caching going on.
bernhard
unread,
Feb 8, 2012, 9:51:00 PM
2/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Programming at USF
hi - thanks!
it's just the permission problem, now it works fine, didn't have to
change anything else.
bernhard
Reply all
Reply to author
Forward
0 new messages