Skip to content

MapActivity #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eurosecom opened this issue Nov 29, 2016 · 1 comment
Open

MapActivity #4

eurosecom opened this issue Nov 29, 2016 · 1 comment

Comments

@eurosecom
Copy link
Owner

eurosecom commented Nov 29, 2016

  • permit Google Maps API

In AndroidManifest.xml, add the following element as a child of the application element, by inserting it just before the closing application tag:
meta-data
android:name="com.google.android.geo.API_KEY"
android:value="YOUR_API_KEY"

eurosecom added a commit that referenced this issue Nov 29, 2016
#4
- MapActivity demo
@eurosecom
Copy link
Owner Author

eurosecom commented Jul 1, 2017

  • api key for debug and release app is the same

  • to generate map api key
    https://developers.google.com/maps/documentation/android-api/signup

  • api_key for DEBUG app
    c:\ProjektyAndroidstudio\Attendance\app\src\debug\res\values\google_maps_api.xml

  • api_key for RELEASE signed app
    c:\ProjektyAndroidstudio\Attendance\app\src\release\res\values\google_maps_api.xml

  • in app.gradle

android {

..
..

buildTypes {
debug {
resValue "string", "google_maps_api_key", "your api key"
}
release {
resValue "string", "google_maps_api_key", "your api key"
}
}

eurosecom added a commit that referenced this issue Jul 1, 2017
#4
- set api key for debug and release signed app
eurosecom added a commit that referenced this issue Sep 4, 2017
#4
- inject DaeaComponent to call DgAllEmpsAbsMvvmViewModel
eurosecom added a commit that referenced this issue Sep 8, 2017
#4
- location user at work for non type 99 user, only his location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant