<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">On 07/03/2013 03:10 AM, Matthias
      Wessendorf wrote:<br>
    </div>
    <blockquote
cite="mid:CAAg5f2TRN4wGt4xqSx65YR2gByuC0dm2Goi8V=Z0n5+etQ7H1g@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Wed, Jul 3, 2013 at 8:57 AM,
            Christos Vasilakis <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:cvasilak@gmail.com"
                target="_blank">cvasilak@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 style="word-wrap:break-word">
                <div>
                  <div class="im">
                    <div>On Jul 3, 2013, at 8:56 AM, Matthias Wessendorf
                      &lt;<a moz-do-not-send="true"
                        href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;
                      wrote:</div>
                    <br>
                    <blockquote type="cite">
                      <div dir="ltr"><br>
                        <div class="gmail_extra"><br>
                          <br>
                          <div class="gmail_quote">On Mon, Jul 1, 2013
                            at 1:32 PM, Christos Vasilakis <span
                              dir="ltr">&lt;<a moz-do-not-send="true"
                                href="mailto:cvasilak@gmail.com"
                                target="_blank">cvasilak@gmail.com</a>&gt;</span>
                            wrote:<br>
                            <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">
                              <div style="word-wrap:break-word">Hi
                                Tommy,
                                <div><br>
                                </div>
                                <div>nice guide!&nbsp;</div>
                                <div><br>
                                </div>
                                <div>did some formatting fixes on it and
                                  pushed on a branch here [1].</div>
                                <div><br>
                                </div>
                                <div>Further, had some issues following
                                  the "Configure the Build" for eclipse
                                  section. In particular:</div>
                                <div><br>
                                </div>
                                <div><b>&gt;&gt; PushEEDemo relies upon
                                    &#8220;aerogear-android&#8221;, so we must
                                    enable the two to work in tandem on
                                    the build&nbsp;path. In Eclipse&nbsp;</b></div>
                                <div><b>&gt;&gt; ADT, &nbsp;right click
                                    &#8220;aerogear-android&#8221;, choose
                                    &#8220;Properties&#8221;, then choose &#8220;Android&#8221;,
                                    and check&nbsp;&#8220;Is Library&#8221;.</b></div>
                                <div><br>
                                </div>
                                <div>Apart from the 'Is library'
                                  checkbox, in the same form the user
                                  should select a build target &gt;= 4.0
                                  otherwise there will be errors of
                                  missing import statements of
                                  &nbsp;"android.app.Fragment'.</div>
                              </div>
                            </blockquote>
                            <div><br>
                            </div>
                            <div><br>
                            </div>
                            <div>I *think* the "Android support library"
                              fixes that, see [1]</div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <div><br>
                    </div>
                  </div>
                  <div>unfortunately no&nbsp;'Android Support lib' will
                    resolve the &nbsp;'android.support.v4.app.*' imports
                    problem only.</div>
                  <div>The Build target &gt;= 4.0 is needed otherwise
                    imports of &nbsp;'android.app.Fragment' &nbsp;won't work</div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div style="">Oh - :)&nbsp;</div>
            <div style=""><br>
            </div>
            <div style="">So the 2.3.3 / API Level-10 is not enough? If
              so, I'd file a bug for later, so that we not forget to
              look into that (what ever the "solution" means).</div>
            <div style=""><br>
            </div>
            <div style="">-M&nbsp;</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    The solution is just updating the README for Aerogear-Android.&nbsp; <br>
    <blockquote
cite="mid:CAAg5f2TRN4wGt4xqSx65YR2gByuC0dm2Goi8V=Z0n5+etQ7H1g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div>&nbsp;</div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div style="word-wrap:break-word">
                <div>
                  <div>
                    <div class="h5">
                      <div><br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">
                          <div class="gmail_extra">
                            <div class="gmail_quote">
                              <div><br>
                              </div>
                              <div>&nbsp;</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">
                                <div style="word-wrap:break-word">
                                  <div><br>
                                  </div>
                                  <div><b>&gt;&gt; Now, right click
                                      &gt;&gt;&#8220;MainActivity&#8221; of
                                      PushEEDemo, and choose
                                      &#8220;Properties&#8221; again. Click
                                      &#8220;Java&nbsp;Build Path&#8221;, and check the
                                      box &gt;&gt; next to
                                      &#8220;aerogear-&gt;android&#8221;. This will
                                      include the necessary
                                      resources&nbsp;needed for AeroGear.<br>
                                    </b><br>
                                    Unfortunately I couldn't find that
                                    but I solved the issue by selecting
                                    'Android' from the left hand side of
                                    the Properties dialog, and on the
                                    "Library section I clicked &nbsp;'Add'
                                    and added the dependency to
                                    'aerogear-android' (found on the
                                    instructions suggested by the
                                    eclipse aerogear guide&nbsp;<a
                                      moz-do-not-send="true"
                                      href="http://aerogear.org/docs/guides/GetStartedAndroidEclipse/"
                                      target="_blank">here</a>)</div>
                                </div>
                              </blockquote>
                              <div><br>
                              </div>
                              <div>yes, that should be the right way.</div>
                              <div><br>
                              </div>
                              <div>&nbsp;</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">
                                <div style="word-wrap:break-word">
                                  <div><br>
                                  </div>
                                  <div><b>&gt;&gt; Finally, we also need
                                      to add a few Android and Google
                                      resources to the build path&nbsp;of
                                      PushEEDemo&#8230;.</b></div>
                                  <div><b><br>
                                    </b></div>
                                  <div>Once the libraries were added on
                                    PushEEDemo and tried to run eclipse
                                    complained "Your project contains
                                    errors, please fix them before
                                    running your application", mainly
                                    cause aerogear-android has missing
                                    dependencies. To fix that the
                                    libraries should be added to the
                                    'aerogear-android' &nbsp;project and not
                                    on 'PushEEDemo'. Further the user
                                    should ensure on the "Order and
                                    Export Tab &nbsp;the libraries are
                                    checked otherwise the dependent ant
                                    project "PushEEDemo" will complain.
                                    Once this is setup, the project run
                                    fluently :)</div>
                                  <div><br>
                                  </div>
                                  <div>(As a side note ADT tools
                                    provides a feature to add the
                                    support library, that is right
                                    clicking on the aerogear-android
                                    project and selecting "Android
                                    Tools-&gt;Add Support library&#8230;" will
                                    download the missing support library
                                    so probably for this, we can
                                    instruct the user to do that).</div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>My big cumbersome was downloading
                                    and configuring the missing
                                    libraries. I know that since
                                    aerogear-android uses maven &nbsp;</div>
                                  <div>(and with the&nbsp;Maven SDK Deployer
                                    installed) we can do:</div>
                                  <div><br>
                                  </div>
                                  <div>mvn dependency:copy &nbsp;(after we
                                    git clone the project)</div>
                                  <div><br>
                                  </div>
                                  <div>that will install the missing
                                    libraries in the /libs folder of
                                    aerogear-android and then be auto
                                    picked up by eclipse when we import
                                    the project (adding only the support
                                    library using the ADT eclipse
                                    feature 'Add Support Library' and
                                    the google-play services.jar).&nbsp;I
                                    tried that too and worked fluenty.</div>
                                  <div><br>
                                  </div>
                                  <div>I think for the purpose of the
                                    guide it can use the method you
                                    describe e.g manually adding the
                                    dependencies but probably add a
                                    comment in the like that "you can
                                    skip the manual process &nbsp;of
                                    downloading the libraries by using
                                    the maven sdk deployer plugin that
                                    aerogear-android uses, for more
                                    information see the installation
                                    instructions in the project's web
                                    site&nbsp;<a moz-do-not-send="true"
                                      href="https://github.com/aerogear/aerogear-android"
                                      target="_blank">here</a>)</div>
                                  <div><br>
                                  </div>
                                  <div>I think Summers and Passos can
                                    comment better on this one.</div>
                                </div>
                              </blockquote>
                              <div><br>
                              </div>
                              <div>yep.</div>
                              <div><br>
                              </div>
                              <div>I also had issues with Eclipse, and
                                Summers already commented on some of the
                                issues there (see [1]).&nbsp;</div>
                              <div>&nbsp;</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">
                                <div style="word-wrap:break-word">
                                  <div><br>
                                  </div>
                                  <div>Nice work!&nbsp;</div>
                                </div>
                              </blockquote>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                              <div>+1</div>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                              <div>[1] <a moz-do-not-send="true"
href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-Android-Eclipse-issue-with-the-quot-Push-quot-td3475.html"
                                  target="_blank">http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-Android-Eclipse-issue-with-the-quot-Push-quot-td3475.html</a>&nbsp;</div>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                              <div>&nbsp;</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">
                                <div style="word-wrap:break-word">
                                  <div><br>
                                  </div>
                                  <div>Thanks,</div>
                                  <div>Christos</div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>[1] <a moz-do-not-send="true"
                                      href="https://github.com/cvasilak/aerogear.org/commits/initial.review"
                                      target="_blank">https://github.com/cvasilak/aerogear.org/commits/initial.review</a></div>
                                  <div><br>
                                    Depending upon your configuration,
                                    you may need to also reference the
                                    following external JARs (followed&nbsp;by
                                    location) in
                                    your&nbsp;aerogear-android&nbsp;project:<br>
                                    <br>
                                    <div><br>
                                    </div>
                                  </div>
                                  <div>
                                    <div>
                                      <div>On Jun 26, 2013, at 10:52 PM,
                                        Tommy McCarthy &lt;<a
                                          moz-do-not-send="true"
                                          href="mailto:tomccart@redhat.com"
                                          target="_blank">tomccart@redhat.com</a>&gt;
                                        wrote:</div>
                                      <div>
                                        <div><br>
                                          <blockquote type="cite">Hey
                                            everyone,<br>
                                            <br>
                                            I just pushed out the first
                                            iteration of the Android
                                            Push tutorial, similar to
                                            the iOS tutorial, to my
                                            GitHub account. I'm looking
                                            for some feedback on what I
                                            have so far (including
                                            style, content, depth, etc.)
                                            <br>
                                            <br>
                                            <a moz-do-not-send="true"
href="https://github.com/tmccarthy9/aerogear.org/tree/master/docs/guides/aerogear-push-android"
                                              target="_blank">https://github.com/tmccarthy9/aerogear.org/tree/master/docs/guides/aerogear-push-android</a><br>
                                            <br>
                                            Of course, I will be both
                                            finishing and polishing it
                                            up before I submit a pull
                                            request, but I'd like to
                                            know what everyone thinks so
                                            far.<br>
                                            <br>
                                            Thanks for your help!<br>
                                            Tommy McCarthy<br>
_______________________________________________<br>
                                            aerogear-dev mailing list<br>
                                            <a moz-do-not-send="true"
                                              href="mailto:aerogear-dev@lists.jboss.org"
                                              target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                            <a moz-do-not-send="true"
                                              href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                              target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                          </blockquote>
                                        </div>
                                        <br>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                <br>
_______________________________________________<br>
                                aerogear-dev mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:aerogear-dev@lists.jboss.org"
                                  target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                <a moz-do-not-send="true"
                                  href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                  target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                              </blockquote>
                            </div>
                            <br>
                            <br clear="all">
                            <div><br>
                            </div>
                            -- <br>
                            Matthias Wessendorf <br>
                            <br>
                            blog: <a moz-do-not-send="true"
                              href="http://matthiaswessendorf.wordpress.com/"
                              target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
                            sessions: <a moz-do-not-send="true"
                              href="http://www.slideshare.net/mwessendorf"
                              target="_blank">http://www.slideshare.net/mwessendorf</a><br>
                            twitter: <a moz-do-not-send="true"
                              href="http://twitter.com/mwessendorf"
                              target="_blank">http://twitter.com/mwessendorf</a>
                          </div>
                        </div>
                        _______________________________________________<br>
                        aerogear-dev mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:aerogear-dev@lists.jboss.org"
                          target="_blank">aerogear-dev@lists.jboss.org</a><br>
                        <a moz-do-not-send="true"
                          href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                          target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote>
                    </div>
                  </div>
                </div>
                <br>
              </div>
              <br>
              _______________________________________________<br>
              aerogear-dev mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
              <a moz-do-not-send="true"
                href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          Matthias Wessendorf <br>
          <br>
          blog: <a moz-do-not-send="true"
            href="http://matthiaswessendorf.wordpress.com/"
            target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
          sessions: <a moz-do-not-send="true"
            href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
          twitter: <a moz-do-not-send="true"
            href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
        </div>
      </div>
      <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>