The output from the ActivityCreator command gives you a lot more information than just the fact that you did not provide enough information. It gives the complete list of the files created when using the tool. This list should look similar to that covered in Chapter 5, although build.xml is not dire ctly exposed to Eclipse users.

Go back to the command window and run ActivityCreator with the following option (ActivityCreator also accepts path parameters with Unix-style forward slashes, if you are used to programming in a Unix/Linux environment):

--out c:\AndroidHelloWorld\android_programmers_guide.HelloWorldCommandLine

The —out option tells ActivityCreator that you want it to output something. This command option takes two parameters, <folder> and <package.activity>. The first part of the preceding line tells ActivityCreator to build the shell application in the nonexistent folder c:\AndroidHelloWorld.

0 0

Post a comment