Google Android Port Turns Phones Into Webservers

Webtide has announced a port of its open source Jetty webserver to the Android mobile phone platform. The i-Jetty technology allows mobile phone users to set up AJAX- and Comet-enabled websites on their Android phones for access via desktop PCs over the web, says Webtide.

Jetty is a lightweight, open source webserver implemented in Java and released under the Apache 2.0 license. Webtide is the principle maintenance developer for the software, it said.

Jetty is designed to work as a standalone webserver or as a dynamic content server behind a dedicated HTTP server such as Apache. The Android-based i-Jetty version is loaded as a servlet on Android, says Webtide. Once loaded, it enables remote access to phone functions from desktop PCs.

The i-Jetty port to the Android open source software stack for mobile devices is billed primarily as a matter of convenience for cell phone users, who can use it to make calls from their PCs, or to access phone-based content such as address books and calendars using a familiar browser interface. According to Webtide, users will be able to view, create, and save changes to files from remote PCs, including address lists, system settings, call logs, and multimedia files.

Two years ago, Nokia touted similar benefits when it ported Apache to Symbian with its Raccoon project. So far, there has been little evidence of major developer support for Raccoon, yet with mobile phones far outnumbering PCs, the potential for changing the nature and scope of the web is intriguing.

Beyond convenience, Nokia promoted the Raccoon technology as something of a paradigm shifter for the web, especially for mobile webcam-based website projects or for personal web servers. In particular, said Nokia, the amount of personal information stored on mobile phones makes it easy to “semi-automatically generate a personal home page.” Other applications touted by Nokia included finding the location of other mobile web sites in the proximity, mobile weblogs, and IM messaging.

i-Jetty users can also build publicly accessible mobile web servers said Adam Lieber, CEO of Webtide, in an interview. In fact, he said, the potential might be greater with i-Jetty compared to Nokia’s technology. “I-Jetty is more of a full-featured Java application server as opposed to being just a page server,” he said. For example, i-Jetty supports web services technologies such as AJAX (asynchronous Javascript and XML), which speeds up interactive processes on AJAX-enabled applications like Google Maps.

Beyond mobile phones: routers with webservers

Yet, mobile phones are not sufficiently powerful for most web-serving applications, Lieber noted. “Right now, the devices still don’t have the processing power and connection speed to handle more than a small population of users,” he said, quickly adding, “i-Jetty-enabled Android phones could certainly syndicate to a larger landed service.”

A potentially larger new market could emerge, said Lieber, if Android takes hold in larger-format devices such as network routers. “Android-based networking devices such as routers and access points could host web-based services,” he said.

A month-old blog from Chief Engineer Jan Bartel reveals some of the project’s final struggles in making the port. According to Lieber, however, the porting process was “really fast” compared to typical ports to commercial Java servers. “Android is much more adaptable to projects like this. Instead of, okay, you can add your server to our application, it’s like we’ll adapt our environment to your server.” The biggest challenge, said Lieber, was in “getting used to the Android emulators.”

According to Lieber, the code is stable enough for productive use now. “It’s posted, it’s freely available, and it’s good to go now,” he said. One potential area for improvement will occur, he added, if Google decides to enable “dynamic adding of Java classes in runtime” in the next Android release. “Right now, there are a couple facilities that are not available in Android, but we’re hopeful that they will make the change so more Java components can be added into an application while it’s running,” he said.

Availability

i-Jetty is now available for free download at Google Code. Webtide is demonstrating the technology this week at Eclipse.con 2008 in Santa Clara, Calif.

Android Will Outsell iPhone

Google has not released sales predictions for devices based on its mobile operating system Android. But that doesn’t stop Rich Miner, group manager for mobile platforms at the search giant, from being confident.After his presentation on Thursday at the Emerging Communications Conference at the Computer History Museum in Silicon Valley, Miner said he expects Android-based devices to outpace sales of the popular iPhone.

“Once you have devices out there from Motorola, HTC, Samsung, and so on, there’s a much larger potential market on Android than for the iPhone,” Miner said. Despite the runaway success of the iPhone, which sold 4 million units in its first seven months of release, “there’s a single manufacturer, it’s targeted at a particular demographic, and it falls far short of the 1 billion mobile phones sold every year worldwide,” added Miner.

Introduced last November, Android is a “complete open-source [software] stack” for mobile devices, not just an operating system,” Miner said during his eComm presentation. Trying to stimulate application development for Android devices, Google is offering $10 million in prizes in its “Android Developers Challenge” for innovative and useful apps.Opening the iPhone platform to third-party apps, Apple earlier this month released the software development kit for the popular consumer device. Apple said this week that the SDK has already been downloaded more than 100,000 times. Miner, however, pointed out that significant restrictions will still limit the creation of rich and useful applications for the iPhone.

“There are things I saw people doing with the first version of the Android SDK that it seems like you can’t do with the iPhone at least at the moment,” he says.

Google said last month at the 3GSM conference in Barcelona that the Android SDK has been downloaded 750,000 times. “That’s for a device that doesn’t even exist yet,” remarked Miner.Motorola, Samsung, HTC, and LG all belong to the Open Handset Alliance, which was formed last year by Google to promote open platforms and open networks in the mobile and wireless industry. All four are expected to release devices based on Android in the second half of this year. Miner indicated on Thursday that he expects one of the handset makers (most likely Taiwanese manufacturer HTC, according to industry reports) to reach the market before the other three.

Android and the iPhone, Miner adds, are aimed at different markets.

“It’s not a competitive thing — it’s great that people are finally building tools so all of these third-party applications can be built and get out there,” Miner said. “[If I were a developer] I’d certainly be looking at the iPhone, and if you believe there will be lots of Android phones out there, as we do, I’d be developing for both platforms.”

Upcoming Android Applications

Google, HTC and T-Mobile officially unwrapped the first Android handset. While it’s a smart handset on its own, the real highlight is of course the Android operating system and the many and varied applications that it’s going to provide through the integrated Android Marketplace.

To ensure that the store is well stocked with clever software to play with once the first Android phones actually reach the shelves, Google has held a competition for Android developers, offering oodles of cash and early access to more advanced versions of the SDK to help developers on their way. We’ve had a sift through to find ten of the best, most imaginative apps that’ll draining your handset battery faster than a free bar at an office party:

1. TuneWiki - Part handset karaoke game, part social networking tool and part GPS toy; TuneWiki syncs music and music videos with on-screen lyrics and even translates them to other languages. At the same time you can share information (but not tunes themselves) with your friends.

You can also navigate a map to see what other users are listening to. Find out whether that angry looking metal head up the train is secretly bopping to Abba and then incur his wrath by whistling ‘Dancing Queen’ at him.

The software will also create charts of top songs by individual locations, countries, states or cities.

2. Maverick - There are so many different IM, chat, micro-blogging and small-scale social networking tools around that it’s royal pain to keep using individual programs for each, especially so on a mobile device. Maverick is designed to cut though all that, by offering a single platform to chat, email and publish blog content.

You can also share multimedia content including audio clips, photos and drawings directly though IM. It will also notify you when you receive an email in Gmail.

3. PocketJourney – Taking a trip to a new city? Don’t want to tap up the local tourist office and lug a map around? No problem. PocketJourney will give you location specific ‘geoclips’ from tour guides and enthusiastic users to help you on your way. These might involve text, audio or video.

Sounds great for tourists, but we’re intrigued to know whether other storytellers could get more creative with the technology, using the same location-specific system to set out elaborate treasure hunts and guided narratives turning the urban sprawl you thought you knew like the back of your hand into mysterious adventures.

4. LifeAware - No one likes the idea of Big Brother being able to track your every move. However, it would be bloody handy to know when your mate has walked into the pub next door. LifeAware will allow fellow Android users to get updates when their contacts come within a certain range. You can also set zones that alert you when a friend enters or leaves.

Okay, it’s a little creepy and not something that you EVER let your boss, your co-workers or your wife anywhere near. Still neat though.

5. GolfPlay – One for the golfing fans out there, GolfPlay is a personal tool for managing personal golfing statistics, comparing your skills with others and finding out more information about a course you’re playing. GPS mapping will give you an overview of the course too with hole data and statistics.

It sounds a little like a game of Tiger Woods and a lot like cheating. But hey, it’ll help fellow golf cheats socially network and by the time everyone has their handsets turned into personal golf caddies, it won’t be cheating any more.

The next step logical step would be to get golf balls with their own GPS chips, thus making it possible to find them when they’re buried in the rough. Hop to it, golf ball makers.

6. Compare Everywhere – Here’s one that doesn’t involve the GPS. Oh wait it does, but the camera comes into play too. You can use the camera to scan the barcode on any product you like. The software then works out what you’re looking for and hooks up to the net to find you the best deal. Then the GPS finds you a shop that’s not a mail order service based in the Outer Hebrides so you can go and buy it.

7. Softrace – Softrace is a little program designed for runners. Using, you guessed it, the GPS, Softrace lets you map out races around a virtual track – for example: round the park, up to the shops, onto the number 29 and back up the stairs – then when that data’s uploaded you can challenge yourself or others to beating your time. Maps will show where the course goes so you don’t get lost.

Users will presumably be able to download new routes to try out and we look forward to becoming runners finding new training nemeses who keep beating their times by fractions of a second. Little will they realise that it’ll be us! Using bikes. Or possibly taxis.

8. SplashPlay - The only tool on the list that actually needs an accessory. SplashPlay will teach how to play guitar chords form your favourite tunes. The (optional – but it’s a lot less useful without it) BlueTooth Pod attaches to the kneck of your guitar and instructs you on which strings to hold using a lights and an onscreen display.

An important part of the service is the online store – it won’t work with just any MP3 track unfortunately. You will be able to create your own riffs and share them with other users.

9. City Slikkers – assuming all the other GPS tools don’t run your battery dry with thirty seconds, then definitely keep an eye on City Slikkers, one of growing tide of pervasive, location-based games. We don’t know what the gameplay will be like yet, other than that it will involve doing stuff in real life in specific places, i.e. not sitting around hammering buttons on your sofa. Whole cities are scaled back to individual blocks and territories that teams can take over and compete with other teams for control over.

This concept has the potential for lots of fun and with added twist of maybe turning people who have never physically met before into mortal enemies, frantically scrabbling for their handsets as they suddenly recognize each other as a member of a rival faction.

10. Cooking Capsules – Wondering around the super market and can’t decent what you want to cook? Or faced with a fridge full of half-finished ingredients and want to make something palatable out of it? This is where Cooking Capsules comes in, instantly providing you with bite sized (hohoho) recipe guides.

The system talks you through each step and users will also be able to upload their own ideas to the database.

Android Market: A User Driven Content Distribution System

When we talk to developers, a common topic is the challenge of getting applications in the hands of users.That’s why today I’m happy to share early details of Android Market—an open content distribution system that will help end users find, purchase, download and install various types of content on their Android-powered devices. The concept is simple: leverage Google’s expertise in infrastructure, search and relevance to connect users with content created by developers like you.

Developers will be able to make their content available on an open service hosted by Google that features a feedback and rating system similar to YouTube. We chose the term “market” rather than “store” because we feel that developers should have an open and unobstructed environment to make their content available. Similar to YouTube, content can debut in the marketplace after only three simple steps: register as a merchant, upload and describe your content and publish it.

We also intend to provide developers with a useful dashboard and analytics to help drive their business and ultimately improve their offerings.I also wanted to share some early details to help with planning your efforts so that you can be ready as our partners release the first Android-powered handsets. Developers can expect the first handsets to be enabled with a beta version of Android Market. Some decisions are still being made, but at a minimum you can expect support for free (unpaid) applications.

Soon after launch an update will be provided that supports download of paid content and more features such as versioning, multiple device profile support, analytics, etc. Below are some screenshots that illustrate some of the security features. With the addition of a marketplace, the Android ecosystem is becoming even more robust. I am incredibly energized by the support and amazing content I’ve seen so far. We will share more details as they are available and I look forward to working with many of you in the coming months.

Why Android Might Deliver Where iPhone Won’t

While the industry puzzles over when Android-supported phones will hit shelves, it is unclear what impact, if any, it will have against growing iPhone adoption.Google-led Android doesn’t quite get the hype that Apple’s iPhone does, but there are plenty of reasons to get excited for it. For one, Android’s OS looks to offer a lot more than iPhone can with its latest release.

Here are five reasons to buy your loved one an Android-operated phone rather than an iPhone:

1. It promises to run on most modern smart phones – More cell networks will support Android than iPhone does — the iPhone is bound to just AT&T. Mobile providers NTT DoCoMo, Sprint Nextel, T-Mobile and more have committed to the project. Also, more handsets will operate on it. You might even get more life out of your old phone if it supports it. Handset manufactures HTC, LG, Motorola and Samsung have already signed on.

2. It’s open-source software – Any programmer can whip up some code to match popular features from any other phone. Under the Apache license, any programmer can take the code and port their own version of the OS.

3. It has support for Google products out of the box – The latest Android demonstration displayed the phone’s compass prominently in Google Maps. You can bet Google will have the latest and greatest features of their software running on Android before it hits other operators.

4. Third-party developers have more access – iPhone prohibits people from using its internet capabilities for things like VoIP or an alternative browser. Android’s API allows you to create an application for anything, even the dialing software. The evidence is in the 50 applications already developed for the Android Developer Challenge last May.5. Android allows for ‘unlocked’ phones – Most handsets in America, including the iPhone, are locked by software to a cell phone provider’s network. While there are various ways to jailbreak, it’s not easy and might break your terms of service. The availability of downloading and installing your own unlocked OS might just change the game in respect to shopping for mobile phone providers and signing contracts. If this method gets more popular, it is conceivable phone networks may drop the contracts in lieu of (better) European pre-pay pricing.

Apple proved when they launched the OS X powered iPhones, it isn’t just hardware that drives the killer mobile devices that change the industry. From what we can gather from Android, Google gets it too.

Android’s Got Game – Dodgeballs

Check out the vid below of the first game developed for Android that I’ve seen so far. You can also download the source code HERE.

Android Application

Artificial Life, a mobile entertainment and game company announced that they will be making Games and Applications for Android. The company looks pretty interesting so hopefully some cool applications will come out of this.

You can check their site out here:
artificial-life.com

Android Demo on Jade Z228

Dalvik VM (Virtual Machine)

The development process is a standard one for Java developers: Java code is compiled into .JAR and .CLASS files. Google built a custom virtual machine to run these programs; it is called DALVIK (after one engineer’s favorite location in Iceland.) The DALVIK VM is designed especially for Android to run on embedded systems and work well in low power situations; it’s also tuned to the CPU attributes. The DALVIK VM creates a special file format (.DEX) that is created through build time post processing. The DEX files can be downloaded onto the mobile handsets and run.

Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language compiler that have been transformed into the .dex format by the included “dx” tool.

The Dalvik VM relies on the Linux kernel for underlying functionality such as threading and low-level memory management.

Source: Open Handset Alliance, OnLamp

$10 Million On The Table For Android Apps

Understanding that developers need to be bribed to create applications for a new mobile platform, Google has put up $10m in prizes for the best Android apps.

The Android Developer Challenge comes in two parts: the first runs until March 2008 and awards $25K apiece to the best 50 applications. The second leg kicks off only when some Android handsets available – which should be some time in the second half of 2008. This will see ten winners walking away with $257,000 with ten runners-up getting $100,000.

Putting up prizes to drive mobile development is nothing new, and while the Android Developer Challenge might offer more money, it comes without the promise of marketing and licensing assistance that normally accompanies such promotions (though the value of that varies widely).

Android is, in theory, the child of the newly-formed Open Handset Alliance, but Google is hosting the SDK (software developer’s kit) and Google is putting up the money.

The competition comes as the Android SDK is also launched, so developers can download and start coding (using an emulated device) immediately.

Source: TheRegister