Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    Question How to get coordinates of specefic location and get it's place name in Asha

    i am trying to get place of current position through CellId but i have some proplems .

    1- when i deploy application to my phone it gives me Error that " No class Def Found error java.lang.noclassDefFoundError com.nokia.mid.location.location.util " although that phone support cell Id retrival .

    2- when i try to send place through web service i got " java.io.ioException : 52 " , although the same code is working on other emulators but it dosn't work on Nokia Asha Emulator

    i was searching for solutions for these two proplems since two weeks but i didn't find good solution , so please help me if you can ( Thnx in advance )

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,183

    Re: How to get coordinates of specefic location and get it's place name in Asha

    For me it sounds that you have one question in the subject line, and different in the message, anyway, have you checked our wiki examples already: http://www.developer.nokia.com/Commu...PI_for_Java_ME

  3. #3
    Regular Contributor
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    289

    Re: How to get coordinates of specefic location and get it's place name in Asha

    Quote Originally Posted by Ahmed Sngab View Post
    i am trying to get place of current position through CellId but i have some proplems .
    1- when i deploy application to my phone it gives me Error that " No class Def Found error java.lang.noclassDefFoundError com.nokia.mid.location.location.util "
    It looks like you have mis-spelt the name/package of the LocationUtil class - try com.nokia.mid.location.LocationUtil

    Quote Originally Posted by Ahmed Sngab View Post
    2- when i try to send place through web service i got " java.io.ioException : 52
    As mentioned by symbianyucca, having received a Location Coordinate, you can easily apply it to the Reverse geocoding example in the wiki:
    http://www.developer.nokia.com/Commu...API_for_JavaME

    If you are getting an I/O Error then it may be to do with your code or the way you are configured to connect to the internet.
    The only suggestion I have would be to reduce the number of things which could be causing the issue to try and track it down e.g.
    • try the code in the wiki example directly as shown
    • try the JAR on a device to see if you are still getting the same error.

Similar Threads

  1. Nokia maps: save coordinates of a place
    By m2la in forum General Development Questions
    Replies: 1
    Last Post: 2012-11-19, 11:27
  2. How to convert coordinates to a map location
    By ashraf fawzy in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2012-01-09, 15:35
  3. how to fetch location coordinates from cell id??
    By poojs in forum Mobile Java General
    Replies: 2
    Last Post: 2010-03-12, 10:32
  4. Nokia 6300 problem with location coordinates
    By ninetailedrat in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-11-09, 17:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×