Questions tagged [jsr179]

JSR 179 - Java ME API that produces information about the device's present physical location to Java applications.

JSR 179 specifies an optional package that enables developers to write mobile location-based applications for resource-limited devices. The API works on the J2ME CLDC v1.1 and CDC configurations.

24 questions
6
votes
4 answers

How to get Latitude and Longitude for particular city or street without using google map?

How to get Latitude and Longitude for particular city or street or location without using google map? For example user entered city name is "Chennai" and i need to show only Latitude and Longitude for that city. How to do this?
bharath
  • 14,283
  • 16
  • 57
  • 95
6
votes
3 answers

Use Google Map in Blackberry application

Can anyone tell me how to use Google maps in blackberry application development instead of Blackberry map?
Kumar
  • 5,469
  • 20
  • 64
  • 87
4
votes
1 answer

How to show our own icon in BlackBerry Map?

I want to know how to use our own logo to show the particular place in BBMap? Can anyone knows how to do this ?
Kumar
  • 5,469
  • 20
  • 64
  • 87
4
votes
1 answer

How do programmatically turn off GPS on a Blackberry

Does anyone know how to programmatically turn off the Blackberry internal GPS receiver?
Dave
  • 267
  • 2
  • 4
  • 12
3
votes
1 answer

Can I fetch position of mobile device in j2me having no GPS service using information from cell tower

Can I get a location of mobile devices from j2me programming having no GPS unit installed? Can I obtain the location using cell tower info? I heard about triangulation method. And gone through…
Yatin
  • 2,969
  • 9
  • 34
  • 68
3
votes
1 answer

How to find the route between two places in BlackBerry?

How do I find the route information between two places in BlackBerry? I'm using MapField to show the map in my application.
Kumar
  • 5,469
  • 20
  • 64
  • 87
3
votes
2 answers

Blackberry - LocationProvider.getLocation() hangs on

I wrote a very simple application that asks the LocationProvider for a location and prints it to System.out. This works great in the simulator. However, when I run it on my blackberry device, the call to getLocation seems to hang indefinitely. I am…
tek3
  • 2,095
  • 2
  • 20
  • 50
2
votes
1 answer

Global Positioning System in j2me

Can I use GPS in J2me enabled phones? I am curious to know whether one can use GPS in J2ME enabled phone or can create an application based on GPS?
Yatin
  • 2,969
  • 9
  • 34
  • 68
2
votes
1 answer

Blackberry - getLocation() method cannot be called from event thread

I want to get the longitude and latitude of device. I used location api to get the longtitude and latitude the problem now I am facing is that I could not call the getLocation() method inside button click event. It throws an error as getLocation()…
Kumar
  • 5,469
  • 20
  • 64
  • 87
2
votes
2 answers

How to show more than one location in Blackberry MapField?

I can able to show one location using co ordinates or longtitude and latitude but i dont know how to show more than one location in the blackberry MapField.If is it possible pls share with me how to do this..
Kumar
  • 5,469
  • 20
  • 64
  • 87
2
votes
1 answer

LocationUpdate method getting called too frequently on Blackberry

I have a 3 GSM phones and a 3 verizon (CDMA) phones. I have a BB application in which the location listener is set to a 5 minute interval. For 2 of the verizon phones the application's location update method gets called frequently. For the rest,…
1
vote
0 answers

Midlet - JSR179 Getting "Location Request timed out" issue

When I'm sending message with location co-ordinates through my Nokia 5800. I'm getting "Location request timed out" message. I am working in one project to accomplish this task. How can I solve this issue?? Any solution for this problem??
1
vote
2 answers

NoClassDefFoundError in j2me

I have build a jar file and trying to use it in j2me application. I have included the jar in the build path and imported the required classes as well. But when I run my j2me application I am getting NoClassDefFound Error in the line where I am…
AndroGeek
  • 1,280
  • 3
  • 13
  • 25
1
vote
2 answers

Blackberry - change latitude and longitude on the device to test app

I want to test my app on the device. Is it possible to hard code the latitude and longitude values somewhere in the device settings so the app reads those instead of the current location? I want to test my app for different locations other than my…
lostInTransit
  • 70,519
  • 61
  • 198
  • 274
1
vote
1 answer

NullPointerException error on Implementing Location API on J2me

I am trying to implement jsr-179 APi into Nokia Symbian phone for periodic location update using setLocationListener through J2me. In emulator it is working fine. While I installed Midlet on the device nokia 5230, it is given NullPointerException…
Prem Singh Bist
  • 1,273
  • 5
  • 22
  • 37
1
2