From b3c3a33b324ebeb85e2d3fdbb4f43917e68c8b2d Mon Sep 17 00:00:00 2001 From: Matt Donahoe Date: Thu, 17 Feb 2011 13:17:25 -0500 Subject: [PATCH] created sensortest app --- sensortest/Shared/main.m | 17 + sensortest/iPad/AppDelegate_iPad.h | 18 + sensortest/iPad/AppDelegate_iPad.m | 67 ++++ sensortest/iPad/MainWindow_iPad.xib | 315 +++++++++++++++++ sensortest/iPhone/AppDelegate_iPhone.h | 24 ++ sensortest/iPhone/AppDelegate_iPhone.m | 128 +++++++ sensortest/iPhone/MainWindow_iPhone.xib | 327 ++++++++++++++++++ sensortest/sensortest-Info.plist | 45 +++ .../sensortest.xcodeproj/project.pbxproj | 286 +++++++++++++++ 9 files changed, 1227 insertions(+) create mode 100644 sensortest/Shared/main.m create mode 100644 sensortest/iPad/AppDelegate_iPad.h create mode 100644 sensortest/iPad/AppDelegate_iPad.m create mode 100644 sensortest/iPad/MainWindow_iPad.xib create mode 100644 sensortest/iPhone/AppDelegate_iPhone.h create mode 100644 sensortest/iPhone/AppDelegate_iPhone.m create mode 100644 sensortest/iPhone/MainWindow_iPhone.xib create mode 100644 sensortest/sensortest-Info.plist create mode 100755 sensortest/sensortest.xcodeproj/project.pbxproj diff --git a/sensortest/Shared/main.m b/sensortest/Shared/main.m new file mode 100644 index 0000000..f14330e --- /dev/null +++ b/sensortest/Shared/main.m @@ -0,0 +1,17 @@ +// +// main.m +// sensortest +// +// Created by Matt Donahoe on 2/17/11. +// Copyright 2011 MIT Media Lab. All rights reserved. +// + +#import + +int main(int argc, char *argv[]) { + + NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, nil); + [pool release]; + return retVal; +} diff --git a/sensortest/iPad/AppDelegate_iPad.h b/sensortest/iPad/AppDelegate_iPad.h new file mode 100644 index 0000000..c3867cf --- /dev/null +++ b/sensortest/iPad/AppDelegate_iPad.h @@ -0,0 +1,18 @@ +// +// AppDelegate_iPad.h +// sensortest +// +// Created by Matt Donahoe on 2/17/11. +// Copyright 2011 MIT Media Lab. All rights reserved. +// + +#import + +@interface AppDelegate_iPad : NSObject { + UIWindow *window; +} + +@property (nonatomic, retain) IBOutlet UIWindow *window; + +@end + diff --git a/sensortest/iPad/AppDelegate_iPad.m b/sensortest/iPad/AppDelegate_iPad.m new file mode 100644 index 0000000..76c1466 --- /dev/null +++ b/sensortest/iPad/AppDelegate_iPad.m @@ -0,0 +1,67 @@ +// +// AppDelegate_iPad.m +// sensortest +// +// Created by Matt Donahoe on 2/17/11. +// Copyright 2011 MIT Media Lab. All rights reserved. +// + +#import "AppDelegate_iPad.h" + +@implementation AppDelegate_iPad + +@synthesize window; + + +#pragma mark - +#pragma mark Application lifecycle + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + + // Override point for customization after application launch. + + [window makeKeyAndVisible]; + + return YES; +} + + +- (void)applicationWillResignActive:(UIApplication *)application { + /* + Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ +} + + +- (void)applicationDidBecomeActive:(UIApplication *)application { + /* + Restart any tasks that were paused (or not yet started) while the application was inactive. + */ +} + + +- (void)applicationWillTerminate:(UIApplication *)application { + /* + Called when the application is about to terminate. + */ +} + + +#pragma mark - +#pragma mark Memory management + +- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application { + /* + Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later. + */ +} + + +- (void)dealloc { + [window release]; + [super dealloc]; +} + + +@end diff --git a/sensortest/iPad/MainWindow_iPad.xib b/sensortest/iPad/MainWindow_iPad.xib new file mode 100644 index 0000000..d0284d2 --- /dev/null +++ b/sensortest/iPad/MainWindow_iPad.xib @@ -0,0 +1,315 @@ + + + + 1024 + 10D573 + 782 + 1038.29 + 460.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 105 + + + YES + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBIPadFramework + + + IBFirstResponder + IBIPadFramework + + + + 292 + {768, 1024} + + 1 + MSAxIDEAA + + NO + NO + + 2 + + IBIPadFramework + YES + + + IBIPadFramework + + + + + YES + + + window + + + + 7 + + + + delegate + + + + 8 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + YES + + + + + 6 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + 6.CustomClassName + 6.IBPluginDependency + + + YES + UIApplication + UIResponder + {{903, 55}, {768, 1024}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + AppDelegate_iPad + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 9 + + + + YES + + AppDelegate_iPad + NSObject + + window + UIWindow + + + IBProjectSource + iPad/AppDelegate_iPad.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIApplication + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIApplication.h + + + + UIResponder + NSObject + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIWindow + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIWindow.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + ../sensortest.xcodeproj + 3 + 105 + + diff --git a/sensortest/iPhone/AppDelegate_iPhone.h b/sensortest/iPhone/AppDelegate_iPhone.h new file mode 100644 index 0000000..16b5dff --- /dev/null +++ b/sensortest/iPhone/AppDelegate_iPhone.h @@ -0,0 +1,24 @@ +// +// AppDelegate_iPhone.h +// sensortest +// +// Created by Matt Donahoe on 2/17/11. +// Copyright 2011 MIT Media Lab. All rights reserved. +// + +#import +#import + +@interface AppDelegate_iPhone : NSObject { + UIWindow *window; + CLLocationManager * lman; + float start; + NSDate * startDate; + NSObject * voicebot; + int mode; +} + +@property (nonatomic, retain) IBOutlet UIWindow *window; + +@end + diff --git a/sensortest/iPhone/AppDelegate_iPhone.m b/sensortest/iPhone/AppDelegate_iPhone.m new file mode 100644 index 0000000..9602256 --- /dev/null +++ b/sensortest/iPhone/AppDelegate_iPhone.m @@ -0,0 +1,128 @@ +// +// AppDelegate_iPhone.m +// sensortest +// +// Created by Matt Donahoe on 2/17/11. +// Copyright 2011 MIT Media Lab. All rights reserved. +// + +#import "AppDelegate_iPhone.h" + +@implementation AppDelegate_iPhone + +@synthesize window; + + +#pragma mark - +#pragma mark Application lifecycle + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + + // Override point for customization after application launch. + + [window makeKeyAndVisible]; + start = CFAbsoluteTimeGetCurrent(); + //GPS updates + lman = [[CLLocationManager alloc] init]; + lman.delegate = self; + lman.desiredAccuracy = kCLLocationAccuracyBest; + lman.distanceFilter = 1.0; + [lman startUpdatingLocation]; + + //acceleration + [[UIAccelerometer sharedAccelerometer] setUpdateInterval:1.0 / 30]; + [[UIAccelerometer sharedAccelerometer] setDelegate:self]; + + NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); + NSString *documentsDirectory = [paths objectAtIndex:0]; + NSString *logPath = [documentsDirectory stringByAppendingPathComponent:[NSString stringWithFormat:@"%i.log",(int)CFAbsoluteTimeGetCurrent()]]; + freopen([logPath cStringUsingEncoding:NSASCIIStringEncoding],"a+",stdout); + + //link to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/PrivateFrameworks/VoiceServices.framework + voicebot = [[NSClassFromString(@"VSSpeechSynthesizer") alloc] init]; + [voicebot setDelegate:self]; + + startDate = [NSDate date]; + [startDate retain]; + mode=0; + [self nextMode]; + + return YES; +} +- (void) nextMode { + // + mode = (mode+1)%6; + NSArray *modes = [NSArray arrayWithObjects:@"STOP", @"WALK", @"JOG", @"RUN", @"JOG", @"WALK", nil]; + [voicebot startSpeakingString:[modes objectAtIndex:mode]]; + printf("S:%s,%f\n",[[modes objectAtIndex:mode] UTF8String],[[NSDate date] timeIntervalSinceDate:startDate]); +} +- (void) speechSynthesizer:(NSObject *) synth didFinishSpeaking:(BOOL)didFinish withError:(NSError *) error { + printf("D:%f\n",[[NSDate date] timeIntervalSinceDate:startDate]); + [self performSelector:@selector(nextMode) withObject:nil afterDelay:15.0]; +} + +- (void)applicationWillResignActive:(UIApplication *)application { + /* + Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ +} + + +- (void)applicationDidEnterBackground:(UIApplication *)application { + /* + Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + If your application supports background execution, called instead of applicationWillTerminate: when the user quits. + */ +} + + +- (void)applicationWillEnterForeground:(UIApplication *)application { + /* + Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background. + */ +} + + +- (void)applicationDidBecomeActive:(UIApplication *)application { + /* + Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + */ +} + + +- (void)applicationWillTerminate:(UIApplication *)application { + /* + Called when the application is about to terminate. + See also applicationDidEnterBackground:. + */ +} + + +#pragma mark - +#pragma mark Memory management + +- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application { + /* + Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later. + */ +} +- (void) locationManager:(CLLocationManager *)manager + didUpdateToLocation:(CLLocation *)newLocation + fromLocation:(CLLocation *)oldLocation +{ + //NSLog(@"L:%@",newLocation); + printf("L:%f,%f,%f,%f\n",newLocation.coordinate.latitude,newLocation.coordinate.longitude,newLocation.horizontalAccuracy,[newLocation.timestamp timeIntervalSinceDate:startDate],[[NSDate date] timeIntervalSinceDate:startDate]); +} + +- (void)dealloc { + [window release]; + [super dealloc]; +} + + +- (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration { + printf("A:%f,%f,%f,%f\n",acceleration.x,acceleration.y,acceleration.z,[[NSDate date] timeIntervalSinceDate:startDate]); +} + +@end diff --git a/sensortest/iPhone/MainWindow_iPhone.xib b/sensortest/iPhone/MainWindow_iPhone.xib new file mode 100644 index 0000000..fd0d6d8 --- /dev/null +++ b/sensortest/iPhone/MainWindow_iPhone.xib @@ -0,0 +1,327 @@ + + + + 1024 + 10D573 + 782 + 1038.29 + 460.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 105 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + IBCocoaTouchFramework + + + + 1316 + + {320, 480} + + + 1 + MSAxIDEAA + + NO + NO + + IBCocoaTouchFramework + YES + + + + + YES + + + delegate + + + + 5 + + + + window + + + + 6 + + + + + YES + + 0 + + + + + + 2 + + + YES + + + + + -1 + + + File's Owner + + + 4 + + + App Delegate + + + -2 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBAttributePlaceholdersKey + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + 2.UIWindow.visibleAtLaunch + 4.CustomClassName + 4.IBPluginDependency + + + YES + UIApplication + UIResponder + + YES + + + YES + + + {{520, 376}, {320, 480}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + AppDelegate_iPhone + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 8 + + + + YES + + AppDelegate_iPhone + NSObject + + window + UIWindow + + + IBProjectSource + iPhone/AppDelegate_iPhone.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIApplication + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIApplication.h + + + + UIResponder + NSObject + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIWindow + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIWindow.h + + + + + 0 + IBCocoaTouchFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + ../sensortest.xcodeproj + 3 + 105 + + diff --git a/sensortest/sensortest-Info.plist b/sensortest/sensortest-Info.plist new file mode 100644 index 0000000..36fc3e2 --- /dev/null +++ b/sensortest/sensortest-Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.serioussandbox.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + NSMainNibFile + MainWindow_iPhone + UIApplicationExitsOnSuspend + + NSMainNibFile~ipad + MainWindow_iPad + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/sensortest/sensortest.xcodeproj/project.pbxproj b/sensortest/sensortest.xcodeproj/project.pbxproj new file mode 100755 index 0000000..11af02b --- /dev/null +++ b/sensortest/sensortest.xcodeproj/project.pbxproj @@ -0,0 +1,286 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + +/* Begin PBXBuildFile section */ + 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; + 2860E328111B887F00E27156 /* AppDelegate_iPhone.m in Sources */ = {isa = PBXBuildFile; fileRef = 2860E326111B887F00E27156 /* AppDelegate_iPhone.m */; }; + 2860E329111B887F00E27156 /* MainWindow_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2860E327111B887F00E27156 /* MainWindow_iPhone.xib */; }; + 2860E32E111B888700E27156 /* AppDelegate_iPad.m in Sources */ = {isa = PBXBuildFile; fileRef = 2860E32C111B888700E27156 /* AppDelegate_iPad.m */; }; + 2860E32F111B888700E27156 /* MainWindow_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2860E32D111B888700E27156 /* MainWindow_iPad.xib */; }; + 288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; }; + C9F59A95130D876A00E34EE8 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9F59A94130D876A00E34EE8 /* CoreLocation.framework */; }; + C9F59B40130D9B4C00E34EE8 /* VoiceServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9F59B3F130D9B4C00E34EE8 /* VoiceServices.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* sensortest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = sensortest.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 2860E325111B887F00E27156 /* AppDelegate_iPhone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate_iPhone.h; sourceTree = ""; }; + 2860E326111B887F00E27156 /* AppDelegate_iPhone.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate_iPhone.m; sourceTree = ""; }; + 2860E327111B887F00E27156 /* MainWindow_iPhone.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow_iPhone.xib; sourceTree = ""; }; + 2860E32B111B888700E27156 /* AppDelegate_iPad.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate_iPad.h; sourceTree = ""; }; + 2860E32C111B888700E27156 /* AppDelegate_iPad.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate_iPad.m; sourceTree = ""; }; + 2860E32D111B888700E27156 /* MainWindow_iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow_iPad.xib; sourceTree = ""; }; + 288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Shared/main.m; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* sensortest_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sensortest_Prefix.pch; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* sensortest-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "sensortest-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; + C9F59A94130D876A00E34EE8 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; + C9F59B3F130D9B4C00E34EE8 /* VoiceServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VoiceServices.framework; path = System/Library/PrivateFrameworks/VoiceServices.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, + 288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */, + C9F59A95130D876A00E34EE8 /* CoreLocation.framework in Frameworks */, + C9F59B40130D9B4C00E34EE8 /* VoiceServices.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* sensortest.app */, + ); + name = Products; + sourceTree = ""; + }; + 2860E324111B887F00E27156 /* iPhone */ = { + isa = PBXGroup; + children = ( + 2860E325111B887F00E27156 /* AppDelegate_iPhone.h */, + 2860E326111B887F00E27156 /* AppDelegate_iPhone.m */, + 2860E327111B887F00E27156 /* MainWindow_iPhone.xib */, + ); + path = iPhone; + sourceTree = ""; + }; + 2860E32A111B888700E27156 /* iPad */ = { + isa = PBXGroup; + children = ( + 2860E32B111B888700E27156 /* AppDelegate_iPad.h */, + 2860E32C111B888700E27156 /* AppDelegate_iPad.m */, + 2860E32D111B888700E27156 /* MainWindow_iPad.xib */, + ); + path = iPad; + sourceTree = ""; + }; + 28EEBF621118D79A00187D67 /* Shared */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* sensortest-Info.plist */, + ); + name = Shared; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 2860E32A111B888700E27156 /* iPad */, + 2860E324111B887F00E27156 /* iPhone */, + 28EEBF621118D79A00187D67 /* Shared */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* sensortest_Prefix.pch */, + 29B97316FDCFA39411CA2CEA /* main.m */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, + 1D30AB110D05D00D00671497 /* Foundation.framework */, + 288765FC0DF74451002DB57D /* CoreGraphics.framework */, + C9F59A94130D876A00E34EE8 /* CoreLocation.framework */, + C9F59B3F130D9B4C00E34EE8 /* VoiceServices.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* sensortest */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "sensortest" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = sensortest; + productName = sensortest; + productReference = 1D6058910D05DD3D006BFB54 /* sensortest.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "sensortest" */; + compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* sensortest */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2860E329111B887F00E27156 /* MainWindow_iPhone.xib in Resources */, + 2860E32F111B888700E27156 /* MainWindow_iPad.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1D60589B0D05DD56006BFB54 /* main.m in Sources */, + 2860E328111B887F00E27156 /* AppDelegate_iPhone.m in Sources */, + 2860E32E111B888700E27156 /* AppDelegate_iPad.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1D6058940D05DD3E006BFB54 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"", + ); + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = sensortest_Prefix.pch; + INFOPLIST_FILE = "sensortest-Info.plist"; + PRODUCT_NAME = sensortest; + }; + name = Debug; + }; + 1D6058950D05DD3E006BFB54 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = sensortest_Prefix.pch; + INFOPLIST_FILE = "sensortest-Info.plist"; + PRODUCT_NAME = sensortest; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 3.2; + PREBINDING = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 3.2; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + PREBINDING = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "sensortest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "sensortest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +}