CSE 5345 & 7345
Advanced Application Programming

Java Android Programming
Fall 2011

frank p. coyle / senior lecturer / coyle @ engr.smu.edu / 214.768.3086 voice / 214.768.3085 fax

Class Notes DnLoad

s14.ExamNotes

s14.REVISED.AndroidClientSpec

s14.AndroidMedia

s13.MidtermGradingUpdate

s12.FinalExamUpdate

s12.Yamba6.SMS

s12.SMS.Slides1

s12.SMS.Slides2

s12.cookbook.Location

s12. cookbook.SMS

s12.cookbook.ContentProviders

s12.cookbook.SQLite overview

s11.SQLiteSLides

s11.SQList.Yambacode

s11.SQLiteHelper

s09.JsonNewsService

s07.Yamba3 ZIP

s07.Yamba3

s07.JSON

s06.Yamba2Preferences

s05.Yamba1 ExampleCode

s05.AsynchTask Slides

s04.AndroidIntro

s03.Threads

s03.ObserverObservable

s02.InnerClasses

s02.Generics

 

 

 

 

 

 

------

drC's VIDEO Library

Ask DrC Series

PHP, MySQL and Lyle Servers

Intro to Streams

Deploying Servlets

 

Rollo asks "Do I Have Java?"

 

Hello World with Input

NetBeans - Downloading

NetBeans - HelloWorld

NetBeans - DOS View


Understanding JAR Files

AVI Versions

JAR Files Pt I
(19 MB)

JAR Files Pt 2
(18 MB)

Flash Versions

Jar Files part 1

Jar Files part 2


ANT

What is ANT?

HelloWorld - in ANT

ANT - TwoTargets.1

ANT - TwoTargets.2

ANT - TwoTargets.3

StringTokenizer

StringTok Part 1

StringTok Part 2

StringTok Part 3

.

Advanced Application Programming

Nov 16. The old project spec for the Android Client for Quizalator was incorrectly posted instead of the new REVISED spec. If you downloaded the spec on Nov 13-15, please download the new one. REVISED SPEC For Final Project Android Client Quizalator. Check the video if you have questions,

Nov 13. The new spec for how to write a Android WebClicker app is now available. There is also a video that explains how to set yourself as a professor and launch a quiz, which is needed in order to test your Android Client App. Coming soon will be links to video and audio related to the quiz so that you can submit this as a class project and meet the requirements for multiple technologies.

Download the Assignment Spec

Watch the video

Nov 11. It IS 11-11-11!

If you are considering writing a Android Client for the Quizalator Clicker as described in class, there will soon be a (hopefully) easier way for you to set up a quiz using a separate web interface where you can add your own users and start a quiz by pressing some buttons. If all goes well, this interface will be available by Sat 11-12.

Nov 3. Grading the midterm projects is turning out to be much more complex that anticipated. In order to give everyone feedback in this century, I'm asking that you either:

a) for campus stduents, do a demo of your app in class

b) for distance students, make a video of a demo of your app OR capture screen shots of your app in a word document and send along with a zip file of your eclipse project (suitable for compiling) to a new Blackboard link called MidtermPlus.

Please read the new link s13.MidtermGradingUpdate for details.

Nov 2. Please check out important information about our final weeks. There will beone more assignment and an exam (mainly objective questions) on Nov 30. And, the Final Project is optional. See details.

Oct 19. Please see the s09.JsonNewsService for an update on the web services you can now connect to. The URLs are based on php programs now available. The due date for all students is Sunday Oct 23, midnight.

Oct 6. The official version of the take-home midterm is now available. See link under assignments. There will be no class Oct 12 due to midterm.

Oct 5. Tonite we talk about the upcoming take-home midterm exam. Because of the take-home exam there will be no class next week Oct 12. Please note that the handouts relating to JSON and Yamba3 should help greatly with the exam. There is also a zip file of the Yamba3 project discussed in class available under downloads.

Oct 2. The quiz next Wed Oct 5 will cover Android book chap 35- Services the Theory. We will discuss details of the midterm.

Sep 29. If you downloaded s06.Yamba2Preferences handout, please redownload. It was missing the PrefActivity code.

Blackboard now has a discussion group for the assignments. If you have problems, please post a question. If you have answers, please help others. When you try to explain something to someone else, it only enhances your own understanding.

Sep 28. Still working on the BB problem. Tonite we will introduce a new online clicker program. Our discussion will be on threads and Preferences in Android.

Sep 22: Quiz for distance students now on BB. Read the link at; http://developer.android.com/guide/topics/intents/intents-filters.html and take the quiz on BB. Three minute time limt.

Sep 21. Get App ideas - check out interesting and sample Android apps at: http://www.networkworld.com/slideshows/2011/091911-android-apps.html

Assignment 4 is now available (due in two weeks)

Quiz for session 6 will cover Beginning Android Chap 20 and Effective Java sections 43 and 44

There is a good Android book that we will be working through: Learning Android by Marko Gargenta. O'Reilly (Amazon link).

Sep 14. Assignment 3 (covering Android) is now available. The quiz for session 5 will cover Effective Java sections: 66, 67 and Beginning Android 3 Chaps 17 & 18

Sep 7: The quiz for session 4 will cover Effective Java sections: 48,51,60,61,66,67

Assignment A2 covering Observer and Threads is available and due Sep 14.

-----------------------------------

Aug 31: The first assignment is now available. Due in one week (plus a few days for distance students)

The next quiz (session 3) will cover Effective Java: 18,19, 56, 57,58

Session2 In-Class Quiz (for in-class students only; distance students will be a separate quize at a later date). The quiz will cover:

  1. http://download.oracle.com/javase/tutorial/java/javaOO/index.html
    sections on: Classes, Objects, More on Classes, Nested Classes
  2. Be able to identify all the methods provided in the class Object
  3. Effective Java: Items: 4,8,13,14

 

Welcome to the Fall 2011 semester of Advanced Application Programming. This term we will focus on Java and Android development. If you are not a Java programmer or you are Java-rusty, then you need to quickly get up to speed with Java, since it is the basis for Android development. Developing with Android means working with Eclipse, so you should download the latest version of Eclipse (the IDE for Java Developers is fine -- EE not needed), get familiar and start programming Java in Eclipse.

Review Java: The Online Java Tutorial

TextBooks:

 

 

Effective Java, 2nd Edition by Jonathan Bloch. Addison Wesley.

This is NOT an introductory Java text. It assumes a solid understanding of Java. We will move quickly through this book.

Order here from Amazon.

Once we have a solid Java foundation we will jump into Android Mobile development. The book we'll use is Beginning Android 3 by Mark Murphy. APress..

Order Android book here from Amazon.

 

 

 

 

To help you jumpstart your Java explorations I have created a few videos that you can download as part of this class. These are short Flash and AVI video how-to sessions which you can download without a password. Just use the links under VIDEOs in the right column. If you would like a short video covering a topic you'd like more info about, let me know.