Android Question [solved]cloudkvs - can i use it this way?

Hilton

Active Member
Licensed User
Longtime User
Hi Folks,

I have been using cloudkvs(ckvs) and really like it! There is a new project that will start off with each tablet using the project standalone, however, I can foresee a time when the client will want all of the data to go to a central server and perhaps be shared. My question is this:

Can I initialize ckvs and SetAutoRefresh such that I will not get messages about "unknown hosts" or indeed anything else.

I would do this in the hopes that the app using ckvs would run standalone without problems. Later when the inevitable request to extent the app arrives, I can change it with a minimum of effort.

Thank you
Hilton
 
Last edited:

Hilton

Active Member
Licensed User
Longtime User
Are you asking about toast messages? I don't remember the code but you can easily remove such messages.
No, Erel, but errors such as:
java.net.UnknownHostException: No such host is known (null)

Of course, it also means that the processing of the fault-tolerant queue will not be happening and I am not sure what the end result of that will be. I guess I could rummage around in the clientkvs code and see what I can make of it.

On mature reflection, I think I should spend some time familiarising myself with the code and see if I can change it to make sending stuff to the server optional.

Sorry for using your time without looking at the code carefully! By the way, I really like this clientkvs, nice job.
 
Upvote 0

Hilton

Active Member
Licensed User
Longtime User
Again I must apologize to Erel for my premature question, I have changed the clientkvs code and now have the option to run local only, it was easier than I thought it would be.
 
Upvote 0
Top