It turns out there is simpler solution. Just copy any other build.xml
and modify the project name in the second line of build.xml!

I looked inside build.xml and discovered that there is nothing
specific to a project except for the project name, which is used to
generate the final .apk file.

Enjoy.

Jun

On Apr 7, 1:45 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
>  Hi,
>
>  You can use the activityCreator.py
> script<http://code.google.com/android/intro/installing.html#otherides>for
> building existing projects. The existing java/resource files will not
> be
> overrwritten. For example, to build ApiDemos follow the steps below:
>
> $ cd android_sdk/samples/ApiDemos
> $ ../../tools/activityCreator.py com.google.android.samples
> $ ant
> Buildfile: build.xml
>
> Thanks,
> Megha
>
> On Mon, Apr 7, 2008 at 1:09 PM, monkey.jsun <[EMAIL PROTECTED]> wrote:
>
> > All the tutorials have been talking about building sample code from
> > Eclipse. I wonder if there is an easy way to build them from command
> > line.
>
> > It is not obvious how to achieve this with activityCreator.py script.
>
> > Cheers.
>
> > Jun
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to