I have created an Android status bar notification with a custom layout which contains a button and a textview (im using ICS api).
When the button is pressed, it sends a pendingintent to a broadcast receiver. When the receiver receives the intent, I want it to update the textview in the notification. Is this possible without recreating an entirely new notification and passing the same ID?
In the broadcast receiver there is an error creating the pendingintent “The method getBroadcast(Context, int, Intent, int) in the type PendingIntent is not applicable for the arguments (lereceiver, int, Intent, int)”
The same code works in the activity that created the notification
Any help would be appreciated!
Pass the updated notification with the same notification id