Once upon a time (Android 1.5 and earlier), when you would create a new project using the "android create project" command, it worked well -- you had an app that could immediately be compiled and installed.
Now, though, when you run that command, a number of places need fixing up, where ACTIVITY_NAME shows up instead of the activity name specified...depending on the API level you target. For example: android create project \ --target 5 \ --name MyAndroidApp \ --path ./MyAndroidAppProject \ --activity MyAndroidAppActivity \ --package com.example.myandroid leaves ACTIVITY_NAME in: -- AndroidManifest.xml (android:name attribute) -- res/values/strings.xml (app_name) -- res/layout/main.xml (in the android:text attribute of the TextView -- src/com/example/myandroid/MyAndroidAppActivity.java (the class name is ACTIVITY_NAME despite being in the MyAndroidAppActivity.java file) If I change the target to 1, 3, or 4, it works as expected. If I have the target as 2 or 5, it gives me the ACTIVITY_NAME. So, I'm curious to know if: a. This is a bug, or b. I'm missing something (despite this example coming straight from the docs), or c. I've lost my marbles Thanks in advance! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

