[Olsr-users] Android Developer Phone: Is It Necessary?

marc fawzi (spam-protected)
Wed Jan 20 20:39:38 CET 2010


Folks,

Here is the Building For Android section of the Wave I mentioned earlier.

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.)

The relevant sections from this wave will end up on olsr.org so contributing
to it helps everyone.

It's designed for absolute beginners like myself.

Thanks!

Building for Android:

The latest olsrd codebase (http://olsr.org/?q=download) from olsr.org conatins
the build file for Android.

To build, download and install the
NDK<http://developer.android.com/sdk/ndk/1.6_r1/index.html>
 (1.6,  <http://developer.android.com/sdk/ndk/1.6_r1/index.html>r1<http://developer.android.com/sdk/ndk/1.6_r1/index.html>
) <http://developer.android.com/sdk/ndk/1.6_r1/index.html> component
of the Android
SDK <http://developer.android.com/sdk/index.html> (also required) then Make
for Adnroid from olsrd install dir:

make OS=android DEBUG=0 build_all

0: remove all debug output code

1: include the debug output code (verbosity is controlled by a command

line/config file parameter) // see olsrd.conf

Where or how to install olsrd on device?

This 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."

Answer from Henning Rogge:

"I think you just have to copy it somewhere on the device and start it from
a

command line" // using adb shell i assume

I guess you also have to copy the olsrd.conf to /data/local/etc/

Make sure to follow instructions in this link for setting up ad-hoc mode
before starting olsrd on the device: h <http://olsr.org/?q=olsr_on_android>
ttp://olsr.org/?q=
<http://olsr.org/?q=olsr_on_android>olsr_on_android<http://olsr.org/?q=olsr_on_android>







On Wed, Jan 20, 2010 at 11:18 AM, Henning Rogge <(spam-protected)>wrote:

> Am Mittwoch 20 Januar 2010 20:12:54 schrieb marc fawzi:
> > Just one last question:
> >
> > Where or how to install olsrd on device?
> >
> > Maybe it's done automatically in the make process?
> >
> > This 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."
> Hmm... good question, I never tries to do it on my phone.
>
> I think you just have to copy it somewhere on the device and start it from
> a
> command line. Plugins might be a little bit more difficult.
>
> Henning Rogge
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100120/f5e088e5/attachment.html>


More information about the Olsr-users mailing list