[android-developers] Re: uploaded file on Google drive , bbut onActivityResult returnd 0
Hi Martin,
Thanks for correcting me , this is a test application, so didn't bother abt hard coded values. it isuploading file.
My problem is that i am using a intent to uploada file, but i want to perform some action once file is successfully uploaded . can you help me to find out the solution.
i spend some time but only way which i found is to listen notification using accessibilityEvent.but no luck :(
On Friday, June 21, 2013 9:43:56 AM UTC+5:30, Martin Krischik wrote:
--
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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home