Skip to content Skip to sidebar Skip to footer

Connect To Neo4j Through Android - Impossible Task?

Is there any way I can connect to a remote Neo4j server from an Android Project at all ? I have used several approaches: JDBC driver and through REST API using Jersey Client howeve

Solution 1:

If Neo4j exposes an HTTP REST interface, then yes of course you can access it from Android. There are many different ways, including HTTPUrlConnection and Apache HttpClient.

If you want to use Jersey, there's no reason why that wouldn't work. I'd start with one of the above first though to prove to yourself that the basics work.

Here someone as written a Java binding to the REST API.

https://github.com/neo4j-contrib/java-rest-binding

You can use (most) Java libraries in Android.

Post a Comment for "Connect To Neo4j Through Android - Impossible Task?"