Ars Technica takes another look at the updated Android SDK Thesis: A thorough study on the state of Mobile Ajax Performance
Feb 19

Hmm, what if you could run a server on your mobile? Jetty, the lightweight Java HTTP server has been ported to Android as i-jetty.

You can use Jetty to run server logic and Servlets right on the phone itself.

For example, you could take a Web based application and deploy it on the phone, and have the phone’s browser talk locally. Jetty also supports Comet style Web development, so your little Web browser based application could get some PUSH.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.mortbay.ijetty">
    <application android:icon="@drawable/icon">
        <activity class=".IJetty" android:label="@string/app_name">
            <intent-filter>
                <action android:value="android.intent.action.MAIN" />
                <category android:value="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

4 Responses to “Got some server on your phone?”

  1. codelicious Says:

    there’s no download link for the project at: http://code.google.com/p/i-jetty/

    where can we download and give it a try?

    thanks

  2. codelicious Says:

    I’m sorry, I see the stuff in SVN :)

  3. Jan Bartel Says:

    I’ve updated i-jetty to the latest Android toolkit (m5) and now have a much more flexible structure in place to move forward. Link to my blog entry is here if you’re interested:

    http://blogs.webtide.com/janb/2008/02/20/1203499853543.html

    At the moment, we’re at the proof-of-concept stage, where we have the Jetty structure in place, the connectors running and serving a Jetty Handler (which like a super lightweight servlet). Next goal is to serve an arbitrary webapp. Stay tuned!

    cheers
    Jan

  4. Jukka Says:

    For S60, there is a solution as well, check out http://mymobilesite.net

Leave a Reply

Spam is a pain, we are sorry to have to do this to you, but can you answer the question below? If so, the comment will go through!

Spam Question: What is the first letter of this site?

Your Answer: