If you want to use eclipse as an IDE to write your tests you can use
If your goal is to write a java method then call it from robotframework
you can use Remote library.
Here are the supported formats writing robotium tests:
Robotium Test Data Sytntax
You can also use maven to run robotframework test from maven project in
Robotframework Maven plugin