简体   繁体   中英

Talking to remote CouchDB server from Android

I'm designing a turn based game similar to Words With Friends . I don't need the data to be stored persistently on the phone in a local CouchDB.

I've attempted HTTP requests using HttpPut / HttpGet and HttpClient with no success.

What is the best way to communicate with CouchDB from an Android application? What alternative database backends are available?

I would recommend TouchDB-Android . We've been using TouchDB-iOS for our iOS apps and are planning on using TouchDB-Android when we start Android development. TouchDB has an active development community -- see this google group . You can use TouchDB to connect to a local or remote CouchdB database and to replicate between the two.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM