Android Notification1 Android Notification (안드로이드 알림창) 오랜만의 안드로이드 포스팅이네용. 이번엔 알림창(Notification)입니다. 문자나 이메일 등등 알림들이 오면 위에 뜨는 걸 볼 수 있습니다. 일단 간단한 코드를 보시죠. NotificationManager nm=(NotificationManager)mContext.getSystemService(mContext.NOTIFICATION_SERVICE);int icon=setIcon(weathericon);Notification notification =new Notification(icon,"날씨가 업데이트 되었습니다",System.currentTimeMillis());PendingIntent pi=PendingIntent.getActivity(mContext, 0, new Intent(mContext.. 2015. 2. 11. 이전 1 다음 인기글