public class AlarmReceiver extends BroadcastReceiver {
 private static final String TAG_LOG = "AlarmReceiver";
 
 private static MySoundPlay mplay = null; 
 @Override
 public void onReceive(Context context, Intent intent) {
  try {
   if(mplay == null) {
    mplay = new MySoundPlay(context, R.raw.dingdong);
   }
      mplay.play();
  }catch( Exception e ) {
   Output.e(TAG_LOG, e.toString());
   
  }
  
          final Calendar c = Calendar.getInstance();
          int mHour = c.get(Calendar.HOUR_OF_DAY);
          int mMinute = c.get(Calendar.MINUTE);
          int mSecond =c.get(Calendar.SECOND);        
          
          Toast.makeText(context, "현재 시간"+mHour+":"+mMinute+":"+mSecond, Toast.LENGTH_SHORT).show();}
   
 
 { getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
            | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
            | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
            | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
    }
 private Intent getWindow() {
  // TODO Auto-generated method stub
  return null;
 }
 
 
 
 
 //private static final String TAG="Sample_3";    
          //private static PowerManager.WakeLock sCpuWakeLock;     
          //static void acquireCpuWakeLock(Context context) 
          //{         Log.d(TAG,"Acquiring cpu wake lock");         
          //if (sCpuWakeLock != null) {             return;         }         
          //PowerManager pm =  (PowerManager) context.getSystemService(Context.POWER_SERVICE);         
          //sCpuWakeLock = pm.newWakeLock(                
        //    PowerManager.ACQUIRE_CAUSES_WAKEUP |                
        //    PowerManager.ON_AFTER_RELEASE, TAG);        
         // sCpuWakeLock.acquire();    }     
          //static void releaseCpuLock() {         
               
         //  if (sCpuWakeLock != null) {            
         //   sCpuWakeLock.release();            
         //   sCpuWakeLock = null;       
            
         //  } 
         
         // }
 
 }
 
 
알람소리와 토스트를 띄우는 것 까지는 성공했는데 아무리 intent 로 어찌해보려 해도 액티비티를 띄우지는 못하겠네요.. ㅠㅠ
알람매니저로 시간에 맞춰 반복적으로 이미지(액티비티)를 띄우고 싶은데 화면켜는것도 안되고 ... 도와주세요 ㅠㅠ