How to extract .obb file in android to resource directory?

I am using the libraries provided by the android sdk for the apk extension file to download the obb file, however I am not sure how to extract these files to the correct directory or if it is possible?

The .obb file is loading correctly and I can read the entire directory, however, as soon as I try to use any of the resources in the zipped assets folder, it doesn't find it. I followed this guide (which is basically the same everywhere: http://ankitthakkar90.blogspot.co.za/2013/01/apk-expansion-files-in-android-with.html ) But I can't find where ( or if needed) manually extract the .obb file? When the obb file is downloaded, it copies the entire .obb file to the / data directory instead of extracting the entire content.

If someone can just point me in the right direction or explain to me what I am doing wrong it will help.

.Obb file structure If I understand correctly, is APKExpansionSupport used to work with files inside the directory of the .obb file? But how do I extract the contents of the asset folders into my projects folder?

Thanx!

+1
java android unity3d apk


source to share


No one has answered this question yet

See similar questions:

3
Loading Unity.bb content via Android app

or similar:

3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
2510
How to persist android activity state by persisting instance state?
964
Download file from Android and show progress in ProgressDialog
703
How to install APK file in Android emulator?
703
How can I avoid reverse engineering my APK file?
five
OBB file is not Extract Error: "XAPK file validation error"
3
Loading Unity.bb content via Android app
2
How to extract files from .obb file?
1
using and / or extracting extensible files (obb) android
0
Extract .obb files in as3



All Articles
Loading...
X
Show
Funny
Dev
Pics