android - how to invoke c++ code from phonegap -


what have understood through phonegap plugin can invoke native apis.

http://docs.phonegap.com/en/2.1.0/guide_plugin-development_android_index.md.html#developing%20a%20plugin%20on%20android

question:

is possible invoke c++ function directly phonegap, middle lever layer going c++, , applicable both ios/android.

no, not directly. have write plugin calls c++ code. on android you'd writing plugin in java , using jni call c++ lib. on ios created plugin in obj-c , call c++ code. here answer on https://stackoverflow.com/a/4456290/41679


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -