Community
if (strcmp(methodName, "scaleformTest"))
{
pmovieView->Invoke("_root.sampleFunction", 0, 0, 0); // do function in Flash, works
// Now try to open the virtual keyboard, just like Scaleform does in the source;
JNIEnv *env;
jclass cls = env->GetObjectClass(JObj);
jmethodID cb = env->GetMethodID(cls, "OpenVirtualKeyboard", "(Z)V");
env->CallVoidMethod(JObj, cb, multiline);
// Not working, error: 'JObj' was not declared in this scope
}
Are there any new resources on how best to handle the Flash->C++->Java bridge with Scaleform. We have created tons of plugins for iOS and now are looking to port them to Android. On the iOS side, we make extensive use of the Direct Access API to create custom FunctionHandlers. On the Android side of the things, all we have right now is the ability to create a build using the generated eclipse project, but the C++ code is trapped in the .so generated by arm-linux-androideabi-g++ in the Deployer. I am hoping there is a way to get this .so to build within Eclipse and maybe even to be debuggable!