Activity Classification

Kelvin Zhu and Gary Sham

Goals

  1. iOS app to collect telemetry information
  2. 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
iPhone 3G Accelerometer
Proximity sensor
Ambient light sensor
30-pin dock connector
3.5-mm stereo headphone minijack
Built-in speaker
Microphone
SIM card tray
iPad Accelerometer
Ambient light sensor
Wi-Fi
Digital compass
Assisted GPS (Wi-Fi + 3G model)
Cellular (Wi-Fi + 3G model)
Dock connector port
3.5-mm stereo headphone jack
Built-in speaker
Microphone
Micro-SIM card tray (Wi-Fi + 3G model only)
iPad2 Three-axis gyro
Accelerometer
Ambient light sensor
Wi-Fi
Digital compass
Assisted GPS (Wi-Fi + 3G model)
Cellular (Wi-Fi + 3G model)
Dock connector port
3.5-mm stereo headphone jack
Built-in speaker
Microphone
Micro-SIM card tray (Wi-Fi + 3G model only)

Sensor attributes

Location <CLLocation>

altitude: for getting the height, just like the altitude in geography. Measured by meter coordinate(latitude, longitude): just same as those in geography. For latitude, the range should be [-90(south pole), 90(north pole)]. For longitude, the range should be [-180(west of the prime meridian), 180(east of the prime meridian)]

course: Course values are measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the direction is invalid.

horizontalAccuracy The radius of uncertainty for the location, measured in meters. The location’s latitude and longitude identify the center of the circle, and this value indicates the radius of that circle. A negative value indicates that the location’s latitude and longitude are invalid.

speed:The instantaneous speed of the device in meters per second.

time:The time at which this location was determined.

verticalAccuracy:The accuracy of the altitude value in meters. The value in the altitude property could be plus or minus the value indicated by this property. A negative value indicates that the altitude value is invalid.

Accelerometer <UIAccelerometer>

x, y, z: the accelerometer for the device in triple direction

timestamp:The relative time at which the acceleration event occurred.

Telemetry Mining

 
projs/actcat/home.txt · Last modified: 2011/07/19 18:07 by zfy7113639     Back to top