Traditional Culture Encyclopedia - Weather inquiry - How to get the current weather in android?

How to get the current weather in android?

1. Get the location (coordinates or city) first. You can use Baidu map API and gaode map API.

2. Use coordinates or cities to get the weather. You need to use the tripartite weather API. For example: Mob weather interface, weather interface, aggregate data interface, national meteorological administration.