Location Data - Tutorial and Code Sample

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

May 3, 2018 8:19:17 PM via Website

Hi everyone,

I'm a newbie with Android development, and I would like to know a good tutorial about Maps and Localization.

I've tried this one: "developers.google.com/maps/documentation/android-sdk/location" but the sample code I got from there (actually, from their API sample repository at "github.com/googlemaps/android-samples/blob/master/ApiDemos" ) didn't work, neither on my Motorola G4, nor on the Android Emulator (both Nougat version) - on both, the app compiles (no warnings), run, but no map appears. I wonder if it was coded correctly, since it didn't ask me for permissions to get my location when I ran it, and, since I'm a newbie, I would have a hard time trying to fix it (if it is actually wrong)...

Anyway, I'm looking for any tutorial (up-to-date, since I have the latest SDK, AndroidStudio and gradle installed) that contains a sample code that works. I also would like it to be in Java, since it is the language I'm most familiar with. Could you help me?

— modified on May 4, 2018 9:08:57 PM