[android-developers] Re: How to export the project as a JAR file.

2011-04-22 Thread Rohit
The other problem I have is that I have multiple jar files that I import into my project and all of them have resources (e.g. strings.xml). Eclipse / Android tools complains about duplicate strings.xml files while building the apk - Is there a way to overcome this? Rohit On Apr 21, 4:46 pm, Mark

[android-developers] Re: How to export the project as a JAR file.

2011-04-22 Thread Rohit
I already use a prefix for the resource, like com.example.R.raw.somefile to access the resource that I really want, but at runtime it looks like it is pulling some other file instead of the one that I want. I will try reflection.. Rohit On Apr 21, 4:46 pm, Mark Murphy wrote: > Add a prefix. A

Re: [android-developers] Re: How to export the project as a JAR file.

2011-04-21 Thread Mark Murphy
Add a prefix. As I wrote on this thread earlier: >> You may also want to use some sort of unique prefix on your resource >> files and names, so that you do not accidentally collide with a >> project that is using your library. Also, for any resources you refer to in the binary-only library this w

[android-developers] Re: How to export the project as a JAR file.

2011-04-21 Thread Rohit
I have the same problem. I want to package in the res folder as well - which I can in the jar file. However, when I run the code the wrong R file is referenced and as a result the wrong resource is referenced which causes all sorts of problems. Is there a way to mark my R files with a namespace so

Re: [android-developers] Re: How to export the project as a JAR file.

2011-04-15 Thread Mark Murphy
On Fri, Apr 15, 2011 at 3:03 AM, Dan wrote: > I have a nice .apk with a service and 4 activities, a shared native > library with some jni goodness, some drawable files in the res > directory and some other data in the assets directory.   Another > company would like to package the functionality of

[android-developers] Re: How to export the project as a JAR file.

2011-04-15 Thread Dan
> You generally do not "export the project as a JAR file". > > If you would take the time to explain precisely and clearly what it is > that you are trying to accomplish, we may be better able to provide > assistance. I have a similar issue that I would have described the same way, but I'll go wit