<div dir="ltr">I really recommend you <b>don&#39;t</b> use Android emulator to play around push/gcm. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 8:29 AM, Anton Hughes <span dir="ltr">&lt;<a href="mailto:kurrent93@gmail.com" target="_blank">kurrent93@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Eric<div><br></div><div>Yes I did check in the chrome debugger, but there was no errors.</div><div><br></div><div><span style="font-size:12.8px">adb logcat - I am completely new to mobile development, so forgive me if my questions are very newbie-ish. </span><br></div><div><span style="font-size:12.8px">I have found the following - <a href="https://developer.android.com/tools/debugging/debugging-log.html" target="_blank">https://developer.android.com/tools/debugging/debugging-log.html</a> - which says:</span></div><blockquote class="gmail_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"><span style="font-size:12.8px">You can run LogCat through ADB or from DDMS, which allows you to read the messages in real time.</span></blockquote><div>What is adb and DDMS? Are these in JBDS? </div><div>How do I write to the log? I can see some examples in the Aerogear samples, that write to what looks like the javascript console. Do this get transpiled to android java?</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 9:58 AM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Anton,<div><br></div><div>So if the device doesn&#39;t show up in the UPS console it will never receive a message, so first thing to to check is if the register is performed in the android log (adb logcat). If that is not the case there might be a javascript problem, best way to determine that is by attaching a chrome debugger (type &quot;chrome://inspect&quot; in a location bar). Check the console log if there are any javascript or communication problems.</div><div><br></div><div>Hope this helps,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Jan 22, 2016 at 8:29 AM, Anton Hughes <span dir="ltr">&lt;<a href="mailto:kurrent93@gmail.com" target="_blank">kurrent93@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello<div><br></div><div>I am trying to test the UPS and Cordova.</div><div><br></div><div>I have UPS setup, have setup a google account, have all the required pieces.</div><div><br></div><div>I have watched all the videos that demonstrate how it should work.</div><div><br></div><div>I am deploying the sample app via the android device emulator, and it does get deployed.</div><div><br></div><div>However the UPS never sees any devices as connected, and no push messages sent from UPS ever arrive.</div><div><br></div><div>What should I do to debug this? Are there any obvious things to look into?</div><div><br></div><div>Thanks</div></div>
<br></div></div>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">-- Passos<br></div></div>
</div>