Android combat - Weather APP

Ready to work

1. Create a warehouse on github, creation is complete, return to common local repository and add the associated step, according to go on the trip
if for the first time, download and initializes a git repository

  • Mark owner information of the local repository
$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"
  • Key generation

ssh-keygen -t rsa -C "[email protected]"

Find .ssh folder, open "id_rsa.pub" file with a text editor, copy the contents to the clipboard.
Open https://github.com/settings/ssh , click on the Add SSH Key button, paste the save.

2, first upload an empty project

git add .
git commit -m "注释信息"
git push

3, API interfaces
http://t.weather.sojson.com/api/weather/city/101310211
http://mobile.weather.com.cn/js/citylist.xml
http://api.map.baidu. COM / Geocoder? Output = & renderReverse the callback = & JSON. 1 & pois = LOCATION = <longitude, latitude>

Feasibility Requirements Planning

1, choose the provincial, city and county
2, manually select the city, see the specific local weather; automatically displays the current location weather
3, manually update weather automatically update weather

Implement the presentation:

13671484-e0768dde11bf4481.gif
GIF.gif

Add a custom signature

  • Generate custom signature file
    Build -> Generate Signed Bundle/APKS->APK->Create new...->
    13671484-be43f40d9bfcc553.png
    2018-11-21_220950.png
  • Right Project -> open module settings-> app-> signing
填写生成的签名数据
Published 118 original articles · won praise 14 · views 50000 +

Guess you like

Origin blog.csdn.net/github_38641765/article/details/86580443