i think you need to use the rest api provided by the mongo lab , not the java api. send http call to the server and get the response and parse it using json parsor, that should do it.


java mongo driver 2.6 is compatible with android.

the actual version 3.0.3 isn't compatible with android because* isn't implemented on android.

i'm working on a forked version of 3.0.3 adding classes of this project


you must add the driver jar to your classpath, please refer to this faq.

if you have done this correctly eclipse should be able to provide import for the the mongo class if you type something like:

mongo mongo = new mongo("localhost", 27017);

Related Query

More Query from same tag