Permalink
Browse files

Fix minor issues

  • Loading branch information...
1 parent e4d45b9 commit f9965f78af90b9df7cd4e539495a71c3d8110edb @mwbrooks mwbrooks committed Apr 21, 2011
@@ -2,8 +2,20 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionName="2.0.0" android:versionCode="1" package="com.phonegap.kitchensink">
- <uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.CAMERA" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.RECEIVE_SMS" />
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
+ <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_CONTACTS" />
+ <uses-permission android:name="android.permission.WRITE_CONTACTS" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="false">
<activity android:name="StartActivity"
@@ -407,7 +407,7 @@
baseConfigurationReference = 307D28A1123043350040C0FA /* PhoneGapBuildSettings.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Michael Brooks (Y4G8SJRXWM)";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
@@ -418,6 +418,7 @@
"-Obj-C",
);
PREBINDING = NO;
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "CB4A3C9C-9536-49C2-9D4B-522CFD9D9B26";
SDKROOT = iphoneos;
SKIP_INSTALL = NO;
USER_HEADER_SEARCH_PATHS = "\"$(PHONEGAPLIB)/Classes/JSON\" \"$(PHONEGAPLIB)/Classes\"";
View
@@ -4,6 +4,9 @@
// Insert the contacts into the list
//
var onSuccess = function(contacts) {
+ // For demo purposes, only load 10
+ contacts = contacts.slice(0, 10);
+
// Helper function to find contacts last name
var lastName = function(name) {
name = name.split(' ');

0 comments on commit f9965f7

Please sign in to comment.