<div>Folks,</div><div><br></div><div>Here is the Building For Android section of the Wave I mentioned earlier.</div><div><br></div><div>If anything is wrong, vague or missing from the section below, please point it out so I may update the wave, or feel free to update the wave directly (if you're on the wave... else, email me if you wish to be added.) </div>
<div><br></div><div>The relevant sections from this wave will end up on <a href="http://olsr.org">olsr.org</a> so contributing to it helps everyone. </div><div><br></div><div>It's designed for absolute beginners like myself.</div>
<div><br></div><div>Thanks!</div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; "><p style="margin-left: 51px; "><span style="font-weight: bold; ">Building for Android:</span></p>
<p style="margin-left: 51px; "></p><p style="margin-left: 68px; ">The latest olsrd codebase (<a href="http://olsr.org/?q=download" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">http://olsr.org/?q=download</a>) from <a href="http://olsr.org" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">olsr.org</a> conatins the build file for Android.</p>
<p style="margin-left: 51px; "></p><p style="margin-left: 68px; ">To build, download and install the <a href="http://developer.android.com/sdk/ndk/1.6_r1/index.html" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">NDK</a><a href="http://developer.android.com/sdk/ndk/1.6_r1/index.html" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); "> (1.6, </a><a href="http://developer.android.com/sdk/ndk/1.6_r1/index.html" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(255, 0, 0); ">r1</a><span style="-webkit-user-modify: read-only; "><span></span></span><a href="http://developer.android.com/sdk/ndk/1.6_r1/index.html" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">)</a> component of the <a href="http://developer.android.com/sdk/index.html" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">Android SDK</a> (also required) then Make for <span style="border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(255, 0, 0); ">Adnroid</span><span style="-webkit-user-modify: read-only; "><span></span></span> from olsrd install dir:</p>
<p style="margin-left: 68px; "></p><p style="margin-left: 85px; ">make OS=android DEBUG=0 build_all</p><p style="margin-left: 85px; "></p><p style="margin-left: 85px; ">0: remove all debug output code</p><p style="margin-left: 85px; ">
1: include the debug output code (verbosity is controlled by a command</p><p style="margin-left: 85px; ">line/config file parameter) <span style="color: rgb(229, 51, 51); ">// see olsrd.conf</span></p><p style="margin-left: 85px; ">
</p><p style="margin-left: 85px; "><span style="font-family: arial; ">Where or how to install olsrd on device?</span></p><p style="margin-left: 85px; "></p><p style="margin-left: 85px; "><span>T</span><span>his is what the HOWTO says: "For the Samsung Galaxy you can use the following file: pre compiled samsung android version of olsrd. You might have to edit the data/local/etc/olsrd.conf file to suite your needs."</span><span style="color: rgb(229, 51, 51); "></span></p>
<p style="margin-left: 85px; "></p><p style="margin-left: 85px; ">Answer from Henning Rogge:</p><p style="margin-left: 85px; "></p><p style="margin-left: 85px; ">"I think you just have to copy it somewhere on the device and start it from a</p>
<p style="margin-left: 85px; ">command line" <font class="Apple-style-span" color="#FF0000">// using adb shell i assume</font></p><p style="margin-left: 85px; "></p><p style="margin-left: 85px; ">I guess you also have to copy the olsrd.conf to /data/local/etc/</p>
<p style="margin-left: 85px; "></p><p style="margin-left: 85px; ">Make sure to follow instructions in this link for setting up ad-hoc mode before starting olsrd on the device: <a href="http://olsr.org/?q=olsr_on_android" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">h</a><a href="http://olsr.org/?q=olsr_on_android" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); ">ttp://olsr.org/?q=</a><a href="http://olsr.org/?q=olsr_on_android" target="_blank" style="font-family: arial, sans-serif; color: rgb(102, 77, 159); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(255, 0, 0); ">olsr_on_android</a><span style="-webkit-user-modify: read-only; "><span></span></span></p>
<p style="margin-left: 17px; "><span class="__wave_paste"></span><span> </span></p></span></div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">On Wed, Jan 20, 2010 at 11:18 AM, Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@googlemail.com">hrogge@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Am Mittwoch 20 Januar 2010 20:12:54 schrieb marc fawzi:<br>
<div class="im">> Just one last question:<br>
><br>
> Where or how to install olsrd on device?<br>
><br>
> Maybe it's done automatically in the make process?<br>
><br>
> This is what the HOWTO says: "For the Samsung Galaxy you can use the<br>
> following file: pre compiled samsung android version of olsrd. You might<br>
> have to edit the data/local/etc/olsrd.conf file to suite your needs."<br>
</div>Hmm... good question, I never tries to do it on my phone.<br>
<br>
I think you just have to copy it somewhere on the device and start it from a<br>
command line. Plugins might be a little bit more difficult.<br>
<font color="#888888"><br>
Henning Rogge<br>
</font></blockquote></div><br>