java - Get notification history for android application -


i trying not sure possible or not . have created android application "abc" . have used gcm issue notifications 3rd party service.

now client asks wants history of notifications issued 3rd party server . sceptical .

i believe might able show list of notifications issued server responded upon user . think notifications on user has not responded cannot recorded application .

is true ?

i have broadcast receiver in code responds gcm messages.

<receiver             android:name="com.mob.uae.notifications.gcmbroadcastreceiver"             android:permission="com.google.android.c2dm.permission.send" >             <intent-filter>                 <action android:name="com.google.android.c2dm.intent.receive" />                  <category android:name="com.evento.uae" />             </intent-filter>         </receiver> 

shouldn't called regardless of user's action upon notification ? . if called when application shut down , think have way record notifications targeted me .

any idea geniuses ?

the broadcast receiver activated every time gcm message reaches device, regardless of user's action. therefore, if wish record message locally on each device, can it.

you can record in server side, if code in broadcast receiver trigger call server notify message received app (in case better start intent service receiver, , let service communication server).


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -