ppsspp/android/jni/app-android.h
Henrik Rydgård 87a25fd230 Start experimenting with DocumentsContract (the thing DocumentFile wraps)
wip

Some progress towards making the file browser work with DOCUMENT_TREE

More directory browsing progress

More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.

Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00

30 lines
593 B
C++

#pragma once
#include "ppsspp_config.h"
#include <string>
#include <vector>
#include "Common/LogManager.h"
#if PPSSPP_PLATFORM(ANDROID)
#include <jni.h>
jclass findClass(const char* name);
JNIEnv* getEnv();
class AndroidLogger : public LogListener {
public:
void Log(const LogMessage &message) override;
};
extern std::string g_extFilesDir;
// Called from PathBrowser for example.
bool Android_IsContentUri(const std::string &filename);
int Android_OpenContentUriFd(const std::string &filename);
std::vector<std::string> Android_ListContentUri(const std::string &filename);
#endif