Android/JAVA - BroadcastReceiver에서 Activity 호출하기

2014. 4. 5. 00:11Programing/Android / Java

Intent i = new Intent(context, AutoRedialActivity.class );
PendingIntent pi = PendingIntent.getActivity(context, 0, i, PendingIntent.FLAG_ONE_SHOT);
try {
      pi.send();
} catch (CanceledException e) {
      e.printStackTrace();
}