DFW J2ME Sig co-leader<br />Author: <a href="http://www.cafepress.com/sms_midp2" target="_blank" rel="nofollow">SMS for MIP2.0</a>
You probably can't do what you are trying to do. Most devices are not capable. Most carriers are not cooperative. I have gone through the pain Shawn Fitzgerald described to create a location tracking application for a Nextel Motorola i730. It works but there are all kinds of caveats.Originally posted by Yashar Kalantari:
I am completely new in wireless an I need to develop an application on a GPS enabled device in order to send the given location by SMS. first is j2me the right choice to do this is and if it is where should I start.
Originally posted by Luciano Graffi:
[QB]Hi,
I work on similar project, and reading the embedded GPS of an i730 (on a simulator) works fine. This simulator have something like a message console, where you can simulate an SMS in or out. Thats no true???
-- Jumpjack --
-- Jumpjack --
Originally posted by Shawn Fitzgerald:
To achieve your goal of transmitting GIS (location) information from a phone to a server (I'm assuming) J2ME is a reasonable if not a very good choice.
But it does depend on what context you are sending this information, if it is with the users permission then J2ME is a good fit. If you are trying to build a BigBrother device to spy on people then J2ME is not the right choice, as it was built with several goals, 1 of which is secure. And by security it was seen both in protecting the device, and the user.
Now you have another issue. Is SMS the right choice. The most popular GIS enabled devices with J2ME support for this data are the NexTel devices. However these devices do not currently support SMS (that is the API is in the WMA support, and these devices have WMA, but NexTel doesn't use SMS).
I know you are thinking I'm wrong, nextel states they have SMS. Well it's more of a proprietary alert protocol. Trust me it ain't there.
However you can send out HTTP/S, or sockets from the NexTel device provided you have a datapacket plan.
Now if you are not working with NexTel but ATT/Cingular, T-Mobile, or (heaven help you) Verizon, then you most likely have SMS, but most of these secure the location API. While Motorola/Nokia devices sometimes have location API's the service provider can shut you down by turning that API off.
If you are past those 2 hurdles, then you should be able to use the SMS examples (WMA demo) from the WirelessToolKit WTK from Sun, and the location API samples that most vendors have with their documentation.
If you are trying to send SMS from a server to a phone to trigger this information I would recommend reading my book "SMS for MIDP2.0" at Cafepress.com, because there is a lot of information and issues you will be running into that are not well documented. This book will guide you through those issues, and provide some useful code.
Let us know what devices and service providers you are using. I'm interested is how your project progresses.
Best wishes
-Shawn
SCJP 1.4, SCWCD
Java: The power, elegance, and simplicity of a hand grenade
Consider Paul's rocket mass heater. |