• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

About LBS location with j2me  RSS feed

 
Greenhorn
Posts: 3
  • 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
 
Ranch Hand
Posts: 231
  • 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/
 
Greenhorn
Posts: 1
  • 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.
 
Greenhorn
Posts: 16
  • 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
 
Greenhorn
Posts: 4
  • 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
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This tutorial covers the issue
LBS using J2ME
 
Bartender
Posts: 19668
92
Android Eclipse IDE Linux
  • 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
Boost this thread!