Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor sandeepkumar03's Avatar
    Join Date
    Oct 2008
    Posts
    121
    Hi,

    We can get the current location of the user using GPS - This would depend upon the device if it supports Location API or not.

    If we don't want the current location instead ask user the location (which may be other than current location). Also in case GPS and location API not supported, we probably have following options.


    • Ask User in a text box - Is there any way to validate if the location is valid or not?
    • Have drop down for Country, State, City - This data would be huge, is there any API which would give these lists which we can use?

    Please guide, what could be right approach to do it?

    Thanks,
    Sandeep

  2. #2
    Super Contributor mayankkedia's Avatar
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    Quote Originally Posted by sandeepkumar03 View Post
    Hi,

    • Ask User in a text box - Is there any way to validate if the location is valid or not?


    You can possibly set up a connection with your own server where you have validated data, to match the user input with that and give them closest options in case you dont find the entered location/destination entered by the user

    • Have drop down for Country, State, City - This data would be huge, is there any API which would give these lists which we can use?
    To obtain the default information you can use the world server API assuming you are developing this for Symbian c++ as detailed here on the SDK

    http://library.forum.nokia.com/index...ide/index.html
    Cheers,
    Mayank

  3. #3
    Regular Contributor sandeepkumar03's Avatar
    Join Date
    Oct 2008
    Posts
    121
    Thanks Mayank,

    To obtain the default information you can use the world server API assuming you are developing this for Symbian c++ as detailed here on the SDK
    Is this not possible in J2ME?

    Thanks,
    Sandeep

  4. #4
    Super Contributor mayankkedia's Avatar
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    Quote Originally Posted by sandeepkumar03 View Post
    Thanks Mayank,



    Is this not possible in J2ME?

    Thanks,
    Sandeep
    Well unfortunately J2ME is not really my comfort zone :-( You can try asking in the Java Forum http://discussion.forum.nokia.com/fo...splay.php?f=16
    Cheers,
    Mayank

Similar Threads

  1. user interface ideas - options menu vs. main screen menus
    By hp3 in forum Symbian Web Runtime
    Replies: 0
    Last Post: 2008-06-12, 18:38
  2. N95 + Location API + V20 Firmware = no-go ?
    By Tiger79 in forum Mobile Java General
    Replies: 0
    Last Post: 2008-03-05, 12:13
  3. Replies: 0
    Last Post: 2006-03-04, 10:03
  4. a question about the user agent string
    By jackchang1@gmail.com in forum Mobile Java General
    Replies: 3
    Last Post: 2005-09-19, 12:06
  5. Questionnaire on Forum Nokia user motivations
    By Maaike Spoor in forum News, Announcements and Job Listings
    Replies: 0
    Last Post: 2004-08-10, 09:46

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