bump?
On Jul 14, 5:24 pm, cvance383 <[email protected]> wrote:
> Just trying to create a simplenotification, but keep getting an
> illegalarguementexception "contentIntent required". Which is weird
> because I believe I am passing the content intent. Here is my code...
>
> {
> notification= newNotification(iconID, message,
> System.currentTimeMillis());
> PendingIntent appIntent =
> PendingIntent.getActivity(mobileApp, 0,
> new Intent(), PendingIntent.FLAG_NO_CREATE);
> notification.setLatestEventInfo(mobileApp,"Now Playing: ",
> detailedMessaged, appIntent);
> nManager.notify(MOBILE_APP_ID,notification);
> Log.d( this.getClass().toString(), "Launching
> NewNotification" );
> }
>
> I dont even care if thenotificationdoes anything when u click on it.
> I just want anotificationthe user can see. I construct an empty
> intent "new Intent()", but have also tried it with a non-empty intent.
> I also tried passing null for contentIntent, and get the same
> exception. Whats the deal-o? Thanks for any help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---