delight-im / Android-DDP

[UNMAINTAINED] Meteor's Distributed Data Protocol (DDP) for clients on Android
Apache License 2.0
274 stars 54 forks source link

android #7

Closed guoyoujin closed 9 years ago

guoyoujin commented 9 years ago

hey Can you give an android client and server interaction implementation example of add and delete

ocram commented 9 years ago

The example that is linked to from the main page has code for inserting, updating and deleting data.

The responses from the server are handled in the callbacks that are implemented in that Activity as well. How to implement things on the server is not related to this library, however.

That's what you were interested in, right? Does this answer the question?

guoyoujin commented 9 years ago

I want to know the android DDP whether can realize like a meteor. It was such a hot js code push, thank you for giving me to reassure

ocram commented 9 years ago

Adding, updating and deleting data is definitely possible. You should read the official Meteor documentation to see how to configure the server and what code to use on the server. And the examples linked in the previous reply show how to communicate with the server from Android.

Do you have any more questions regarding this topic? Can we close this issue?

guoyoujin commented 9 years ago

ok