Main | There's no one box solution »

GMailChecker midlet

Posted by Martin on Oct 19, 2004 in GMailChecker

Since moving to GMail one of my frustrations has been my inability to check my mail from my phone. I've seen articles about setting up POP3 access, but that was not what I wanted. When I saw that the latest new features added an Atom feed then I saw an opportunity to make a small step towards my goal. So the I set about writing a J2ME Midlet that took this feed and displayed the same information as the GMail Notifier does.

With a little searching around I found MobileAtom which turned out to be a great starting point. With some modification and some trimming of the code I arrived at GMailChecker v0.9. Unfortunately the GMail feed uses HTTPS so I have ended up using MIDP2.0 limiting the number of handsets that will run it.

While GMailChecker runs happily in the emulator, real phones are a different experience. So far I have tried and succeeded with the Nokia 7610 & 6600. Both of these sometimes report an IO Error, retrying the request then works. However, on the P900 this error always occurs and retrying then causes the midlet to crash :-(

GMail currently uses an Equifax certificate that is not present on most phones. You will therefore get asked whether you want to connect to this untrusted site.

Please let me know your experiences with other phones.

For the next release I will continue to tidy up the UI and hopefully get to the bottom of the IO Error.

GMailChecker v0.9 Jad
GMailChecker v0.9 Jar

It can also be downloaded via Jad helper

TrackBack

Listed below are links to weblogs that reference GMailChecker midlet:

» GMail Checker from Aimless Words
GMailChecker is a java midlet that can be installed on your phone and used to check your new messages in your GMail account. It requires the use of the GMail-provided Atom feed. Using this feed, it will present the new email in your Inbox. It has only ... [Read More]

» GMailChecker MIDlet from franklinmint.fm
Ocasta: "I set about writing a J2ME Midlet that took this feed and displayed the same information as the GMail... [Read More]

Comments

Hi Martin,

Have just installed your util on my 7610, but when try to check (after giving login details and connecting to my usual GPRS server, O2) I just get a "cheking for new mail..." message for a couple of minutes, then a timeout message (error 30).

Any ideas?

I have successfully tried GMailChecker with Orange and T-Mobile on UK networks, but have not tried O2. If the GPRS APN is a full internet one then I am not sure why it would time out. I can only suggest retrying.

Unfortunately I have not found anyway to control the timeout period yet.

v0.9 download & install doesn't work on Sanyo 4900 (which does support MIDP2.0 quite well, though somewhat slowly) via SprintPCS. Gives an "attribute mismatched" error & refuses to continue download.

I need to revist the jad file, it seems to fail on some phones.

Can you make it work for Nextel?

Please, make a MIDP-1.0 release for other phones like Motorola A830/A835: I could test it for you.

Unfortunately MIDP-1 does not support HTTPS

It does NOT work with the 6620. General System error: -1.

System error -1 maybe just a timeout. Did you try a few times or just once?

I'd be suprised if it dodn't work at all since the 6620 is supposed to be very similar to the 6600.

You might be interested in knowing that Gmail is now supported by mail2web.com - try http://mail2web.com/wap from your phone. One thing I find a bit annoying though is that it displays oldest messages first, instead of most recent first.

Tried your midlet v0.9 on a motorola e398. It dosent crash howver dosent work either. It shows checking for emalils message and then says Connection Problem null in 5 - 10 seconds. any chance you can fix that ?

I have a Motorola Razr V3 on CellularOne GSM... and I keep getting an HTTP 301 error. I think it's a problem with the web service - but I'm not sure.

Google changed the RSS URL and I haven't got round to testing and uploading a new version of the Jar file.

I have a motorola E398 and it shows a HTTP 301 error when using GPRS
On using WAP it shows a "null problem"

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)