Reputation: 71
I have a practical seminar this semester, and I want to use ontology on Android application. I choose Protege owl ontology as a ontology API and this tool worked in normal Java project. But when I tried to import this jar files which for the owl ontology API in Android project.It will fail and I haven't found any solutions in the Internet.Can you help me?
Upvotes: 7
Views: 3274
Reputation: 799
I have tried this some time ago and it worked well.
Android Java is not standard Java, so you may need to port OWL-API (or whatever the library you choose, it can be Jena as well) java source code to android platform. This may require some changes in source code as all the standard java classes are not available in android Java. This effort includes the library source jars if there are any.
Few ported libraries are available on android already. please refer this link
Please note that performance wouldn't be good on device with the bigger ontologies.
Upvotes: 1