Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes About LBS location with j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "About LBS location with j2me" Watch "About LBS location with j2me" New topic
Author

About LBS location with j2me

kom piainen
Greenhorn

Joined: Jan 13, 2006
Posts: 3
Hello everyone !
I have tried to make a program that fetches the mobiledevices current position with Location API, but as you guess I haven't succeeded in that.

So I'm asking that has any one found any working example source where the Location API's positionig is working ?

Regards,
Kom piainen
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
I never used Location API before but maybe this link may help you ... I wonder
if you read it before ... still it doesn't contain a complete code sample ...

http://developers.sun.com/techtopics/mobility/apis/articles/location/


Eduardo Marques
Get ready for your SCMAD certification at J2MECertificate.com - See what all the buzz is about ...
Robert Smitheson
Greenhorn

Joined: Jun 06, 2006
Posts: 1
I've had success getting the emulator to work with the following code:


I am having problems now however getting this code to run on an actual phone. I am trying to get this code to run as a vAppli app on the Vodafone 903T handset, but I am getting the following exception:

java.lang.SecurityException: Location APIs can be accessed only if Security Domain is Operator Domain.

Is there anything I can do to change the Security Domain? Is there any way I can ask the user for permission to allow the app to access the API?

Any help would be appreciated. Thanks.
Tomas Anderson
Greenhorn

Joined: Feb 26, 2006
Posts: 16
How were you able to get the emulator to work with the location api? I have tried pointing the application classpath at lapi.jar without success.

Regards,

Tomas
senthil
Greenhorn

Joined: Aug 31, 2006
Posts: 4
hi ,
Iam searching for vappli emulator in English version. for developing j2me application for vodafone.
Please help me , i searched in google iam getting only japaneese version.
send me the link where to download the vappli in English version.
mail me @
senthilkumar05@rediffmail.com
Thanks in Advance
senthil
Greenhorn

Joined: Aug 31, 2006
Posts: 4
Originally posted by Robert Smitheson:
I've had success getting the emulator to work with the following code:


I am having problems now however getting this code to run on an actual phone. I am trying to get this code to run as a vAppli app on the Vodafone 903T handset, but I am getting the following exception:

java.lang.SecurityException: Location APIs can be accessed only if Security Domain is Operator Domain.

Is there anything I can do to change the Security Domain? Is there any way I can ask the user for permission to allow the app to access the API?

Any help would be appreciated. Thanks.
senthil
Greenhorn

Joined: Aug 31, 2006
Posts: 4
hi ,
Iam searching for vappli emulator in English version. for developing j2me application for vodafone.
Please help me , i searched in google iam getting only japaneese version.
send me the link where to download the vappli in English version.
mail me @
senthilkumar05@rediffmail.com
Thanks in Advance
k b
Greenhorn

Joined: Jul 22, 2008
Posts: 1
This tutorial covers the issue
LBS using J2ME


If you are looking for a way to make money online, check out this FREE<br />ebook, <a href="http://tinyurl.com/supertip" target="_blank" rel="nofollow">http://tinyurl.com/supertip</a><br />you won't even have to give your email id.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

"K b",

Welcome to the JavaRanch! We don't have many rules here, but one that we do insist on is that you use your real name. If you're confused about this, we have some guidelines at http://www.javaranch.com/name.jsp .

We look forward to having you, although I'm afraid since you answered a question asked in 2006, the person who originally wanted to know is probably working somewhere else on something else by now.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: About LBS location with j2me
 
Similar Threads
Is there a way to force Location Updates Via cell Tower?
J2EE Opportunity!! REQ ID# JW5207 - Portland, Oregon
Graph
java/J2ee developer
How do I specify a folder?