jsr179

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

为君一笑 提交于 2019-12-23 20:02:53
问题 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 http://developers.sun.com/mobility/apis/articles/location/ doc In this doc they have given code only for mobile phones having GPS application installed. But what about the others which does not have GPS in them? How can they get the location? update I got a link which answers my question: http:/

How to show our own icon in BlackBerry Map?

我的未来我决定 提交于 2019-12-17 14:52:18
问题 I want to know how to use our own logo to show the particular place in BBMap? Can anyone knows how to do this ? 回答1: BlackBerry Map It's not possible in Blackberry Map to show custom icon for POI. Things you can include in Location on Blackberry Map: The latitude of the location * 100,000. South is negative. The longitude of the location * 100,000. West is negative. The label to be displayed beside the location. The description displayed when the BlackBerry smartphone user selects details.

How to show more than one location in Blackberry MapField?

混江龙づ霸主 提交于 2019-12-17 07:41:10
问题 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.. 回答1: Same way as How to show our own icon in BlackBerry Map?. Pass an array of Coordinates into custom MapField, define a bitmap for location point and paint it for each Coordinate in custom MapField paint() method. Remember to zoom in/out CustomMapField for best fit of all location

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

守給你的承諾、 提交于 2019-12-13 16:14:30
问题 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() method cannot be called from event thread.Can any one tell me how to solve this problem? 回答1: You simply create another thread and call getLocation() from that thread. See the documentation for java.lang.Thread in the API documentation. 来源: https:/

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

随声附和 提交于 2019-12-09 12:04:22
问题 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? 回答1: This is called Geocoding, and requires matching a place name up to a latitude and longitude. You can either code a known list of place name/lat-lons into your app, read them in at runtime and search through them when required, or you can use an online Geocoding

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

旧街凉风 提交于 2019-12-03 22:42:22
问题 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 current location. 回答1: Inside GPS mockup If you have access to your application code, you can always create a mockup implementation for LocationProvider so it will read location and speed data from file or RecordStore and return it as a Location,

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

雨燕双飞 提交于 2019-12-01 02:20:16
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 current location. Inside GPS mockup If you have access to your application code, you can always create a mockup implementation for LocationProvider so it will read location and speed data from file or RecordStore and return it as a Location , something like public class MockupLocationProvider extends LocationProvider { public MockupLocationProvider()

How to find the route between two places in BlackBerry?

人走茶凉 提交于 2019-11-29 11:42:15
How do I find the route information between two places in BlackBerry ? I'm using MapField to show the map in my application. Maksym Gontar As I understood, you need to get a path length between several locations. It's not possible in MapField, you can only set that route by yourself. Invoke BB Maps for route direction You can always use MapField in you application for simple functionality, like present locations, and use BlackBerry Maps application for enhanced stuff like select locations and route directions presentation for user. To invoke BB Maps for route direction use code: Invoke

How to find the route between two places in BlackBerry?

人盡茶涼 提交于 2019-11-28 05:30:16
问题 How do I find the route information between two places in BlackBerry? I'm using MapField to show the map in my application. 回答1: As I understood, you need to get a path length between several locations. It's not possible in MapField, you can only set that route by yourself. Invoke BB Maps for route direction You can always use MapField in you application for simple functionality, like present locations, and use BlackBerry Maps application for enhanced stuff like select locations and route

How to show our own icon in BlackBerry Map?

无人久伴 提交于 2019-11-27 16:13:52
I want to know how to use our own logo to show the particular place in BBMap? Can anyone knows how to do this ? Maksym Gontar BlackBerry Map It's not possible in Blackberry Map to show custom icon for POI. Things you can include in Location on Blackberry Map: The latitude of the location * 100,000. South is negative. The longitude of the location * 100,000. West is negative. The label to be displayed beside the location. The description displayed when the BlackBerry smartphone user selects details. Zoom level from 0 to MAX_ZOOM. Address City Province or state Country Postal code Phone Fax URL