Can't you just mount the sdcard on the desktop and read/write it as a normal Windows volume?
On Fri, Oct 31, 2008 at 1:54 AM, elDoudou <[EMAIL PROTECTED]> wrote: > > Hi. > > I need to write a desktop application (let's say under Windows to > start with), which needs to access the Android device SD card in read > and write mode, so that the application can upload/download files, and > create/delete folders on the remote device. > > Lately, I had a guess by using the Windows ADB driver, set the device > in "USB debugging" mode, and run from a Windows machine "adb -d pulll/ > push" commands. The problem is that the id of the Linux OS when using > "adb -d" is "shell", who is not granted any privilege in order to > write/read the "/sdcard" folder. > > My question is: > > 1. is it the right approach? In order to read/write files on the SD > card of an Android device (over the air or via a USB cable, no matter) > from a desktop/laptop machine, are there other options? > > 2. if this solution makes sense, do you know a way of either "adb > shell" on the device with a more privileged login, or lessen the "/ > sdcard" folder permissions, so that "shell" can read/write on it? > > Thank you for your attention and support. > Regards, > Édouard > > > -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---