Welcome aboard ClearOS fellas. Here you Learn about ClearOS, Android, useful tips & tricks, tutorials and discussion. Find my ClearOs videos at my YouTube Profile. http://www.youtube.com/user/8bitzs
You can visit my below YouTube channel to refresh your mood. You will get some funny stuff. http://www.youtube.com/user/clearx
public class AlarmActivity extends Activity { /** Called when the activity is first created. */ /* Author J M */ TimePicker TimePicker; DatePicker DatePicker; Button Setalarm;
TimePickerDialog timePickerDialog;
final static int RQS_1 = 1; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);
DatePicker =(DatePicker)findViewById(R.id.datePicker1); TimePicker=(TimePicker)findViewById(R.id.timePicker1); Calendar now = Calendar.getInstance();
public class song extends Activity{ MediaPlayer m; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.song); m=MediaPlayer.create(getApplicationContext(), R.raw.gaji); //create a folder raw inside res folder. and put 1 .mp3 song m.start();
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(song.this); dlgAlert.setTitle("Remainder !"); dlgAlert.setMessage("Your time is up !"); dlgAlert.setPositiveButton("OK",new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) {
superior papers about the particular technology you can say that how to use or utilize technology. First get technology then get understanding to use it.
Thanks man :)
ReplyDeleteThank you, this tutorial worked perfectly
ReplyDeleteThank you. You can follow my youtube channel too http://www.youtube.com/8bitzs and do subscribe.
Deletesuperior papers about the particular technology you can say that how to use or utilize technology. First get technology then get understanding to use it.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIs it worked?
Deletehow to set multiple remainders using sqlite?
ReplyDeleteGreat effort. Thank you
ReplyDelete