Nokia Chat + Robot + Plazes

Peter Rukavina
You can now grab the source code and run your own version if you want to try it out!

Ever since my experiments with Nokia Chat and XMPP I’ve had the picture in my mind of an XMPP-driven robot that would accept geographic locations from Nokia Chat and respond with a list of nearby Plazes. This, after all, is the promise of the “location-based future,” is it not?

Tonight I managed to hack something together in PHP, running on my MacBook. You can try it out if you like: you’ll need Nokia Chat running on a GPS-enabled device. Here’s what you need to do.

First, start up Nokia Chat and select Options \| Add Friend:

Nokia Chat + Plazes: Add a Friend - Share on Ovi

Add user reinvented@ovi.com as your new friend:

Nokia Chat + Plazes: Adding reinvented@ovi.com as frend - Share on Ovi

If everything goes according to plan — my robot hasn’t imploded and is still running — you should automatically receive back a welcome message:

Nokia Chat + Plazes: reinvented@ovi.com says hello - Share on Ovi

Next, select Options \| Send \| My location (this will only appear if your GPS receiver is running, and your device knows its location already):

Nokia Chat + Plazes: send my location - Share on Ovi

You’ll receive back an acknowledgement with instructions to send a keyword to look up Plazes:

Nokia Chat + Plazes: acknowledges my location, asks for more - Share on Ovi

Enter a keyword — in this example I entered bar, but you can enter a Plazes category, or, indeed, anything that you can normally enter in a Plazes.com search. After a brief delay you should receive back a list of the three Plazes nearest your current location that match your search:

Nokia Chat + Plazes: get nearby Plazes - Share on Ovi

If you move up and click on the Open link under any of the Plazes, and you have Nokia Maps installed, the location will appear on a map:

Nokia Chat + Plazes: - Share on Ovi

At this point you can add it as a new Landmark, or you can click Exit to go back to Nokia Chat and continue your exploring.

This is a two-hours-old alpha robot, so it’s likely prone to breakage or other weirdness; please bear with me.

This isn’t an official Plazes or Nokia project; it’s just me doing some weekend hacking.

Comments

Submitted by oliver on

Permalink

Patch in Yankee for the weather and the Solar Racer for the wheels and you’ll have a robot that delivers take out. Seasonally at least.

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, listen to audio I’ve posted, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). 

You can subscribe to an RSS feed of posts, an RSS feed of comments, or a podcast RSS feed that just contains audio posts. You can also receive a daily digests of posts by email.

Search