ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How can I call a native function from an android rosjava node?

asked 2014-06-28 09:01:28 -0500

Arjav gravatar image

Hi! I want to call a native function from my rosjava node which basically does some processing work and returns a variable of type double which is then finally published by the publisher. Can anyone please help me out?


edit retag flag offensive close merge delete


The android documentation for the native function you're trying to call should probably tell you how to call it from Java.

ahendrix gravatar image ahendrix  ( 2014-06-30 00:29:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-15 07:33:21 -0500

jubeira gravatar image

@Arjav this is a general Android question, so Android documentation is probably the best place to look for the answer,

Try starting here: . That should help you to bind a Java method to native code, and also to compile and link the native code into your app.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-06-28 09:01:28 -0500

Seen: 259 times

Last updated: Feb 15 '18