MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Build a Weather App

Course Summary

In this course we will learn about a very common and important element of Android development: downloading data from the Internet! We will request weather forecast data from a free API provided by forecast.io. We will then parse that data (in JSON format) and display it in a single-page app. We will also see how to handle errors and situations.


  • +

    Course Syllabus

    ● Exploring an API
        â—¦ Introducing Stormy
        â—¦ What is an API? What Does it Mean to Use One?
        â—¦ The Forecast API
        â—¦ Creating the Project
        â—¦ Networking
    ● Networking
        â—¦ How Do We Get Data from the Web?
        â—¦ Networking on a Mobile Device
        â—¦ Introducing OkHttp
        â—¦ Getting the OkHttp Library Using Gradle
        â—¦ Making an HTTP GET Request with OkHttp
    ● Concurrency and Error Handling
        â—¦ Why Do We Use Asynchronous Processing?
        â—¦ Making Our Code Asynchronous
        â—¦ Handling Errors
        â—¦ Configuring the Alert Dialog
        â—¦ What To Do When the Network is Down
    ● Working with JSON
        â—¦ Exploring the Data
        â—¦ Creating the Model
        â—¦ Beautiful, Wonderful JSON
        â—¦ Introducing JSONObject
        â—¦ Setting CurrentWeather from JSON
        â—¦ Cleaning Up the Date and Time
        â—¦ Setting the Weather Icon
    ● Building the Weather UI
        â—¦ Starting at the Center
        â—¦ Adding the Upper Half
        â—¦ Working with LinearLayouts
        â—¦ Finishing the Lower Half
    ● Hooking Up the Model to the View
        â—¦ Using Butter Knife for Views
        â—¦ Plugging in the Data
        â—¦ Setting the Weather Icon
        â—¦ Adding a Refresh Button
        â—¦ Wrapping Up
     

     


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

4 - 48 hours / week

Attended this course?

Back to Top

 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top