This is an old revision of the document!
Activity Classification
Kelvin Zhu and Gary Sham
Goals
- iOS app to collect telemetry information
- data mining and classification of activities from the telemetry
iOS App
Kelvin Zhu's Hello World program
It is pretty easy to build a single-view iphone/ipad application building view-based project using xcode. After building the project, we can add buttons, labels, text(for input or output) and even pictures onto the view using interface builder.
There are two basic kinds of objects, outlet and action, to realize all the functions for ipod application. Outlet is like variable while action like function. So, to store the input or output for an ipod application, we should use outlet while using action when to implement buttons. We can easily write some objective-c code and link the cotent to all items you've built in interface builder, through which, the objects shown in applications can be linked with the codes written.
Sensors | Location | Connectors and input/output | |
---|---|---|---|
iPhone 4 | Three-axis gyro Accelerometer Proximity sensor Ambient light sensor | Assisted GPS Digital compass Wi-Fi Cellular | 30-pin dock connector 3.5-mm stereo headphone minijack Built-in speaker Microphone |
iPhone 3GS | Accelerometer Proximity sensor Ambient light sensor | Assisted GPS Digital compass Wi-Fi Cellular | 30-pin dock connector 3.5-mm stereo headphone minijack Built-in speaker Microphone SIM card tray |