File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About LBS location with j2me

 
kom piainen
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Robert Smitheson
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This tutorial covers the issue
LBS using J2ME
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17622
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic