Declare that testViewport targets Froyo APIs

(So that it can be built in Master, but run in
Froyo.)
This commit is contained in:
Jack Palevich
2010-04-29 18:45:11 +08:00
parent 8640c1d0e5
commit fcbbbc3bcb
2 changed files with 5 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := TestViewport
# Set a specific SDK version so we can run on Froyo.
LOCAL_SDK_VERSION := 8
include $(BUILD_PACKAGE)
endif # TARGET_SIMULATOR

View File

@@ -20,6 +20,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.test">
<uses-sdk android:targetSdkVersion="8" android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application