Is there any way of writing files to the SD card of an Android device when it's connected to a computer?
I want to be able to interact with the SD card in Android device when it's connected to 开发者_JAVA百科a computer as a disk drive. Is this possible? Most pages I've seen so far suggest it's not.
No, the SD card can only be mounted by either the phone or the computer, not both at the same time.
Cool. That's just what I thought.
Some developers have created debugging tools that can work standalone on a device. For instance, there is aLogcat (downloadable from the Market). aLogcat is one that I use a lot. There is also Log Collector, CatLog, and Log2Sd.
But in your case, you'll want to get TraceViewer (which is also downloadable from the Market). Now I don't know if that tool is any good, but it should do what you want, and with time, it may improve (just like aLogcat improved over time).
When I plug my Droid into the USB port of my laptop a USB icon appears on the status bar(at the top). From there, I slide the status bar down to see the notification area. There is an option that says USB connected. I select it and a screen comes up that says mount USB. Then on the laptop when I go to My Computer there is a new drive listed in the file manager. I am able to 'interact' with it the same as any other hard drive(i.e. copy, move, delete,...).I cannot use it from the phone again until I unmount it. I don't know if this applies to your phone model or even answers your question.
精彩评论