[android-developers] Re: Reads file inside a apk

2012-02-17 Thread Mark Cz
I would do that when the adt would support creating a library jar with res/assets directory. I am sure many 3rd party developers will thank Google for that. On Feb 16, 11:18 pm, Dianne Hackborn wrote: > Please don't do that.  The correct way to retrieve the content of your .apk > is with Resource

Re: [android-developers] Re: Reads file inside a apk

2012-02-16 Thread Dianne Hackborn
Please don't do that. The correct way to retrieve the content of your .apk is with Resources and AssetManager. On Thu, Feb 16, 2012 at 6:39 AM, Mark Cz wrote: > Thanks Mark. > But I don't want to use the assets directory, since it's not my > project. I am just giving the developers a jar with a

Re: [android-developers] Re: Reads file inside a apk

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 9:39 AM, Mark Cz wrote: > But I don't want to use the assets directory, since it's not my > project. I am just giving the developers a jar with an html file > inside. Of course I can give them two files, a jar to put in their > classpath and a html file to put in their asse

[android-developers] Re: Reads file inside a apk

2012-02-16 Thread Mark Cz
Thanks Mark. But I don't want to use the assets directory, since it's not my project. I am just giving the developers a jar with an html file inside. Of course I can give them two files, a jar to put in their classpath and a html file to put in their assets directory, but i want to avoid that. Anyh