[Logo]
Forums Register Login
About LBS location with j2me
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
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/
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.
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
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
 
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.
 
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
This tutorial covers the issue
LBS using J2ME
"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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 21, 2017 22:55:34.