Go to CWA open data to register an account for API keys.
Visit authorization page to get the authorization key.
$ git clone https://github.com/qaz5823091/Weather.git
Create a variable named WEATHER_API_KEY
in local.properties
.
WEATHER_API_KEY = {YOUR API KEY}
Check Mainfest.xml
file including specific meta-data (map into local.properties
field).
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
...
<meta-data
android:name="WEATHER_API_KEY"
android:value="${WEATHER_API_KEY}" />
</application>
</manifest>