How to use Wikipedia api in android

I'm developing an app to get Location name then put it into a googlemap and display that location wiki page . I tied to search but There is some phonegap android app .

My question is : Is there any Wiki API for android native app to get and search information ? and how to implement it ?

Answers


I did a Google search for wiki API and it brought me here:

http://www.mediawiki.org/wiki/API:Main_page

It is not specifically for android but it should be able to work for you. An example:

http://en.wikipedia.org/w/api.php?format=json&action=query&titles=API&prop=revisions&rvprop=content


If you can not find a usable api, you can use JSoup to parse wikipedia and return relevant information or you can build a url based on user's input and implement a webview


Need Your Help

Unit testing validation on an inline in Django admin

python django unit-testing django-admin

I've added some validation to an inline in the django admin, which won't let the inline be saved if a field on the model instance doesn't exist. I don't want additional deadlines to be added if the...

Redis configuration for production

redis cluster-computing master-slave

I'm developing project with redis.My redis configuration is normal redis setup configuration.