[aerogear-dev] Android Push Client Features

Summers Pittman supittma at redhat.com
Mon Jun 17 10:13:25 EDT 2013


On 06/17/2013 10:08 AM, Matthias Wessendorf wrote:
> Looks good so far.
>
> https://gist.github.com/secondsun/5797051#file-messagehandler-java-L7
> For the "delete" (since not present in SimplePush/iOS).
>
> ==> The PushEE will "tell google" delete this "message req" ? Or is 
> that something just done by google? Wondering how to "start a deletion"
The onDelete is handling messages of with the type : 
https://developer.android.com/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html#MESSAGE_TYPE_DELETED
>
> -M
>
>
> On Mon, Jun 17, 2013 at 4:02 PM, Summers Pittman <supittma at redhat.com 
> <mailto:supittma at redhat.com>> wrote:
>
>     Last week I showed off some simple code to register an Android
>     application for push and committed some code to handle talking to
>     the unified push server.
>
>     This week I'm looking at what the Android library can add to an
>     application.
>
>     One of the things which is annoying to do is get the content from
>     a Push message into the currently running Activity (and don't get
>     me started on Fragments...) on the current main thread.
>
>     Here is my idea: (warning pseudocode gist)
>
>     https://gist.github.com/secondsun/5797051
>
>     In theory if the user is running Android 4.0 or great we can
>     handle the attach/detach for the user.
>
>     WDYT?
>
>     _______________________________________________
>     aerogear-dev mailing list
>     aerogear-dev at lists.jboss.org <mailto:aerogear-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
>
> -- 
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130617/e43390d8/attachment-0001.html 


More information about the aerogear-dev mailing list