Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old May 3rd, 2010, 01:47 PM   #1 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 5
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default SD card Mount and dismount- not the basic questions

In browsing the various threads, I see many mentions of mounting and dismounting the SD card from the USB host.

Who can tell me about the underlying mechanism to accomplish this?. What I need to do is mount and unmount the SD card to/from the host from within my App, or from ADB.

Where can I find docs on the mechanism.?

chenderson is offline  
Reply With Quote
Sponsors
Old May 3rd, 2010, 07:18 PM   #2 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 5
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me phrase the question better.

I can turn ON and OFF the USB storage, by pulling down the top bar and selecting that option. When I turn it off, android mounts the sd Card at /sdcard and the PC cannot read the mapped drive. When I turn it ON, android umounts the /sdcard mount point and the PC can read the mapped drive.

I see all this in adb shell.

Running windows XP on the PC. The phone is a nexus 1.

What I need to know is, when I turn ON or OFF the USB storage, what is actually happening below? What is pressing that button actually doing? Or what API is it using, what mechanism?

Any help would be appreciated.
chenderson is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Car mount - *basic* questions, please help! blugrss4ever Droid X - Accessories 6 October 6th, 2010 11:34 AM
Support Let's talk WiFi -- some basic and not-so-basic questions Johnny Cakes Samsung Moment 12 September 25th, 2010 11:01 AM
What is causing my sd card to automatically dismount? A.Nonymous Incredible - Support and Troubleshooting 0 September 7th, 2010 06:36 PM
Basic questions stanw Developer 101 4 August 6th, 2010 05:39 PM



All times are GMT -5. The time now is 12:19 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo