1. Are you ready for the Galaxy S20? Here is everything we know so far!

App that gets GPS coordinates and Phone language(Locale)

Discussion in 'Android Development' started by directora, May 3, 2012.

  1. directora

    directora Lurker
    Thread Starter

    Hi everyone.

    I'm a new in android developing.

    I need help for one simple app.

    I need an app which get GPS coordinates of the device(if GPS is disabled - get last known location coordinates) and also get the language of the device(Locale).

    When I start the app, it will appear a button with link to website. Clicking that button will open the default browser and go to website(set by me). That website will use the GPS coordinates(Long/Lat) and language of the device to show information on that language and somethings near this coordinates.

    Can anyone help me with this?
    If anyone have some code or idea - please share it with me.

    Thanks to everyone!

    Greets,
    Jordan.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. RichSz

    RichSz Not Entitled

    Welcome to the Forums, directora!

    I moved your thread into the Application Development forum so hopefully you can get some help!
     
  3. Stigy

    Stigy Some say...

  4. rahules

    rahules Well-Known Member

    Check out
    Locale
    to know about getting the phone's locale.
    Locale.getDefault() and Locale.getDefault().getLanguage() would help you.

    Also look up on "WebView" for displaying a web page
     
  5. directora

    directora Lurker
    Thread Starter

    I made this app. Thanks of all of you for the tips.
     
Loading...
Similar Threads - App gets GPS
  1. black duc
    Replies:
    2
    Views:
    189
  2. App Update
    Replies:
    2
    Views:
    282
  3. corpID
    Replies:
    0
    Views:
    334
  4. christiaan89
    Replies:
    1
    Views:
    420
  5. Giouri Kilinkaridis
    Replies:
    0
    Views:
    450
  6. RVDowning
    Replies:
    12
    Views:
    1,290
  7. poseidon_05
    Replies:
    10
    Views:
    1,419
  8. dheymann
    Replies:
    4
    Views:
    1,558
  9. mariodacosta
    Replies:
    1
    Views:
    1,032
  10. Julie3322
    Replies:
    1
    Views:
    387

Share This Page

Loading...