Can we use native code as plugin in Rhomobile?

208 views Asked by At

I need to run a java code for Android inside Rhomobile app. Is there any way i can call the java code. I have seen some of the plugins to interact with native codes for Android.

I tried searching and i did get to this url http://docs.rhomobile.com/rhoconnect/plugin-intro. But i guess this is not for Rhomobile if i'm not wrong.

I have a library file for my requirement. Is there any way i can use it ?

1

There are 1 answers

2
Ashis Kumar On BEST ANSWER

Yes you can. Have a look at this http://docs.rhomobile.com/rhodes/extensions#native-extensions

The link you get is for RhoConnect ( basically meant for sync operation). You need to look into the native extension for Android : Rewriting the Generated Native Extension Source Code for Android

If you need some more help and support, you can go over

https://developer.motorolasolutions.com/

https://groups.google.com/forum/#!forum/rhomobile

You can also simply post you query here and tag Rhomobile & Rhodes.

Hope this might help you.