Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:Determining Current Location via Cell ID

From Wiki
Jump to: navigation, search


NikhilVS - How to import locationUtil class

How can I import 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) - how to download the api

how to download the api 07:06, 3 November 2012 (EET)

Hamishwillee - - 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 services

I 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?

Hi DownJuu

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?

Many thanks


Centrepoint 14:02, 4 January 2013 (EET)


Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.