1 package ro
.ieval
.unical
;
3 import java
.util
.GregorianCalendar
;
5 import android
.app
.Activity
;
6 import android
.os
.Bundle
;
7 import android
.view
.Window
;
9 public class AlarmActivity
extends Activity
{
11 public void onCreate(Bundle savedInstanceState
) {
12 super.onCreate(savedInstanceState
);
13 this.requestWindowFeature(Window
.FEATURE_NO_TITLE
);
14 setContentView(layoutResID
);
16 GregorianCalendar cal
= (GregorianCalendar
) GregorianCalendar
.getInstance();
17 cal
.add(GregorianCalendar
.SECOND
, 5);