]> iEval git - unical.git/blob - src/ro/ieval/unical/AlarmActivity.java
Add alarm to events. work in progress
[unical.git] / src / ro / ieval / unical / AlarmActivity.java
1 package ro.ieval.unical;
2
3 import java.util.GregorianCalendar;
4
5 import android.app.Activity;
6 import android.os.Bundle;
7 import android.view.Window;
8
9 public class AlarmActivity extends Activity {
10 @Override
11 public void onCreate(Bundle savedInstanceState) {
12 super.onCreate(savedInstanceState);
13 this.requestWindowFeature(Window.FEATURE_NO_TITLE);
14 setContentView(layoutResID);
15
16 GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance();
17 cal.add(GregorianCalendar.SECOND, 5);
18 }
19 }
This page took 0.047432 seconds and 5 git commands to generate.