package com.alaram;


import android.R;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.Bundle;

public class alaram_service extends Activity {

 @Override
 protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  
  //알림관리자 객체 생성
  NotificationManager nm = (NotificationManager)
    getSystemService(NOTIFICATION_SERVICE);
  CharSequence from = "제목 문자열";
  CharSequence message = "상세내용 문자열";
  
  //the details of our fake message
  PendingIntent contentIntent = PendingIntent.getActivity
    (this, 0, new Intent(this, alarm_act.class), 0);
  String tickerText = "ababa";
  
  //알림객체생성
  Notification notif = new Notification(R.drawable.icon72
    , tickerText, System.currentTimeMillis());
  //발생시킬 이벤트 정보를 셋팅
  notif.setLatestEventInfo(this, from, message, contentIntent);
  
  notif.vibrate = new long[]{100,250,100,500};
  
  nm.notify(0, notif);
 }
}
소스 이렇게 하고 오류없이 실행됐는데 폰 상태바에 아무것도 뜨질않습니다. 머가 잘못된건가요??