Talk:Determining Current Location via Cell ID
NikhilVS - How to import locationUtil classHow can I import com.nokia.mid.location.LocationUtil class?
NikhilVS 14:22, 3 October 2012 (EEST)
Hamishwillee - @NikhilVS - what do you mean
What do you mean? Import as shown in the example. If you download the zip and try it out the code above in the emulator of the Nokia Java SDK v2.0 IDE it "just works".
hamishwillee 06:54, 4 October 2012 (EEST)
Susmitha.firstname.lastname@example.org - how to download the apihow to download the api
email@example.com 07:06, 3 November 2012 (EET)
Hamishwillee - @Susmitha.firstname.lastname@example.org - what do you mean?The API is available for use on the SDK and on devices. No separate download required. Test using the zip up in the ArticleMetaData.
hamishwillee 07:47, 6 November 2012 (EET)
DownJuu - handling security exceptions when using location servicesI have been looking at the WeatherApp example in the Nokia projects which seems to be using a similar method for retrieving the user location. How does one handle security exceptions in such a case because I have tried to run the WeatherApp example and when I deny the app to use location services, the phone hangs and seems to restart. I am using a Nokia c2-03
DownJuu 17:16, 25 November 2012 (EET)
Hamishwillee - Ask on the java forums?
I appreciate that this is "somewhat" related to this topic. However you're probably better off asking the question on the java discussion boards, or even on the WeatherApp discussion boards to get more "eyes" on the problem.
hamishwillee 03:09, 26 November 2012 (EET)
Centrepoint - Required Midlet Permissions
We developed a Java app that uses LocationUtil to get the location via Cell-ID. The unsigned app achieves this correctly on real S40 devices but the (Nokia) signed app doesn't.
We presume that we didn't request the necessary permissions in the JAD file but we can't readilly identify which ones might be required. As it isn't possible to install our own self-signed development certificate in the root store of a real S40 device we can't even determine this by trial and error.
The app already lists the 'javax.microedition.location.Location' permission as being required but. we suspect, additional permission(s) are necessary to enable the framework to send and receive messages over the network.
Please, does anyone have a definitive answer?
Centrepoint 14:02, 4 January 2013 (EET)