<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span>Well , I am using the cordova plugin to send push notifications. Also when i say rich media message notification , I mean a rich message displayed on home screen / lock screen. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>How do i get the alias field to work for deviceId ?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Further more , when the app registers , does aero gear also capture the gps coordinates ?<br></span></div><div style="color: rgb(0, 0, 0); font-size:
 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Regards</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On
 Wednesday, October 22, 2014 7:21 AM, Matthias Wessendorf &lt;matzew@apache.org&gt; wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv8028153298"><div><div dir="ltr"><br clear="none"><div class="yiv8028153298gmail_extra"><br clear="none"><div class="yiv8028153298gmail_quote">On Wed, Oct 22, 2014 at 12:56 PM, Daniel Passos <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:daniel@passos.me" target="_blank" href="mailto:daniel@passos.me">daniel@passos.me</a>&gt;</span> wrote:<br clear="none"><blockquote class="yiv8028153298gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div>Hello,</div><div><br clear="none"></div><div><div style="font-family:arial, sans-serif;font-size:12.8000001907349px;">Answers inline</div></div><div><br clear="none"></div><div class="yiv8028153298gmail_extra"><div class="yiv8028153298gmail_quote"><span class="yiv8028153298">On Wed, Oct 22,
 2014 at 1:34 AM, chansdad <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:rajnukala@yahoo.com" target="_blank" href="mailto:rajnukala@yahoo.com">rajnukala@yahoo.com</a>&gt;</span> wrote:<br clear="none"></span><blockquote class="yiv8028153298gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">Hello<br clear="none">
<br clear="none">
I am testing aerogear for a project of mine . Able to send alerts .<br clear="none">
<br clear="none">
Here are couple of questions<br clear="none">
1. Can I send alerts based on a deviceId?<br clear="none"></blockquote><div><br clear="none"></div><div>Yes and No. You can add an alias from this device on registration and send a message to this alias.</div></div></div></div></blockquote><div><br clear="none"></div><div>Right! and, as a little 'work-around', you cold store the registrationID on the alias value - &nbsp;That way you can send to a specific device, leveraging the 'alias' feature ;-)</div><div>&nbsp;</div><blockquote class="yiv8028153298gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div class="yiv8028153298gmail_extra"><div class="yiv8028153298gmail_quote"><span class="yiv8028153298"></span><div>&nbsp;</div><blockquote class="yiv8028153298gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">
2. alerts is visible in the notifications panel in android . when i select<br clear="none">
the alert , it takes me to the app . and when the app is active displays the<br clear="none">
alert dialog on top of the app . can i disable this? when the app is not<br clear="none">
active , alert is not displayed on the app screen.<br clear="none">
3. Can i customize the alert as it displays on the screen.<br clear="none">
4. Does aerogear support rich media notifications to be displayed on<br clear="none">
homescreen. If not is there a plan to add this feature?<br clear="none"></blockquote></div></div></div></blockquote><div><br clear="none"></div><div>you mean, posting HTML5 and stuff? basically, as passos said, the content is really up to your use-case.</div><div><br clear="none"></div><div>&nbsp;</div><blockquote class="yiv8028153298gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div class="yiv8028153298gmail_extra"><div class="yiv8028153298gmail_quote"><span class="yiv8028153298"></span><blockquote class="yiv8028153298gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;"></blockquote><div><div><br clear="none"></div><div>So, talking about android land, is not an AeroGear responsibility display the message received from UPS.&nbsp;</div><div><br clear="none"></div><div>AeroGear provides a BroadcastReceiver[1]
 implementation. That automatically handles/parse/whatever and dispatch it to one (or more) MessageHandler[2],&nbsp;</div><div><br clear="none"></div><div>You (I mean developer) need create and declare MessageHandler. You can declare a MessageHandler directly in AndroidManifest[3] or do it programatically[4][5] &nbsp;</div><div><br clear="none"></div><div>Your MessageHander is responsable by display the message (or do something in background) using the best way to this<br clear="none"></div><div><br clear="none"></div><div>Hope this help you</div></div><div><div><br clear="none"></div><div>[1] <a rel="nofollow" shape="rect" target="_blank" href="https://github.com/aerogear/aerogear-android-push/blob/master/src/org/jboss/aerogear/android/unifiedpush/AeroGearGCMMessageReceiver.java">https://github.com/aerogear/aerogear-android-push/blob/master/src/org/jboss/aerogear/android/unifiedpush/AeroGearGCMMessageReceiver.java</a></div><div>[2] <a rel="nofollow"
 shape="rect" target="_blank" href="https://github.com/aerogear/aerogear-android-push/blob/master/src/org/jboss/aerogear/android/unifiedpush/MessageHandler.java">https://github.com/aerogear/aerogear-android-push/blob/master/src/org/jboss/aerogear/android/unifiedpush/MessageHandler.java</a></div><div>[3] &lt;meta-data android:name="DEFAULT_MESSAGE_HANDLER_KEY" android:value="[YOUR MessageHandler IMPLEMENTATION CLASS HERE]" /&gt;<br clear="none"></div><div>[4] <a rel="nofollow" shape="rect" target="_blank" href="https://github.com/aerogear/aerogear-push-helloworld/blob/master/android/src/org/jboss/aerogear/unifiedpush/helloworld/activities/MessagesActivity.java#L52-L59">https://github.com/aerogear/aerogear-push-helloworld/blob/master/android/src/org/jboss/aerogear/unifiedpush/helloworld/activities/MessagesActivity.java#L52-L59</a></div><div>[5] <a rel="nofollow" shape="rect" target="_blank"
 href="https://github.com/aerogear/aerogear-push-helloworld/blob/master/android/src/org/jboss/aerogear/unifiedpush/helloworld/activities/MessagesActivity.java#L67-L72">https://github.com/aerogear/aerogear-push-helloworld/blob/master/android/src/org/jboss/aerogear/unifiedpush/helloworld/activities/MessagesActivity.java#L67-L72</a></div></div><span class="yiv8028153298"></span><div>&nbsp;</div><blockquote class="yiv8028153298gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">
Thanks and to be honest , aerogear makes it super simple to send out<br clear="none">
notifications .I still need to figure out if i can&nbsp; send messages by<br clear="none">
deviceId as that is my key requirement.<br clear="none"></blockquote><div><br clear="none"></div><div>Glad to know that and&nbsp;<span style="font-family:arial, sans-serif;font-size:12.8000001907349px;">thanks for trying out the UPS</span></div></div></div></div></blockquote><div><br clear="none"></div><div>+1 yeah, gald to hear you like it so far :)</div><div class="yiv8028153298yqt0578592958" id="yiv8028153298yqtfd69077"><div>&nbsp;</div></div><blockquote class="yiv8028153298gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv8028153298yqt0578592958" id="yiv8028153298yqtfd75015"><div dir="ltr"><div class="yiv8028153298gmail_extra"><div class="yiv8028153298gmail_quote"><div>&nbsp;</div><blockquote class="yiv8028153298gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">
Regards<span class="yiv8028153298HOEnZb"><font color="#888888"><br clear="none"></font></span></blockquote><span class="yiv8028153298HOEnZb"><font color="#888888"></font></span><div><br clear="none"></div><div>-- Passos&nbsp;</div></div></div></div>
<br clear="none">_______________________________________________<br clear="none">
aerogear-dev mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:aerogear-dev@lists.jboss.org" target="_blank" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div><br clear="none"></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none">Matthias Wessendorf <br clear="none"><br clear="none">blog: <a rel="nofollow" shape="rect" target="_blank" href="http://matthiaswessendorf.wordpress.com/">http://matthiaswessendorf.wordpress.com/</a><br clear="none">sessions: <a rel="nofollow" shape="rect" target="_blank" href="http://www.slideshare.net/mwessendorf">http://www.slideshare.net/mwessendorf</a><br clear="none">twitter: <a rel="nofollow" shape="rect" target="_blank" href="http://twitter.com/mwessendorf">http://twitter.com/mwessendorf</a><div class="yiv8028153298yqt0578592958" id="yiv8028153298yqtfd00779">
</div></div></div></div></div><br><div class="yqt0578592958" id="yqtfd68865">_______________________________________________<br clear="none">aerogear-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:aerogear-dev@lists.jboss.org" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br clear="none"><a shape="rect" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div><br><br></div>  </div> </div>  </div> </div></body></html>