<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <blockquote type="cite"><br>
      Anyway, something is broken on (my?) lazarus/fpc... when I compile
      for Android it builds, but app crashes at start<br>
      (Well, on Galaxy Note it crashes at start, on Nexus 10 the app
      goes on loop flashing all time until I kill it)</blockquote>
    <br>
    Always or just with the internettools?<br>
    <br>
    Did you check the logcat?<br>
    <br>
    <br>
    On 05/24/2013 11:53 PM, Kjow wrote:
    <blockquote
cite="mid:CADatRmhq1_QSB0iaehyOs8pPJMs6dhvvEfhv7RqrWWCs=BCj0w@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=ISO-8859-1">
      <div>
        <div>
          <div>
            <div>
              <div>Now it works, I misunderstood the requirements... I
                meant "LCL" in project requirements, not package!<br>
              </div>
              <br>
              Anyway, something is broken on (my?) lazarus/fpc... when I
              compile for Android it builds, but app crashes at start<br>
              (Well, on Galaxy Note it crashes at start, on Nexus 10 the
              app goes on loop flashing all time until I kill it)<br>
              <br>
            </div>
            So I can't test on real device.<br>
            <br>
          </div>
          Thank you!<br>
        </div>
        Kjow<br>
        <div>
          <div>
            <div><br>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <div><br>
        <br>
        <div>2013/5/24 Benito van der Zander <span><<a
              moz-do-not-send="true" href="mailto:benito@benibela.de">benito@benibela.de</a>></span><br>
          <blockquote>
            <div> Did you include the internettools package as
              requirement in your project?<br>
              <br>
              Because then, it does not compile for Android, because I
              did not want to add a requirement on LCL <br>
              for the package, when it  works without LCL everywhere
              except Android.<br>
              And sadly you cannot set different package requirements,
              for Android and non-Android.<br>
              <br>
              You can click on "Add / New Requirement" and add LCL in
              the package inspector then it will probably work this way.<br>
              <br>
              Or, I use it in my project, by not including the
              internettools package as requirement, and having all paths
              in fpc.cfg.<br>
              Then it works also fine. The packages are really pointless<span>
                <br>
                <br>
                <br>
                Benito </span>
              <div>
                <div><br>
                  <br>
                  On 05/24/2013 03:03 PM, Kjow wrote:
                  <blockquote type="cite">
                    <div>
                      <div>
                        <div>
                          <div>
                            <div>I'm sorry for delay, I have few free
                              time.<br>
                              <br>
                            </div>
                            I can't compile for arm-android:<br>
                            <br>
                            Hint: Start of reading config file
                            C:\Develop\fpc\2.7.x\bin\i386-win32\fpc.cfg<br>
                            Hint: End of reading config file
                            C:\Develop\fpc\2.7.x\bin\i386-win32\fpc.cfg<br>
                            Free Pascal Compiler version 2.7.1
                            [2013/05/21] for arm<br>
                            Copyright (c) 1993-2013 by Florian Klaempfl
                            and others<br>
                            Target OS: Android for ARMEL<br>
                            Compiling internettools.pas<br>
                            Compiling .\internet\simpleinternet.pas<br>
                            Compiling
                            .\internet\androidinternetaccess.pas<br>
                            internet\androidinternetaccess.pas(35,8)
                            Fatal: Can't find unit LCLProc used by
                            androidinternetaccess<br>
                          </div>
                          <br>
                        </div>
                        I have both lcl and lclbase in package
                        requirements.<br>
                        <br>
                      </div>
                      <div>Thanks,<br>
                      </div>
                      Kjow<br>
                      <div>
                        <div>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div><br>
                      <br>
                      <div>2013/5/23 Benito van der Zander <span><<a
                            moz-do-not-send="true"
                            href="mailto:benito@benibela.de">benito@benibela.de</a>></span><br>
                        <blockquote>
                          <div> You do not really need to install
                            anything. <br>
                            Just add the paths with the units to the
                            search paths.<br>
                            <br>
                            But if you want to install it, you can open
                            the internettools.lpk and click Use/Install
                            <div>
                              <div><br>
                                <br>
                                On 05/23/2013 10:51 AM, Kjow wrote: </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div>2013/5/22 Benito van der
                                        Zander <span><<a
                                            moz-do-not-send="true"
                                            href="mailto:benito@benibela.de">benito@benibela.de</a>></span><br>
                                        <blockquote>
                                          <div> Hi,<br>
                                            last week I ported my
                                            Internet Tools (<a
                                              moz-do-not-send="true"
                                              href="http://benibela.de/sources_en.html#internettools">http://benibela.de/sources_en.html#internettools</a>)
                                            to Android<br>
                                            e.g.:<br>
                                            <br>
                                            uses simpleinternet;<br>
                                            Memo2.Lines.text :=
                                            retrieve(edit1.text);<br>
                                            <br>
                                            or if you need the headers:<br>
                                            <br>
                                            uses androidinternetaccess;<br>
                                            var internet:
                                            TAndroidInternetAccess;<br>
                                            begin<br>
                                               
                                            internet:=TAndroidInternetAccess.create;<br>
                                                Memo2.Lines.text :=
                                            internet.get(edit1.text);<br>
                                               
                                            Memo1.Lines.Assign(internet.GetLastHTTPHeaders);<br>
                                                internet.free;<br>
                                            end;<br>
                                          </div>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                    Thank you, but I can't get it
                                    working... neither x64-win64 nor
                                    Android.<br>
                                    I can't find an installation guide,
                                    so I don't understand what is needed
                                    and how to set it.<br>
                                    <br>
                                    Can you help me?</div>
                                  <br>
                                  <br>
                                </div>
                              </div>
                              <div>
                                <pre>--
_______________________________________________
Lazarus mailing list
<a moz-do-not-send="true" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a moz-do-not-send="true" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
                              </div>
                            </blockquote>
                          </div>
                          <br>
                          --<br>
_______________________________________________<br>
                          Lazarus mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <br>
                    <pre>--
_______________________________________________
Lazarus mailing list
<a moz-do-not-send="true" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a moz-do-not-send="true" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
                  </blockquote>
                </div>
              </div>
            </div>
            <br>
            --<br>
            _______________________________________________<br>
            Lazarus mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
    </blockquote>
  </body>
</html>