18#ifndef HEADER_ASSETS_ANDROID_HPP
19#define HEADER_ASSETS_ANDROID_HPP
29 std::string m_stk_dir;
Definition: assets_android.hpp:26
bool isWritable(std::string path)
Checks if there is write access for selected path.
Definition: assets_android.cpp:590
static std::string getDataPath()
Get a path for internal data directory.
Definition: assets_android.cpp:651
void extractData()
A function that extracts whole data directory from apk file to a real path in the filesystem.
Definition: assets_android.cpp:252
void init()
A function that detects a path where data directory is placed and that sets some environment variable...
Definition: assets_android.cpp:46
void removeData()
A function that removes whole STK data directory.
Definition: assets_android.cpp:469
bool extractFile(std::string file_name)
A function that extracts selected file or directory from apk file.
Definition: assets_android.cpp:388
std::string getPreferredPath(const std::vector< std::string > &paths)
Determines best path for extracting assets, depending on available disk space.
Definition: assets_android.cpp:605
bool hasAssets()
A function that checks if assets are included in the package.
Definition: assets_android.cpp:544
void touchFile(std::string path)
A function that creates empty file.
Definition: assets_android.cpp:567
void setProgressBar(int progress)
A function set progress bar using java JNI.
Definition: assets_android.cpp:338
class handling files and paths
Definition: file_manager.hpp:59