This question is locked. New answers and comments are not allowed.
Hi,
I´m currently creating a custom plugin that uses a AndroidService to play back a radio stream. I need to popup a notification to the user telling him that the radio is playing and when clicked show again the app.
Notification note = new Notification(ICON, "Listening now...", System.currentTimeMillis());
Intent i = new Intent(BackgroundAudioService.this, MyActivity.class);
How could I turn ICON in a resource? In a normal app in Eclipse, I could refer to R (class).
How could I find out which class is my activity?
Thanks in advance,
I´m currently creating a custom plugin that uses a AndroidService to play back a radio stream. I need to popup a notification to the user telling him that the radio is playing and when clicked show again the app.
Notification note = new Notification(ICON, "Listening now...", System.currentTimeMillis());
Intent i = new Intent(BackgroundAudioService.this, MyActivity.class);
How could I turn ICON in a resource? In a normal app in Eclipse, I could refer to R (class).
How could I find out which class is my activity?
Thanks in advance,