File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ @implementation PhoneGapDelegate
1010@synthesize imagePickerController;
1111
1212void alert (NSString *message) {
13- UIAlertView *openURLAlert = [[UIAlertView alloc ] initWithTitle: @" Alert" message: message delegate: nil cancelButtonTitle: @" OK" otherButtonTitles: nil ];
14- [openURLAlert show ];
15- [openURLAlert release ];
13+ // UIAlertView *openURLAlert = [[UIAlertView alloc] initWithTitle:@"Alert" message:message delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
14+ // [openURLAlert show];
15+ // [openURLAlert release];
1616}
1717
1818/*
Original file line number Diff line number Diff line change 334334 isa = XCBuildConfiguration;
335335 buildSettings = {
336336 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
337- CODE_SIGN_IDENTITY = "iPhone Developer: Brant Vasilieff ";
338- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Brant Vasilieff ";
337+ CODE_SIGN_IDENTITY = "iPhone Developer: Brock Whitten ";
338+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Brock Whitten ";
339339 GCC_C_LANGUAGE_STANDARD = c99;
340340 GCC_WARN_ABOUT_RETURN_TYPE = YES;
341341 GCC_WARN_UNUSED_VARIABLE = YES;
342342 ONLY_ACTIVE_ARCH = YES;
343343 PREBINDING = NO;
344- PROVISIONING_PROFILE = "880150E2-809D-4BBE-B91E-244F2A6F59A0 ";
345- "PROVISIONING_PROFILE[sdk=iphoneos*]" = "880150E2-809D-4BBE-B91E-244F2A6F59A0 ";
344+ PROVISIONING_PROFILE = "3CC55FB0-969F-4E90-8361-E82907DF1889 ";
345+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "3CC55FB0-969F-4E90-8361-E82907DF1889 ";
346346 SDKROOT = iphoneos2.1;
347347 };
348348 name = Debug;
Original file line number Diff line number Diff line change 3737 navigator . ContactManager . get ( suc , fail ) ;
3838 }
3939
40- var startAccel = function ( ) {
41- var suc = function ( p ) {
42- alert ( "Accelerator is Started!\n You can now watch it" ) ;
43- } ;
44- var fail = function ( ) { } ;
45- navigator . accelerometer . getCurrentAcceleration ( suc , fail ) ;
46- }
47-
4840 var watchAccel = function ( ) {
4941 var suc = function ( a ) {
5042 document . getElementById ( 'x' ) . innerHTML = roundNumber ( a . x ) ;
@@ -87,11 +79,11 @@ <h4>UUID: <span id="uuid"> </span></h4>
8779 < dt > Y:</ dt > < dd id ="y "> </ dd >
8880 < dt > Z:</ dt > < dd id ="z "> </ dd >
8981 </ dl >
90- < a href ="# " class ="btn " onclick ="startAccel(); "> Start Accelerometer</ a >
91- < a href ="# " class ="btn " onclick ="watchAccel(); "> Watch Accelerometer</ a >
82+ < a href ="# " class ="btn large " onclick ="watchAccel(); "> Watch Accelerometer</ a >
9283 < a href ="# " class ="btn large " onclick ="getLocation(); "> Get Location</ a >
93- < a href ="# " class ="btn large " onclick ="beep(); "> Beep</ a >
94- < a href ="# " class ="btn large " onclick ="vibrate(); "> Vibrate</ a >
95- < a href ="# " class ="btn large " onclick ="getContact(); "> Get Third Contact</ a >
84+ < a href ="tel://411 " class ="btn large "> Call 411</ a >
85+ < a href ="# " class ="btn " onclick ="beep(); "> Beep</ a >
86+ < a href ="# " class ="btn " onclick ="vibrate(); "> Vibrate</ a >
87+ < a href ="# " class ="btn large " onclick ="getContact(); "> Get Fourth Contact</ a >
9688 </ body >
9789</ html >
You can’t perform that action at this time.
0 commit comments