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
Post a Comment for "Can Anyone Tell Me How Do I Start Mp3?"