score:0

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.

score:0

java mongo driver 2.6 is compatible with android.

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

i'm working on a forked version of 3.0.3 adding javax.security.sasl classes of this project https://github.com/koterpillar/android-sasl

score:1

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