JaseemAmeer
JaseemAmeer

Reputation: 107

Android Location based app

I'm creating an app based on locations, I need the geographic co-ordinates as well as time zones of cities as well as remote areas(and co-ordinates detected by gps). Should I have the db for that and access through webservice from my server. Or is there any in-built feature. How do i do this?

Upvotes: 1

Views: 339

Answers (1)

Shadow
Shadow

Reputation: 6287

You can access the users GPS location with a clas which is already provided with the android sdk. Here have a look at the location class.

After this if you need to store the locations you can use the SQLite type DB provided by Android.

In order to get geolocation based on an address you can use Google Maps API. Check this. Also check how to integrate maps with android here.

Upvotes: 1

Related Questions