iPhone Completed Project files
iPhone Update 1
iPhone demo can be found here.
Android projects
Assignment 1
- Assignment 1
- The first assignment required several layout objects, a
check box, drop-down list, radio buttons, and a text box.
Assignment 2
- Assignment 2
- The second assignment required the use of other control
objects and file I/O. I had a lot of trouble trying to get my program
to change activites until I read Glen Joyner's update this morning about editing
the AndroidManifest.xml file. After I did this, my program worked automagically.
Thanks for the update, Glen.
- Latest update: Added framework for getting authenticated with twitter.
Twitter API still not implemented, may have to wait for next updates as I am dead
tired and need to do some learnin' on the subject of HTTP requests.
- Latest Latest update: Global timeline is working. Discovered
a Java wrapper for the Twitter API that I'm now working on
implementing.
- Acknowledgements:
- Glen Joyner for his advice on changing activities.
Ensure that all activities that will become viewable are in the
androidManifest.xml file.
Ross Squires for help with the HTTP stuff. If opening
a URL, permissions must be added to the androidManifest.xml file.
iPhone projects
iPhone assignment 1
- Assignment 1 Updated 5:40, 9/24
- The first iPhone project I have is a simple RSS reader. As of 5:30,
The program can only load the main Apple RSS feed, but I'm working on adding functionality
to let the user put in the address of an RSS feed and make the program download that one
instead.
- The website I got the tutorial from on building the RSS read is here
Useful iPhone info
- Use ctrl while click+dragging on items in the Interface Builder to link them together.
- Learn to love the Strings and NSStrings apis. There are many functions to make your life easier like
stringByReplacingOccurrencesOfString() to let you modify existing strings by replacing only certain characters.
- I used NSXMLParser in my program, but I read on some forums that the actual iPhone does not have this library, only
the emulator does. It was recommended to use TouchXML instead, but I have not experimented with this.
- Objective-C does not have a built-in garbage collector, so be sure to update your dealloc() function
to [object release] your memory after your program finishes.
iPhone long-term project