Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get path/url of selected file? #7

Open
mourada opened this issue May 11, 2014 · 5 comments
Open

how to get path/url of selected file? #7

mourada opened this issue May 11, 2014 · 5 comments

Comments

@mourada
Copy link

mourada commented May 11, 2014

I need path file of sound file for copy.
is it possible?
thanks you

@richpixel
Copy link
Owner

Hi
Getting the path is not possible currently, but perhaps I can add this soon. Do you need iOS, Android or both?

-rich

@mourada
Copy link
Author

mourada commented May 13, 2014

Hello

i am working in a multi platform application, i prefere both but i will be very happy if
only forAndroid for this application:
https://play.google.com/store/apps/details?id=air.com.benandroid.airMp3&hl=fr

thanks very very much!

Mourada

@richpixel
Copy link
Owner

Ok, this is easy on iOS, but I'm not that familiar with Android... are you looking for the EXTERNAL_CONTENT_URI, or the INTERNAL_CONTENT_URI?
http://developer.android.com/reference/android/provider/MediaStore.Audio.Media.html

@richpixel
Copy link
Owner

Or - the SongPickerEvent.ID already contains a uri on Android. Is that what you need?

@mourada
Copy link
Author

mourada commented May 13, 2014

thanks for yours answers.

your id is like content://media/external/....299 for example

i want like file:......mySound.mp3

i want make

var destination:File=File.desktopDirectory.resolvePath("newSound");
soundPicked.copyTo(destination).
for this, i need soundPicked url:path

...then zip the file with others files

thanks again

Mourada

2014-05-13 17:49 GMT+02:00 richpixel notifications@github.com:

Or - the SongPickerEvent.ID already contains a uri on Android. Is that
what you need?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-42973416
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants