@@ -0,0 +1,575 @@
+package com.cross.amsecure;%0A%0Aimport android.R;%0Aimport android.content.Context;%0Aimport android.media.Ringtone;%0Aimport android.media.RingtoneManager;%0Aimport android.net.Uri;%0A%0A/*%0A   @author to  Ibrahim Hanna @2016%0A               ibrahim.seniore@gmail.com  %0A*/%0A%0A%0Apublic class PlaySound %7B%0A%0A%0A%09public static void playAlarm(Context context)%7B%0A%09%09try%7B%0A%09%09%09Uri notification=RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);%0A%09%09%09Ringtone ring=RingtoneManager.getRingtone(context, notification);%0A%09%09%09ring.play();%0A%09%09%7D%0A%09%09catch(Exception e)%7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%09%0A%09%0A%7D%0A

Create PlaySound.java