Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8564957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:18:47+00:00 2026-06-11T17:18:47+00:00

I have a large game(50mb+), so I need to use APK Extension library provided

  • 0

I have a large game(50mb+), so I need to use APK Extension library provided by Google.

I’ve managed to work out the downloading part, but now I’d need to know the best way to access the .obb file from the native side.

There’s ZipResourceFile, but how does one use that efficiently from C++?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:18:49+00:00Added an answer on June 11, 2026 at 5:18 pm

    Unlike Assets, files in ExternalStorage can be accessed with ordinary posix functions. All I need is to get the correct path to the Obb-file.

    Directory can be figured out this way:

    File root = Environment.getExternalStorageDirectory();
    String path = root.toString() + Constants.EXP_PATH + getPackageName();
    

    And the file name is figured out out like this:

    String filename = isMainFile ? "main." : "patch.") + versionCode + "." + getPackageName() + ".obb"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After profiling a large game playing program, I have found that the library function
I have not done any large game development projects, only messed around with little
I have a rather large and complex game in C#, and in it are
I am designing a Game and have a large background. The background it a
I'm creating a 3D game where I have a large open world (200×200 kilometers),
I currently have a game that takes in large images, easily bigger than 1MB,
I'm writing a game where a large number of objects will have area effects
I have a large (-ish) GLES2 game implemented for Nokia Harmattan platform on C++.
In my 2D game I need textures that may be arbitrarily large, can be
I am writing a scriptable game engine, for which I have a large number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.