Location information has become fairly easy to access nowadays, even on mobile devices. The widespread availability of GPS chipsets such as the SiRF chipsets, which are accurate to within a few meters, as well as the significantly lower costs of these products, have contributed to the accessibility. The Location API for J2ME (JSR 179) even makes it very easy for developers to integrate location information into mobile applications.
This article illustrates how to combine JSR 179 and Scalable Vector Graphics (SVG) to provide navigation for a GPS-enabled mobile device. The application will employ the Scalable 2D Vector Graphics API for J2ME (JSR 226) and a MIDlet. As an example, the article provides and refers to a sample NetBeans project for a college "campus navigation" application.
Author's Note: The content of the article is the view of the author and not that of Wipro Technologies.
Determining the Device LocationYou can determine the location of a mobile device in several ways. Mobile-location methods can be based either on a network or a mobile device. In the network-based location method, you have the following options:
Post a comment
Email Article
Print Article
Share Articles
Digg
del.icio.us
Slashdot
DZone
Reddit
StumbleUpon
Facebook
FriendFeed
Furl
Newsvine
Google
LinkedIn
MySpace
Technorati
Twitter
Windows Live
YahooBuzz
initArticleMenu(document.getElementById("toolBoxShareMenu"));
The Cell-ID method. This method identifies the location of the handset from the Base Transceiver Station (BTS) that the handset is communicating with and the location of that BTS. Its precision is determined by the size of the cell, and it can be quite inaccurate.
Enhanced-Observed Time Difference (E-OTD)/Uplink Time Difference of Arrival (U-TDOA)/Observed Time Difference of Arrival (OTDOA) methods. These methods use monitored time differences to locate the mobile device. Their precision depends on the precision of the mobile network's system time.
In mobile-based location methods, you have GPS (Global Positioning System). GPS is potentially the most accurate method, but it has a couple of drawbacks. First, it consumes a lot of battery power while in use. Second, its performance suffers in canyon environments such as cities, where satellite visibility is intermittent, tall buildings block the GPS signals, and satellite signals are too limited to estimate the position of the user.
The following are the two types of mobile-based location methods for GPS:
Assisted Global Positioning Systems (A-GPS). For a mobile device equipped with an A-GPS receiver, the network uses the cell that the mobile device communicates with to locate the GPS satellite. It then sends this location information to the mobile device, which uses it to narrow the satellite searching scope and shorten the searching time.
Autonomous GPS. For a mobile device with a full-function GPS receiver, the mobile device obtains the location information itself. It may, however, take some time to get an initial fix on thevisible satellites.
This article illustrates how to combine JSR 179 and Scalable Vector Graphics (SVG) to provide navigation for a GPS-enabled mobile device. The application will employ the Scalable 2D Vector Graphics API for J2ME (JSR 226) and a MIDlet. As an example, the article provides and refers to a sample NetBeans project for a college "campus navigation" application.
Author's Note: The content of the article is the view of the author and not that of Wipro Technologies.
Determining the Device LocationYou can determine the location of a mobile device in several ways. Mobile-location methods can be based either on a network or a mobile device. In the network-based location method, you have the following options:
Post a comment
Email Article
Print Article
Share Articles
Digg
del.icio.us
Slashdot
DZone
StumbleUpon
FriendFeed
Furl
Newsvine
MySpace
Technorati
Windows Live
YahooBuzz
initArticleMenu(document.getElementById("toolBoxShareMenu"));
The Cell-ID method. This method identifies the location of the handset from the Base Transceiver Station (BTS) that the handset is communicating with and the location of that BTS. Its precision is determined by the size of the cell, and it can be quite inaccurate.
Enhanced-Observed Time Difference (E-OTD)/Uplink Time Difference of Arrival (U-TDOA)/Observed Time Difference of Arrival (OTDOA) methods. These methods use monitored time differences to locate the mobile device. Their precision depends on the precision of the mobile network's system time.
In mobile-based location methods, you have GPS (Global Positioning System). GPS is potentially the most accurate method, but it has a couple of drawbacks. First, it consumes a lot of battery power while in use. Second, its performance suffers in canyon environments such as cities, where satellite visibility is intermittent, tall buildings block the GPS signals, and satellite signals are too limited to estimate the position of the user.
The following are the two types of mobile-based location methods for GPS:
Assisted Global Positioning Systems (A-GPS). For a mobile device equipped with an A-GPS receiver, the network uses the cell that the mobile device communicates with to locate the GPS satellite. It then sends this location information to the mobile device, which uses it to narrow the satellite searching scope and shorten the searching time.
Autonomous GPS. For a mobile device with a full-function GPS receiver, the mobile device obtains the location information itself. It may, however, take some time to get an initial fix on thevisible satellites.
No comments:
Post a Comment