Beep sound and Vibration in android

23 views
Skip to first unread message

vpat...@gmail.com

unread,
Oct 28, 2015, 10:44:39 AM10/28/15
to CodenameOne Discussions
Hi,
how to use beep sound and Vibration in android.

Shai Almog

unread,
Oct 28, 2015, 11:46:28 PM10/28/15
to CodenameOne Discussions, vpat...@gmail.com
Hi,
Display has vibrate which should work.
I'm not sure if playBuiltinSound is mapped correctly on Android though.

vpat...@gmail.com

unread,
Oct 29, 2015, 9:12:44 AM10/29/15
to CodenameOne Discussions
Hi,
I am not understood what you say.
Suggest me codename one api to generate beep sound and vibration or provide me some demo code which i can test.

i am using eclipse ide.

Chen Fishbein

unread,
Oct 29, 2015, 11:40:04 AM10/29/15
to CodenameOne Discussions, vpat...@gmail.com
Use Display.getInstance().vibrate(...) to vibrate and Media & MediaManager to play sound
Reply all
Reply to author
Forward
0 new messages