aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/AndroidManifest.template
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-09-25 15:52:52 -0700
committerXavier Ducrohet <xav@android.com>2009-09-27 18:08:00 -0700
commiteefd90971184e89ff892bcf10598a2990bb05657 (patch)
treea839515ea6799de57d1bf9ebb39ab38bfbdbc434 /scripts/AndroidManifest.template
parent9e4ffa58b7164e49c304f54d25a0e7e8822a450e (diff)
downloadsdk-eefd90971184e89ff892bcf10598a2990bb05657.zip
sdk-eefd90971184e89ff892bcf10598a2990bb05657.tar.gz
sdk-eefd90971184e89ff892bcf10598a2990bb05657.tar.bz2
Update the project creation (from the command line):
- Make the distinction between the activity class name, manifest entry, fully-qualified name, and tested activity for the template place-holders. Test activity names now directly contain the full name (including the "Test" prefix) instead of the template adding it. This is required by the new 'create test-project' - New action: create test-project This requires a path to the main project. It reads the package, activity name and target from the main project. The activity is read from the manifest and can be in a more complex form than previously expected (for instance .subpackage.MyClass, instead of simply MyClass). This is what required the re-work the activity related template place holders. Options: -m --main Location path of the project to test, relative to the new project [required] -n --name Project name -p --path Location path of the new project [required] Example: for 2 projects MyProject and MyTests located in the same folder, calling from their parent folder. android create test-project -p MyTests -m ../MyProject - build.properties now only gets application.package for older targets as the new one get it directly from XPath - Remove AndroidXPathFactory from the anttasks project as it was already in sdklib which is a dependency. - Removed IntelliJ templates for the SDK. We haven't supported them for a while, and now that IntelliJ has built-in support for Android, it's not that useful anymore. While there is the command line parameters for 'update test-project' it's not yet implemented. Change-Id: I663d4cb7f439bb2abfe866f893e58f4d13aff975
Diffstat (limited to 'scripts/AndroidManifest.template')
-rw-r--r--scripts/AndroidManifest.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/AndroidManifest.template b/scripts/AndroidManifest.template
index 2b06e76..9b07072 100644
--- a/scripts/AndroidManifest.template
+++ b/scripts/AndroidManifest.template
@@ -4,7 +4,7 @@
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name">
- <activity android:name=".ACTIVITY_NAME"
+ <activity android:name="ACTIVITY_ENTRY_NAME"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />