On Thu, Feb 16, 2012 at 4:24 AM, Mark Cz <[email protected]> wrote:
> Hi,
> I am having an android application that is using an external jar that
> has in addition to regular classes an html file.
>
> The final apk root directory looks something like this
>
> assests
> res
> AndroidManifest.xml
> classes.dex
> resources.arsc
> helloworld.html
>
> How can I access from my application to the last file
> "helloworld.html"?

You move it into assets/ and then use getResources().getAssets().open().

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

Warescription: Three Android Books, Plus Updates, One Low Price!

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