File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes How to capture the location? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to capture the location?" Watch "How to capture the location?" New topic

How to capture the location?

ishan perera

Joined: Nov 23, 2007
Posts: 2
As a part of my final year project I need to retrieve sms messages to a web server with the relevant location of the sender. Is there a way that I can
handle this. How can I capture the location? How can append the location
to the sms automatically? which will allow me to separate the message and the location from the server side.....please advise me ....


Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
Sun Mobile Device Technology - Introduction to Mobility Java Technology links to Location API for J2ME which states:


This specification defines a J2ME Optional Package that enables
mobile location-based applications for resource limited devices
(referred to as 'terminals' in the following). The API is
designed to be a compact and generic API that produces
information about the present geographic location of the
terminal to Java applications.This API covers obtaining
information about the present geographic location and
orientation of the terminal and accessing a database of known
landmarks stored in the terminal.

The Location API for J2ME is designed as an Optional Package
that can be used with many J2ME Profiles. The minimum platform
required by this API is the J2ME Connected, Limited Device
Configuration (CLDC) v1.1. The API can also be used with the
J2ME Connected Device Configuration (CDC). (Note that due to
using the floating point datatypes in this API, it can't be used
with CLDC v1.0.)

What that means is yes.

Need some help translating this ?

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
ishan perera

Joined: Nov 23, 2007
Posts: 2
Hi....Nicholas Jordan...thanks for the support and the guidance given by you...I will go through the specification that you have stated and get back
to you soon.....

thanks a lot for the concern!!!
I agree. Here's the link:
subject: How to capture the location?
It's not a secret anymore!