Tuesday 24 February 2009

Driver application on a mobile phone

You may recall me recently extolling the virtues of replacing expensive industrial PDA/Pocket PC devices with a dual-mode mobile phone equivalent?
See The Lure of Dual-mode Mobile Phones - 15 Jan 2009.


Always one to take the bull by the horns and prove (or disprove) a theory early on, I got together with the Tesco.com developers who created the 'REACH' application for drivers to see if we could make this application work on a phone.

REACH is an application that runs on an industrialized Pocket PC that drivers use to help them deliver to customers - basically an electronic version of all the paperwork that the driver had to carry previously. The on-screen display shows customers in their order of delivery, and products for each customers. The driver can use REACH to inform the customer of any substitutions, and scan a product if the customer rejects it so that when the device gets back to the store, a refund can be enacted straight away. REACH is short for Retail Excellence At Customers' Homes. Yes I thought that one up, being responsible for the original drivers' handheld-device project (fear not, I am kept far from the marketing department!).

If you shop with Tesco.com grocery, you will have held a REACH device in order to sign for your delivery on its screen.

The developers and I have given ourselves a mission: to recreate as much of the functionality of REACH on a Blackberry mobile phone as we can. This involves learning the Java programming language (which, apart from some anomalies, is very similar to the Microsoft C# language we use for development everywhere in Tesco.com).

Research In Motion (who make the Blackberry) have kindly provided a complete emulator of a Blackberry phone which runs as a Windows application. The emulator has nearly all the features of a real Blackberry (except being able to make calls!) and we're using the Eclipse interactive development environment to write and test the Java code.

The 'closeness' between C# and Java has meant that at times the developers have been able to lift out great chunks of REACH application source code and re-use them with minimal syntax adjustments. That in itself is a great outcome of building the prototype.

There are two other challenges - how do we re-create the customers signing for their deliveries? We're looking at getting the customer to sign on their own receipt and then using the phone to photograph the signature. As for scanning barcodes, a variation of the Tesco@Home webcam barcode-scanning algorithm is likely to star again.

But the biggest fun is yet to come: our aim in March is to convert our CEO Laura Wade-Gery and the rest of the Tesco.com leadership team into 'drivers' for a morning. We'll demonstrate what has been possible by getting them to take out their Blackberry phones, connect to the office Wifi network, download the Java application, each select a van-trip from our test server, then 'go delivering'.

I'll let you know what happens!

2 comments:

  1. Hi Nick

    Just discovered the news about the TescoAPI - I am really excited about the potential it offers. Can you point to anything that will help me to use it in my java stuff?

    Regards

    Brendanmcdonagh at hotmail.co.uk

    ReplyDelete
  2. huh, this is interesting, i'm a tesco.com driver and i've been asking why the phone/pda haven't been combined for several years now!
    i'm 'into computers' as i build systems and repair laptops when i'm not delivering shopping, although i don't really have a lot to do with programming, hence why it baffled me as to why we have bulky heavy reach devices (which battery life is often shorter than your run) and crappy mobile phones that had missing buttons (great fun trying to figure which button is which while dialling with a pen or whatever fits in the holes where the buttons should be).
    anyway great to hear that something is being done and at least if its a blackberry my wife can show me how to use it, she's on hers that much she must be an expert! lol
    keep up the good work :)

    ReplyDelete

As this blog grows in readership - and because it carries the Tesco brand - I have had to become more careful about the sort of comments that are acceptable. The good news is that I'm a champion of free speech so please be as praising or as critical as you wish! The only comments I DON'T allow through are:

1. Comments which criticise an individual other than myself, or are critical of an organisation other than Tesco. This is simply because they cannot defend themselves so is unfair and possibly libellous. Comments about some aspect of Tesco being better/worse than another equivalent organisation are allowed as long as you start by saying "in my personal opinion.." or "I think that...". ... followed by a "...because.." and some reasoned argument.

2. Comments which are totally unrelated to the context of the original article. If I have written about a mobile app and you start complaining about the price of potatoes then your comment isn't going stay for long!

3. Advertising / web links / spam.

4. Insulting / obscene messages.


Ok, rules done - now it's your go: