-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to Android #356
Comments
It would be great indeed to make WikidataToolkit work with Android. I am not much familiar with it. It would be amazing if you could do a pull request for this. |
The new 0.9.0 release should work with Android. @nicolas-raoul If you have some time may you test? |
@Tpt Is there any documentation to easily get started on it :) |
@maskaravivek The documentation is here with links to example: https://www.mediawiki.org/wiki/Wikidata_Toolkit Feel free to ask anything you need :-) |
About the WikidataToolkit dependencies: we could definitely consider to move from one JSON deserialization library or HTTP client to an other if it makes the Android use case much more appealing. |
A little late to the party here...but I am seeing failure on Android whereas toolkit works fine under Spring. Am receiving null for a well known QID (any qid actually) with following code:
The QID is 26303...Thales a pre-socratic philosopher. Any ideas of why it is failing? |
@mikeklein Hi! Sorry for the problem. It's strange. If the API call where failing (no network, invalid host...), the code would have returned an exception instead. Are you sure that your |
Just to be sure we are on the same page, the qid should be a string containing |
Hello and thanks for quick response. I just found that the problem "magickally" went away an hour ago. I did debug earlier and it was throwing following error btw: Error when reading JSON for entity Q80612: com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of And yes the Q was part of string param value...thanks. |
As a developer of the Commons Android app, I would like to use a Java library to add P18 (image) statements from the app (the app directs the user to nearby points of interest missing a P18 to take pictures of them).
It would be great if there were an Android-compatible small library that allowed that.
If there is already one that I have missed, please let me know, thanks :-)
The text was updated successfully, but these errors were encountered: