Search found 6 matches
- March 15th, 2018, 11:07 am
- Forum: Entry
- Topic: Can a photo be synchronised?
- Replies: 8
- Views: 8051
Re: Can a photo be synchronised?
I'm surprised that filecopy is truncating the files. If you can reproduce that behavior please let us know how so we can fix it if there is a problem. Are you checking the return value of filecopy to see if it returns an error? It should return the number of files copied if it works or default if i...
- January 23rd, 2018, 1:39 am
- Forum: Entry
- Topic: Can a photo be synchronised?
- Replies: 8
- Views: 8051
Re: Can a photo be synchronised?
Move the filecopy/filedelete inside the if statement so that it only gets called if the sync is successful. That way if the user cancels part way through it will not move the file. It will try to sync the file again next time they user syncs. I did as you suggested but one problem I've encountered ...
- January 16th, 2018, 5:05 am
- Forum: Entry
- Topic: Can a photo be synchronised?
- Replies: 8
- Views: 8051
Re: Can a photo be synchronised?
If you want to only sync the photos that have not already been synced it is a bit tricky. You would have to use sync from logic i.e. call the sync() function from your program logic. When you take the photos you could put them in a directory named "tosync". Then when you sync you use put ...
- January 5th, 2018, 12:11 am
- Forum: Android
- Topic: Choose photo from disk on Android
- Replies: 1
- Views: 2771
Choose photo from disk on Android
I have been able to create a function to take a photo and save it using a custom filename on Android. However, I would like to offer the user an option to select a photo from their disk instead of taking it. On Windows, I've written a batch file to do this. How do I achieve this on Android?
- August 22nd, 2017, 4:58 am
- Forum: Synchronization
- Topic: Getting this error when trying to log in to CSWeb
- Replies: 2
- Views: 3681
Getting this error when trying to log in to CSWeb
Hi all, I've been using a server running CSWeb to synchronize data from the field. However, today when I tried to log in as admin, the browser was busy for about 30 seconds, after which I got this error: "Whoops, looks like something went wrong." In addition, people in the field can't sync...
- May 31st, 2017, 4:57 am
- Forum: Entry
- Topic: CSWeb Server Setup
- Replies: 5
- Views: 6990
Re: CSWeb Server Setup
@ manojsoni Thank you very much; your response was helpful. I have now resolved the issue. Hi @ishycienth, all, I am facing the same problem. How do I solve it. I am using an IP address to access the server, at port 443, with an Apache2 web server. Totally stuck on this issue. CSWeb runs fine on my...