Re: [android-developers] How to create a common library in android - containing resource files as well

2010-09-15 Thread tj

Just what I need.

Thanks a lot,

tj

On 09/15/2010 07:08 PM, Mark Murphy wrote:

Create an Android library project:

http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject
http://developer.android.com/guide/developing/other-ide.html#libraryProject

On Wed, Sep 15, 2010 at 1:40 AM, tj  wrote:
   

Hi,

I have several android projects, they share some common codes, resources
files. Does any body know how to create an android library that can be used
among different projects?

I know how to do this if it's only java code. But how do you deal with the
resource files? The auto generated R.java? How to make the resources in the
lib are accessible to the importing project?

Thanks,
tj

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

 



   


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How to create a common library in android - containing resource files as well

2010-09-15 Thread Mark Murphy
Create an Android library project:

http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject
http://developer.android.com/guide/developing/other-ide.html#libraryProject

On Wed, Sep 15, 2010 at 1:40 AM, tj  wrote:
> Hi,
>
> I have several android projects, they share some common codes, resources
> files. Does any body know how to create an android library that can be used
> among different projects?
>
> I know how to do this if it's only java code. But how do you deal with the
> resource files? The auto generated R.java? How to make the resources in the
> lib are accessible to the importing project?
>
> Thanks,
> tj
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to create a common library in android - containing resource files as well

2010-09-14 Thread tj

Hi,

I have several android projects, they share some common codes, resources 
files. Does any body know how to create an android library that can be 
used among different projects?


I know how to do this if it's only java code. But how do you deal with 
the resource files? The auto generated R.java? How to make the resources 
in the lib are accessible to the importing project?


Thanks,
tj

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en