• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps App that gets GPS coordinates and Phone language(Locale)

directora

Lurker
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.
 
Welcome to the Forums, directora!

I moved your thread into the Application Development forum so hopefully you can get some help!
 
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
 
Back
Top Bottom