Questions tagged [document-provider]
29 questions
2
votes
0 answers
Can we get to choose the application which can be used to edit a document in iOS 8?
I was going through Document Picker & Document Provider Extensions of iOS8 today. Document picker allows us to pick documents of the different apps where as the document provider helps us to work with third party storage.
Right now I have one…

iamyogish
- 2,372
- 2
- 23
- 40
1
vote
0 answers
Testing a DocumentProvider with ProviderTestRule
I have a DocumentProvider backed by files on disk that I want to test with instrumented tests. I can not find a recommended way to do this unfortunately. In the docs there is ProviderTestCase2 which seems like it's going to be deprecated along with…

Debrugger
- 92
- 1
- 9
1
vote
1 answer
Is it possible for my own document provider to be offered only within my app?
This is a very short answer, which I couldn't find an answer to, not in in the docs and not anywhere over the Internet:
On Android, apps can offer the user to choose files from them, to be chosen from other apps. For example, the Google Photos app…

android developer
- 114,585
- 152
- 739
- 1,270
1
vote
1 answer
The document picker ... failed to launch
I have created my own DocumentPickerExtensionViewController and want to be able to open it up in the Excel app on iOS.
In the office app I press Open -> ... More -> Locations and choose my extensions name.
But after about two seconds of loading a…

stonecompass
- 547
- 9
- 27
1
vote
1 answer
IOS Document Provider shows "Doesn't support the file type"
I am trying to implement an iOS Document Provider Extension, specifically in order to make it possible for web-pages to access files in my app "Flyskyhy" directly. I've read through the normal documentation, and have used the standard way in XCode…

fishinear
- 6,101
- 3
- 36
- 84
1
vote
1 answer
Using Document Provider extension without iCloud and DocumentPicker - non UI variant
I recently found some articles and information on using Document Provider extension introduced in iOS 8 to share data between iOS apps.
But almost all the articles and tutorials made use of either iCloud or DocumentPicker.
I am basically looking to…

letsbondiway
- 470
- 3
- 18
0
votes
1 answer
Using ACTION_OPEN_DOCUMENT with EXTRA_INITIAL_URI and a file:// Uri
Is it possible to use Intent.ACTION_OPEN_DOCUMENT with a file:// format Uri as an DocumentsContract.EXTRA_INITIAL_URI extra, to have DocumentsProvider start navigation in the file's location?
In my app I give user an option to use a custom…

Koger
- 1,783
- 2
- 23
- 34
0
votes
1 answer
How to force QueryRoots to fire on Xamarin app after first launch, storage provider
I am trying to implement a Xamarin storage provider as per the example here.
https://github.com/xamarin/monodroid-samples/tree/master/StorageProvider
The issue is that I want the user to log in before I render the root folders.
The method used to…

user1234567890
- 25
- 4
0
votes
1 answer
Android DocumentProvider crashes Files-App / DocumentsUI
Hey i have a problem providing Documents with DocumentProvider
actually im trying to provide a static file but if i open my files app
and following exception occurs.
The Files-App is crashing but if i am trying to show only directory in my…

user14590906
- 55
- 1
- 6
0
votes
2 answers
DocumentProvider doesn't have permission to own ContentProvider
My Application Has 2 types of provider
DocumentProvider ( DP )is exported="true" required by the specs
ContentProvider (CP)is exported="false" required by the security
Basic communication flow is 3rd Application asks DP for some info and DP ask CP…

Vetalll
- 3,472
- 6
- 24
- 34
0
votes
0 answers
User credentials with DocumentsProvider
I'm currently implementing my own DocumentsProvider class in our Android app.
But in order for the user to get access to any documents in the application the user has to log in to our servers.
It seems like the only way to handle this is by telling…

stonecompass
- 547
- 9
- 27
0
votes
0 answers
Android DocumentsProvider from server storage
how would I pull the directories from a web service rather than local assets?I need to write a DocumentsProvider that shares documents located on a server. I am at a total loss at how to do this. The server has an API that allows me to retrieve…

Xevvii
- 101
- 1
0
votes
0 answers
Android, DocumentProvider, ParcelFileDescriptor, override getStream()
I am writing my DocuemtnProvider for Android OS. My application works with encrypted files. And i should return ParcelFileDescriptor on openDocument method.
I don't want store temp decrypted file. I Just want to override function like getStream()…

Vetalll
- 3,472
- 6
- 24
- 34
0
votes
3 answers
ViewController overlaps system navigation bar in Document provider
Presenting a view controller inside UIDocumentPickerExtensionViewController subclass overlaps the system navigation bar. The issue is only seen when compiled with Xcode 6.3 ( iOS 8.3 SDK ).
UINavigationController *navController =…

akc
- 582
- 2
- 6
- 23