NativeScript / nativescript-background-http

Background Upload plugin for the NativeScript framework
Apache License 2.0
101 stars 50 forks source link

Support for content://com.android.providers #194

Closed nericode closed 5 years ago

nericode commented 5 years ago

Is possible upload files without set a path ?

Example, I use:

let intent = new Intent(Intent.ACTION_GET_CONTENT);

for open select image, files, videos, etc. But the result is a: content://com.android.providers.downloads.documents/document/12 or other.

Is possible this or open support in the future?

tbozhikov commented 5 years ago

Hi @NeriCodec, I am not sure that I understand the question. Do you mean you want in your app:

  1. Show UI to pick an item (image/video/file)
  2. Upload the item to a service

If this is your case there is a sample app that integrates nativescript-background-http and nativescript-imagepicker:

Feel free to give them a try. See many other samples in the {N} Marketplace.

If you mean something else, please specify.

elena-p commented 5 years ago

Closing due to inactivity