>> Thanks for the answer, but how do I install NanoHTTPD into Android?
>> It's only a Java file, so I've only to import it in an Android Project
>> and rebuild it or what?
>
> If you have to ask that question, you do not want to use NanoHTTPD.

To clarify: NanoHTTPD *can* be modified to work on Android, but it does
not work on Android out of the box. After all, NanoHTTPD was written well
before Android was even a twinkle in anyone's eye. NanoHTTPD assumes it is
running in a Java console, not an Android application. The modifications
required are important and reasonably substantial, but still only
represent maybe 5% of the overall lines of code.

Unfortunately, I cannot supply you with any Android-ready implementation
of NanoHTTPD, as the project I used it for was one for a consulting
customer.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to