Ask Your Question
0

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

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

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?

Thanks.

edit retag flag offensive close merge delete

Comments

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

ahendrix gravatar imageahendrix ( 2014-06-30 00:29:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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: https://developer.android.com/ndk/gui... . 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 196 times

Last updated: Feb 15 '18