Am Donnerstag, 20. Juni 2013 10:59:19 UTC+2 schrieb Ana:
>
> Log.i(LOG_TAG, "serviceUpload start");
>         Uri pdfUri = Uri.parse("file://storage/emulated/0/myfile.txt");


Hardcoded URL? To the root of the sdcard? And only two forward slashes 
after «file:»?

Does not get more wrong!

You should use android.content.Context.getExternalFilesDir and convert the 
result the proper way. There is a function to convert path names to URI. I 
forgot the name — google it yourself.

Martin

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to