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 8524821
In Process

The Archive Base Latest Questions

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

I need to distribute an application on Google Play. However, my application has a

  • 0

I need to distribute an application on Google Play.
However, my application has a library that accesses 10 “.dat” files.
The problem is that distribute these dats files. In the assets directory i tried unzip, but, the library “.so” cannot access them: permissions issues.

I thought about the possibility of putting them in the raw directory, but I do not know if it would work, because I use the NDK to make the link and do not know if it would have the lib directory permissions on this project.

Would not nice store in sdcard. The user could delete the files…

What should I do?

  • 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-11T07:47:49+00:00Added an answer on June 11, 2026 at 7:47 am

    Put all your .dat files into the assets folder (at the same level where you have src and jni). Ant will pack them into the .apk archive.

    If you target Android 2.3+ you can access your files directly with NDK calls. If you want to run on lower versions of Android your have 2 possibilities:

    1. Extract files to SD-card via Java and then access them from native code.
    2. Use minizip (or similar zip unpacker) to access the files within
      the .apk archive
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm facing a problem when I need to distribute my java application, created using
I have an app.config file that I need to distribute with my application. It
I'm interested in how to distribute a Java application that has a lot of
I am developing an iPhone application which I need to distribute to an organization
I have a working JNLP application which I need to distribute to various non-technical
I wrote a small app that I need to distribute to 700+ computers, the
I need to create a single installer that I can distribute to machines running
I need to distribute some sort of static configuration through my application. What is
I would like to distribute my 20-jar application as pack200 files, but I also
I need to package Ruby application (a batch job), and distribute to other users.

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.