
This beginner-friendly Android weather app course guides you to set up a project, build a UI, fetch data from a RESTful service, and update weather images dynamically.
Set up Android Studio, run a virtual device, and build a weather app that fetches data from OpenWeatherMap, parses JSON, and displays current weather in text views and images.
Sign in to the OpenWeatherMap API, copy your key, test requests in Postman, and explore JSON responses with Kelvin temperatures converted to imperial units.
Create a new Android Studio project with an empty activity, run it on a virtual device, and customize the layout to update the hello world text.
Design the weather forecast app user interface by adding text views for date, city, and weather description, assign IDs, adjust fonts, and display a weather icon.
Add images and backgrounds in Android layouts using drag-and-drop, relative layout, and text view previews; update hourly with SML code, adjust text color and size, and use dp for sizing.
Access the text view from code, update its text with a string such as 70, and verify changes when you run the app.
Learn how to get the current date using a calendar instance, convert the Date to a string, and customize the format with a simple date format class.
Retrieve weather icons from drawable resources with getIdentifier and apply them via setImageResource, then convert the description to a drawable name by replacing spaces with underscores.
After uncompressing the zip file, copy all drawable folders into "res" folder of the app.
After uncompressing the source code, open your Android Studio and import the code by clicking "Import Project (Eclipse ADT, Gradle, etc.)" button.
In this course I will introduce you to Android App Development. We are going to learn how to develop a beautiful weather forecast app from the scratch. This training is for those who has some knowledge on Java and thinking to start Android App Development.
Instead of going through all the technical terms and components of an Android app, I will start by creating an app right away. This will give you a quick overview of creating a complete app and will boost your confidence. You may not understand all the topics at first, in this case just finish watching all lectures. Then try to do all the steps by yourself. You will have better understanding of the app once you will have hands on experience.
I have attached the source code of the app, so that you can review and learn from there.