Skip to content

Commit 14af122

Browse files
committed
Use cool book-cover icon
Nearly all example running
1 parent 0cfb54e commit 14af122

File tree

65 files changed

+96
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+96
-86
lines changed

03/TestApp/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.oreilly.demo.pa.ch01.testapp"
3+
package="com.oreilly.demo.pa.ch03.testapp"
44
android:versionCode="1"
55
android:versionName="1.0">
66

@@ -33,5 +33,5 @@
3333
android:name=".TestBroadcastReceiver"
3434
android:label="Test Broadcast Receiver"/>
3535
</application>
36-
<uses-sdk android:minSdkVersion="7" />
36+
<uses-sdk android:targetSdkVersion="9"/>
3737
</manifest>

03/TestApp/default.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-7
11+
target=Google Inc.:Google APIs:9

03/TestApp/src/com/oreilly/demo/pa/ch01/testapp/TestActivity.java renamed to 03/TestApp/src/com/oreilly/demo/pa/ch03/testapp/TestActivity.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
package com.oreilly.demo.pa.ch01.testapp;
1+
package com.oreilly.demo.pa.ch03.testapp;
22

33
import android.app.Activity;
44
import android.os.Bundle;
5-
import com.oreilly.demo.pa.ch01.testapp.R;
5+
6+
import com.oreilly.demo.pa.ch03.testapp.R;
67

78
public class TestActivity extends Activity {
89
/** Called when the activity is first created. */

03/TestApp/src/com/oreilly/demo/pa/ch01/testapp/TestBroadcastReceiver.java renamed to 03/TestApp/src/com/oreilly/demo/pa/ch03/testapp/TestBroadcastReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.oreilly.demo.pa.ch01.testapp;
1+
package com.oreilly.demo.pa.ch03.testapp;
22

33
import android.content.BroadcastReceiver;
44
import android.content.Context;

03/TestApp/src/com/oreilly/demo/pa/ch01/testapp/TestProvider.java renamed to 03/TestApp/src/com/oreilly/demo/pa/ch03/testapp/TestProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.oreilly.demo.pa.ch01.testapp;
1+
package com.oreilly.demo.pa.ch03.testapp;
22

33
import android.content.ContentProvider;
44
import android.content.ContentValues;

03/TestApp/src/com/oreilly/demo/pa/ch01/testapp/TestService.java renamed to 03/TestApp/src/com/oreilly/demo/pa/ch03/testapp/TestService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.oreilly.demo.pa.ch01.testapp;
1+
package com.oreilly.demo.pa.ch03.testapp;
22

33
import android.app.Service;
44
import android.content.Intent;

06/AIDLDemo/AndroidManifest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
android:versionCode="1"
44
android:versionName="1.0" package="com.oreilly.demo.android.ch06.aidl">
5+
<uses-sdk android:targetSdkVersion="9"></uses-sdk>
56
<application android:icon="@drawable/icon" android:label="@string/app_name">
6-
<activity android:label="@string/app_name" android:name="client.AIDLDemoandroid.ch06.aidl.client.AIDLDemo">
7+
<activity android:label="@string/app_name" android:name=".client.AIDLDemo">
78
<intent-filter>
89
<action android:name="android.intent.action.MAIN" />
910
<category android:name="android.intent.category.LAUNCHER" />
1011
</intent-filter>
1112
</activity>
12-
<service android:name="service.SimplePathService">
13+
<service android:name="com.oreilly.demo.android.ch06.aidl.service.SimplePathService">
1314
<intent-filter>
14-
<action android:name="com.oreilly.android.demo.aidl.service.PathService" />
15+
<action android:name="com.oreilly.demo.android.ch06.aidl.service.PathService" />
1516
</intent-filter>
1617
</service>
1718

06/AIDLDemo/default.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=Google Inc.:Google APIs:8
11+
target=Google Inc.:Google APIs:9
2.85 KB
1.74 KB

0 commit comments

Comments
 (0)