Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor shwetadseema's Avatar
    Join Date
    Jan 2011
    Posts
    103
    hello,

    I want to use google api in my j2me project where i can find the location i.e latitude and longitude position of particular mobile.


    I had find this below link from google which show how to find location but i can;t able to import the
    1)http://www.jappit.com/blog/midmaps-g...va-me-library/
    import com.jappit.midmaps.googlemaps.GoogleMaps;
    import com.jappit.midmaps.googlemaps.GoogleMapsCoordinates;
    import com.jappit.midmaps.googlemaps.GoogleStaticMapHandler;
    import com.jappit.midmaps.googlemaps.GoogleStaticMap;
    The above for statement and which is very important.I am using netbeans 6.8.I think to use this i have to add some zip or zar file in my library.But i can't able ot find the zip/zar file for it.

    I had also gone through the nokia forum
    2) http://wiki.forum.nokia.com/index.ph...oogle_maps.jpg

    But here again the question is
    how i add this code to my midlet.?



    Please help me.it is very urgent.
    If anyone had done this before send me the sample code how to achieve this.

    Thanks in advance

  2. #2
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    is it not simply this one http://www.jappit.com/j2me/midmaps/d...Maps-0.1.0.jar ? this link is at the bottom of the jappit page

  3. #3
    Regular Contributor shwetadseema's Avatar
    Join Date
    Jan 2011
    Posts
    103
    Thanks for the reply .i had added this in my resource but it is showing error.Can u please help me.

    Thanks

  4. #4
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    i could if you told me what the error was.

  5. #5
    Regular Contributor shwetadseema's Avatar
    Join Date
    Jan 2011
    Posts
    103
    Thanks for the reply.I had added the MidMaps-0.1.0.jar file in my resource i.e at my lib in netbean ide.
    Just to confirm what i had done i true or not.I am sowing below what step i had foolowed to add the jr file is:-
    1)right click on resurces
    2)select add zip/jar file
    3)browse to my MidMaps-0.1.0.jar file.
    Then the path was shown in red and after i build the project the error it shows is:-
    Error preverifying class com.jappit.midmaps.googlemaps.a
    java/lang/VerifyError:
    E:\shweta\Netbean project\Login\nbproject\build-impl.xml:461: Preverification failed with error code 1.
    BUILD FAILED (total time: 1 second)


    I had try to do this 3-4 time.Even i try by add zip file of midmap.zip.But then also it is showing error.
    Please help me if you can get what ,where and why this error comes.

    Thank in advance

  6. #6
    Registered User sajidshaikhi's Avatar
    Join Date
    Nov 2010
    Location
    bangalore
    Posts
    21
    Hey Hi, Create new Library Name it MidMap & in that Library add MidMaps-0.1.0.jar then try to recompile.
    Thanks

Similar Threads

  1. google map in j2me
    By shwetadseema in forum Mobile Java General
    Replies: 5
    Last Post: 2012-02-02, 09:01
  2. Route in Google Static MAP API
    By eling0167 in forum Geolocation and Navigation
    Replies: 6
    Last Post: 2011-11-17, 08:35
  3. How to use Google Map API in J2me
    By prajapati.ajay in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2010-09-01, 17:37
  4. Replies: 1
    Last Post: 2010-03-04, 07:41
  5. Static Google Map in J2me
    By ajay.prajapati in forum Mobile Java Networking & Messaging & Security
    Replies: 9
    Last Post: 2009-04-09, 02:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved