Skip to content

Instantly share code, notes, and snippets.

@godjooyoung
Created June 19, 2020 01:07
Show Gist options
  • Save godjooyoung/e9e019081724d78e04c9f6b86f38078f to your computer and use it in GitHub Desktop.
Save godjooyoung/e9e019081724d78e04c9f6b86f38078f to your computer and use it in GitHub Desktop.
좌표값 가져오기 권한 추가
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.location">
<!-- 사용권한-->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment