8#ifndef META_OCEAN_PLATFORM_ANDROID_UTILITIES_H
9#define META_OCEAN_PLATFORM_ANDROID_UTILITIES_H
36 static std::string
toAString(JNIEnv* env, jstring javaString);
44 static jstring
toJavaString(JNIEnv* env,
const std::string& stdString);
52 static jobjectArray
toJavaStringArray(JNIEnv* env,
const std::vector<std::string>& strings);
61 static bool toVector(JNIEnv* env,
jobject javaStringList, std::vector<std::string>& strings);
70 static bool toVector(JNIEnv* env,
jobject javaIntegerList, std::vector<int>& values);
160 static bool sendIntentToComponent(JNIEnv* env,
jobject activity,
const std::string& packageName,
const std::string& className,
const std::string& extraText);
180 static bool connectToWifi(JNIEnv* env,
jobject activity,
const std::string& ssid,
const std::string& password);
The namespace covering the entire Ocean framework.
Definition Accessor.h:15