Your question isn't quite clear. You might want to rephrase it.

For your post subject: what identifies an application is the package
name that you provide in the AndroidManifest.xml.

As for Ant, you shouldn't create the project manually. Instead use the
android tool:

$ SDK_PATH/tools/android create project --path mydir --name
projectname --package com.myname.myproject ... etc.

That --package is what "identifies" your app.
Invoke the tool with missing arguments, it will explain what you need
to provide.

R/

On Mon, Apr 27, 2009 at 7:43 PM, Alexey <[email protected]> wrote:
>
> still looking for answer on that . Any hints ?
>
> On Apr 3, 8:51 am, Alexey <[email protected]> wrote:
>> I have kind of same problem to solve
>> I have same code base from which i have to build to different apps
>> using two different resources folders and may be some extensions in
>> terms of extra activities etc...
>>
>> so let say all my base code is in
>> com.acme.product.base
>> And I have packages like
>> com.acme.product.ui1
>> com.acme.product.ui2
>>
>> Activities in base have references to R. which will be put under one
>> of UI packages by specifying package name in the manifest .
>> So to make it build , i understand, that i'll need an ant script which
>> will put correct include to com.acme.product.ui1.R or
>> com.acme.product.ui2.R base to all java files during build time .
>> First question  how i do this ( i'm not really savvy in ant scripts so
>> direction will be appreciated ) Second - is the ant script a right
>> solution in this case or there is another way .
>>
>> I've seen some company ( i think Paragon ) doing that kind of builds
>> for the dictionaries and looking of the best way how i can get this to
>> work .
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to