Questions tagged [documents]
293 questions
8
votes
2 answers
Looping through documents in MongoDB
I want to loop through documents in MongoDB. Basically here is the situation. I have some JTextfields which i want to populate from MongoDB. So each time the user click on the Next button, a new record must be fetched and display it in the…
user1259962
8
votes
1 answer
iOS: Support App Group folders in local file provider
I understand that if I provide the UIFileSharingEnabled and LSSupportsOpeningDocumentsInPlace keys in Info.plist for my iOS app, files in my app's Documents folder are shown in Files.app ("On This iPad") and the documents browser.
Now my question -…

m.gansrigler
- 185
- 2
- 9
8
votes
5 answers
How to get file size of file from iPhone documents folder
I have in which i save video file in documents folder it works fine,but i want to get the file size of the saved file,I have searched but did not get result using NSfileManager,here is the code which i use for saving video.I want to get the file…

Aijaz Ali
- 353
- 2
- 6
- 17
7
votes
1 answer
Apache Tika and document metadata
I'm doing simple processing of variety of documents (ODS, MS office, pdf) using Apache Tika. I have to get at least :
word count, author, title, timestamps, language etc.
which is not so easy. My strategy is using Template method pattern for 6…

lisak
- 21,611
- 40
- 152
- 243
7
votes
2 answers
I need to make a SVM in weka to filter documents using Java
I am an absolute beginner. Never made a classifier or anything in weka using Java I have used the interface before. Basically I am kind of lost I've looked at the filter class for weka and played around with it a little. My documents are text…

jenniem001
- 596
- 1
- 5
- 16
7
votes
3 answers
Locate command can't find anything inside Documents folder on mac
As it says in the description. I first check our database is up to date
mh547:bin crashandburn4$ sudo /usr/libexec/locate.updatedb
Password: #password entered and function executed without errors
I then try and search for something inside my…

Mike H-R
- 7,726
- 5
- 43
- 65
7
votes
4 answers
How to scan SD card for particular extension of files in android?
I am working on a project which contains a module to scan pdf, doc xls files from sd card and make list of them. I also want to make list of folders only.
As I am very new to android. Anyone have idea of achieving this.
Here is my code:
public class…

Sanchit Paurush
- 6,114
- 17
- 68
- 107
6
votes
1 answer
When you update an iOS app, what happens to the Documents folder contents?
What happens when I update an app that has some files stored in the Documents folder? I need those files to be kept in that folder so the updated app will be able to use them. But it doesn't seem to happen. Is there anyway I can manage to save all…

gabriel_vincent
- 1,230
- 3
- 16
- 35
6
votes
3 answers
Free or affordable OCR and ICR (handwriting recognition) SDK?
I'm looking to integrate OCR and ICR recognition functionality into a business app we're building to scan forms and other such documents. I've searched for hours and come up with Abbyy, IRIS and another few companies that market their SDKs with 4…

Robin Rodricks
- 110,798
- 141
- 398
- 607
6
votes
2 answers
NodeJS/Mongo: Looping a query through various collections
I'm looking to loop a query through various collection with MongoDB using the NodeJS Driver.
For this test, I've used the sample code from the 'findOne' docs to insert a bunch of documents in various Collections:
collection.insertMany([{a:1,…

Martin Carre
- 1,157
- 4
- 20
- 42
6
votes
2 answers
Write file to documents directory and permissions
I red the comments of this code example here:
https://www.hackingwithswift.com/example-code/strings/writetofile-how-to-save-a-string-to-a-file-on-disk
// failed to write file – bad permissions, bad filename, missing permissions,
or more likely…
user5273262
6
votes
5 answers
Android how to secure contents in document directory
I am asking the same question as here:
Secure contents in Documents directory
For android.
Are there equivalent concepts in android to what is presented here:
Protecting the app sandbox
My particular requirement is to protect files from rooted…
user1565007
5
votes
7 answers
Advantages/disadvantages of Wiki over CMS (and vice-versa)
How do your store your company's accumulated internal knowledge? Meeting minutes, software specifications, plans, notes about other organisations, documents for discussion and storage, agendas...
We're involved in software development but it's not…
Steve Bennett
5
votes
3 answers
My Documents Path Re-directing to OneDrive Path
I'll Start with the very simple code
string fileName; // filename of file
// get the filename
using (OpenFileDialog openFileDialog = new OpenFileDialog()) {
openFileDialog.InitialDirectory =…

ayyron_lmao
- 99
- 1
- 9
5
votes
1 answer
iPhone Documents directory maximum size
I'm just wondering due to new personal project which is the limit (in MB or GB) of documents directory of my app. I just wanna save a lot of photos, so, has documents directory a limit for archiving downloaded photos? Will saving 300MB of photos…

Gerard
- 51
- 1
- 2