GoogleMap-CurrentLocation
所属分类:GPS编程
开发工具:kotlin
文件大小:556KB
下载次数:0
上传日期:2018-01-29 10:53:08
上 传 者:
sh-1993
说明: Kotlin应用程序,用于使用GPS启用功能以编程方式授予地图权限,如果未启用,则显示cu...
(Kotlin application for giving maps permission programmatically with GPS enabled feature if not enabled which shows current location in google maps api.)
文件列表:
.idea (0, 2018-01-29)
.idea\gradle.xml (626, 2018-01-29)
.idea\misc.xml (2029, 2018-01-29)
.idea\modules.xml (385, 2018-01-29)
.idea\runConfigurations.xml (564, 2018-01-29)
.idea\vcs.xml (180, 2018-01-29)
app (0, 2018-01-29)
app\build.gradle (1152, 2018-01-29)
app\proguard-rules.pro (751, 2018-01-29)
app\src (0, 2018-01-29)
app\src\androidTest (0, 2018-01-29)
app\src\androidTest\java (0, 2018-01-29)
app\src\androidTest\java\com (0, 2018-01-29)
app\src\androidTest\java\com\codility (0, 2018-01-29)
app\src\androidTest\java\com\codility\currentlocation (0, 2018-01-29)
app\src\androidTest\java\com\codility\currentlocation\ExampleInstrumentedTest.kt (658, 2018-01-29)
app\src\debug (0, 2018-01-29)
app\src\debug\res (0, 2018-01-29)
app\src\debug\res\values (0, 2018-01-29)
app\src\debug\res\values\google_maps_api.xml (162, 2018-01-29)
app\src\main (0, 2018-01-29)
app\src\main\AndroidManifest.xml (1770, 2018-01-29)
app\src\main\java (0, 2018-01-29)
app\src\main\java\com (0, 2018-01-29)
app\src\main\java\com\codility (0, 2018-01-29)
app\src\main\java\com\codility\currentlocation (0, 2018-01-29)
app\src\main\java\com\codility\currentlocation\MapsActivity.kt (7510, 2018-01-29)
app\src\main\res (0, 2018-01-29)
app\src\main\res\drawable-v24 (0, 2018-01-29)
app\src\main\res\drawable-v24\ic_launcher_foreground.xml (1880, 2018-01-29)
app\src\main\res\drawable (0, 2018-01-29)
app\src\main\res\drawable\ic_launcher_background.xml (5606, 2018-01-29)
app\src\main\res\layout (0, 2018-01-29)
app\src\main\res\layout\activity_maps.xml (414, 2018-01-29)
app\src\main\res\mipmap-anydpi-v26 (0, 2018-01-29)
app\src\main\res\mipmap-anydpi-v26\ic_launcher.xml (272, 2018-01-29)
... ...
# GoogleMap-CurrentLocation
Sample for giving maps permission programmatically with GPS enabled feature if not enabled which shows current location in google maps api.
# Add Dependencies
dependencies {
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.android.gms:play-services-location:11.8.0'
}
View 1 | View 2 | View 3
:--------------------------------------------------------:|:------------------------------------:|:------------------------------------:
![](https://github.com/AndroidCodility/GoogleMap-CurrentLocation/blob/master/design/p.png?raw=true) | ![](https://github.com/AndroidCodility/GoogleMap-CurrentLocation/blob/master/design/lp.png?raw=true) | ![](https://github.com/AndroidCodility/GoogleMap-CurrentLocation/blob/master/design/map.png?raw=true)
# Play Video
[![](https://github.com/AndroidCodility/GoogleMap-CurrentLocation/blob/master/design/map_vid.png?raw=true)](https://youtu.be/AWEHmltEwqM "Click here to watch")
# Like Facebook Page
[![](https://github.com/AndroidCodility/Barchart-Graph/blob/master/design/fb.png?raw=true)](https://www.facebook.com/androidcodility/ "Click here")
近期下载者:
相关文件:
收藏者: