서비스 객체에서 Notification 객체를 사용했습니다.


주기적으로 돌면서 특정 내용을 서버에서 가져와서 상태바에 표시하는 내용입니다.

문제는 서비스 객체 내에서 getResources().getString(id) 이나 R.drawable.img 

의 사용법을 모르겠네요,,


public class MemoRcvService extends Service {

....


Notification notification = new Notification(R.drawable.btn_plus,   --> 이부분을 drawable폴더에 있는 이미지로 사용하고 싶은데

                                                                                                 방법을 모르겠네요,,,

                           "테스트", 

   System.currentTimeMillis());

..........


}