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

Developing with rosjava in Android Studio (Windows)

asked 2017-11-26 04:38:38 -0500

Kubi gravatar image

I need to develop a simple Android which is supposed to show some stats of a robot on the smartphone. I'd like to to this on a windows computer, and if I'm not mistaken that should be possible. However, I know little to nothing about ROS and just have basic knowledge of Android Studio. Furthermore, I found no decent tutorial on what I need to do (either not working and/or outdated). Does someone know some good tutorial or can help me getting started? Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-12-04 08:12:44 -0500

jubeira gravatar image

Hi @Kubi, it may work if you don't need to create any new message or service.

You will need to update your Gradle script to add the Maven repository for rosjava rosjava_mvn_repo. Then, you should be able to add the core depencies for rosjava and ros Android.

Check and for reference. I've never tried using that on Windows myself, but in general terms using ROSJava and ROSAndroid should be possible after adding the core dependencies to your buildscripts.

edit flag offensive delete link more


Thanks for the answer! I eventually ended up working on Ubuntu, but the tutorials you linked apply anyways, right? I just dont understand how to upgrade rosjava_mvn_rep...?

Kubi gravatar image Kubi  ( 2017-12-06 04:17:49 -0500 )edit

Yes; in fact I wouldn't recommend using Windows. I'd suggest you to install rosjava from source; it doesn't take that long. The tutorials already set your buildscripts to point to rosjava_mvn_repo, where the core artifacts are. If you want to add your own artifacts, that's another story.

jubeira gravatar image jubeira  ( 2017-12-06 06:38:08 -0500 )edit

I'm trying to do this on windows, still don't understand too much, to be honest I'm 90% lost

サイトダニエロ gravatar image サイトダニエロ  ( 2020-05-13 13:56:38 -0500 )edit

Question Tools

1 follower


Asked: 2017-11-26 04:38:38 -0500

Seen: 699 times

Last updated: Dec 04 '17