<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/secondsun/PushEEDemo">https://github.com/secondsun/PushEEDemo</a><br>
<br>
On 06/17/2013 10:02 AM, Summers Pittman wrote:<br>
</div>
<blockquote cite="mid:51BF16FA.4040603@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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.<br>
<br>
This week I'm looking at what the Android library can add to an
application.<br>
<br>
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.<br>
<br>
Here is my idea: (warning pseudocode gist)<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="https://gist.github.com/secondsun/5797051">https://gist.github.com/secondsun/5797051</a><br>
<br>
</blockquote>
The push branch on the main ag repo has been updated with most of
this implemented. Yay.<br>
<br>
Here is a usage example project:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/secondsun/PushEEDemo">https://github.com/secondsun/PushEEDemo</a>
<blockquote cite="mid:51BF16FA.4040603@redhat.com" type="cite"> In
theory if the user is running Android 4.0 or great we can handle
the attach/detach for the user.<br>
<br>
WDYT?<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
</blockquote>
<br>
</body>
</html>