A couple years ago I wrote a fun program for my BlackJack II phone. I was really interested in the phones built-in GPS and wanted to play around with it by making a program that would intercept received SMS text messages that contained a special keyword, turn on its GPS and respond back with an SMS text containing its coordinates.
Two and a half weeks later I hacked together something that works. The program runs completely in the background on the phone and doesn’t display or inbox the received SMS text messages containing the key. In order to use the GPS hardware on the phone I did have to install MoDaCo’s GPS Hack.
An example situation would be I would send the following SMS message from a different phone to my phone:
1234 gps
My program would intercept that message since it contained the key, read the keyword “gps”, attempt to retrieve its location and send back to the original sender the message:
http://maps.google.com/maps?q=32.856064,-96.964706 Alt126.00 Speed33.3 Heading85.40 H-Quality2.7 V-Quality1.4 Satel6
It shows its speed, direction, altitude, quality and satellite count of the GPS coordinate read.
To enable/disable and change the special key (In this case “1234″) the user runs the SMSIntercepterSettings exe which brings up the screen:
I also added a few extra features to the program:
- alert – Plays audio file and displays a “lost phone” message on the phone
- status – Sends back SMS with current battery and signal reception info
- callmeback – Calls back the senders phone number
- restart – Restarts Phone
Check out the code on my GitHub (Still needs some cleanup) http://github.com/kevinejohn/BlackJack2-Phone-Finder
