How to save a large file on external storage at Installation in Android?

I am creating an Android App that uses the MapsForge library to show a map. The Map view in MapsForge shows data from a large file. Once this file is present, it will only be read, and never edited.

While developing, I am manually copying the file to the external storage.

How do I make the apk contain this file, and make sure that at the installation of the APP, this file will be written to the external storage?

Answers


If the APK contains the file, and you write it to external storage, it will be both in the APK and on the external storage. You do not want that.

You want to either:


Need Your Help

How to delete existing tables in wordpress database

php mysql database wordpress table

Can I delete my existing database tables from wordpress database?

Xamarin.iOS Objective-C Binding Error

c# ios objective-c binding monotouch

I am trying to bind: https://www.cocoacontrols.com/controls/tsvalidatedtextfield for use with Xamarin.iOS.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.