Android: Add content provider support to File::FileInfo
This commit is contained in:
1 parent
99ffee9a0a
commit
a7c05d7e84
7 files changed
+73
-2
No files matched your search
@@ -104,6 +104,14 @@ bool DeleteAndroidContent(const std::string& uri)
|
||||
IDCache::GetContentHandlerDelete(), ToJString(env, uri));
|
||||
}
|
||||
|
||||
jlong GetAndroidContentSizeAndIsDirectory(const std::string& uri)
|
||||
{
|
||||
JNIEnv* env = IDCache::GetEnvForThread();
|
||||
return env->CallStaticLongMethod(IDCache::GetContentHandlerClass(),
|
||||
IDCache::GetContentHandlerGetSizeAndIsDirectory(),
|
||||
ToJString(env, uri));
|
||||
}
|
||||
|
||||
int GetNetworkIpAddress()
|
||||
{
|
||||
JNIEnv* env = IDCache::GetEnvForThread();
|
||||
|
||||
Reference in new issue
Block a user