问题描述
我正在尝试使用NEO4J在Android设备中创建数据库.但是应用程序崩溃了.
I am trying to create a database in my android device with NEO4J. But the application crashes.
String extStorageDirectory = Environment.getExternalStorageDirectory().toString();
GraphDatabaseService graphDB=new GraphDatabaseFactory().newEmbeddedDatabase(extStorageDirectory);
我已经添加了写入外部存储的权限.
I have added permissions for writing to external storage.
可能是什么原因?可以在Android设备上创建neo4j数据库吗?
What may be the reason? Is it at all possible to create a neo4j database in Android device?
推荐答案
Michael提到的新闻刚刚发布:针对Android v0.1的Neo4j Mobile.它仍在孵化中,我们很乐意为您提供反馈.
The news to which Michael alluded has just come out: Neo4j Mobile for Android v0.1. It's still in incubation, and we'd love your feedback.
此处有更多详细信息: http://blog.neo4j.org /2013/05/new-incubator-project-neo4j-mobile-for.html
More details here: http://blog.neo4j.org/2013/05/new-incubator-project-neo4j-mobile-for.html
这篇关于在Android设备中使用neo4j的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!