Skip to content Skip to sidebar Skip to footer

Can Anyone Tell Me How Do I Start Mp3?

I am making a project ,I need to start mp3 or any loud sound automatically when the toast 'Fall Detected' appears for 20 second. public void onSensorChanged(SensorEvent event) {

Solution 1:

This is the link to set the alarm http://developer.android.com/shareables/training/Scheduler.zip call the setAlarm(context) method after you show your toast

Solution 2:

Post a Comment for "Can Anyone Tell Me How Do I Start Mp3?"