Month: June 2008

A short guide on getting started with location in Python S60

It’s not so bad. It’s still confusing, but here’s the quick guide:

1. Download the latest Python Script Shell from http://sourceforge.net/project/showfiles.php?group_id=154155&package_id=171153. For me, this was PythonScriptShell_1_4_3_3rdEd_unsigned_testrange.sis
2. Go to Symbian Signed
3. Click the link under Open Signed. It should be: https://www.symbiansigned.com/app/page/public/openSignedOnline.do
4. Get the IMEI off your phone by typing *#06#.
5. Enter the details and upload the PythonScriptShell that you downloaded.
6. Follow the email instructions to confirm the signing process and then download a signed version of the PythonScriptShell.
7. If you’ve already installed the PythonScriptShell on your phone, then remove it. Otherwise, Bluetooth the file over to your N95 / N82 / Nokia device and install it.
8. Run the Bluetooth console back to your machine, type in something like this:

>> import positioning
>>> positioning.modules()
[{'available': 0, 'id': 270526873, 'name': u'Bluetooth GPS'}, {'available': 1, 'id': 270526860, 'name': u'Assisted GPS'}, {'available': 1, 'id': 270526858, 'name': u'Integrated GPS'}, {'available': 0, 'id': 270559509, 'name': u'Network based'}]
Yay! Success! 

This means you’re now ready to leave the temple, Grasshopper. Go, go and unleash the next brilliant location-aware social ice cream finder software on the world.