<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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 href="https://gist.github.com/secondsun/5797051">https://gist.github.com/secondsun/5797051</a><br>
<br>
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>
</body>
</html>