Old Pages‎ > ‎Programming Apps‎ > ‎Assignments‎ > ‎

Week of 10/24

posted Oct 21, 2016, 2:36 PM by Michael Reilly   [ updated Oct 27, 2016, 2:54 AM ]

Well, you may not have realized it, but you have been following a sequence recommended.  These are the free courses that make up the Android Basics Nanodegree, in order:


In the Multiscreen course, we used data from ArrayLists.  Well that's pretty limiting!  How about the entire web as a data source?  That's where this course comes in.

I'm out Monday and Tuesday, but here are your goals to start this class:

On Monday, I think it's easy for you to watch the videos up to, and including, "Importing Existing Project".  As you watch the videos, note which terms you are not sure about, because they will be on a quiz!  I will answer questions, but you can easily get the terms from the video, or from the web.  JSON, API, and more.

Then, set up the project with their files.  Remember, don't do their import, but create a folder for your Networking apps and create a new Android project.  Name the project quakereport and the domain is android.example.com  to match the sample files.  When it comes to the activity page, you can change MainActivity to EarthquakeActivity, but if you don't, that's okay.  You're going to replace it anyway when you delete your main folder and replace it with theirs.

Download the files from their link, delete the main folder in the project you just made, and replace the main folder as well as that darn "repositories maven" thing in the build.gradle file.    

Tuesday, get to work on editing that app!  In the long term, I will want you to consider another API of your choice, but for now make the earthquake app.  At minimum, have your app looks like the "Show more info on each earthquake" (this video has lots of hints on how to make it work, use it!).  You're still using an ArrayList for "placeholder data" for now, but that will soon change!  Look at your Miwok app for tips, layout suggestions, etc.  HINT: your earthquake_activity.xml is both your activity_main.xml AND your word_list.xml, as we are only dealing with one page, a list.

If you're rocking that, feel free to jump ahead, but I need everyone to have an app dev environment setup for our class on Thursday please!

I anticipate giving you two grades on Thursday, working in PAIRS (except the three people I allowed last time):  you will get a grade for writing an app that shows an ArrayList of Earthquake data.  You will also take a quiz on terminology introduced in the videos.  If you don't know a term, learn it!

While I am looking at your apps on Thursday, I will want you to look ahead at the first two JSON vidoes:  "Overview of JSON" and "JSON Components".  This gets abstract, so identify every work you don't know when the video guy speaks!
Comments