Android :: How Can I Listen For SD Card Mounting?
Jan 17, 2010
I have a program that uses the SD card, so I want to be informed if the state of the card changes by registering a listener if possible. I'm aware of the Environment class and its methods, but I don't really want to be constantly polling the state. I'd rather not have my program force close when running cause someone mounted the sd card to their computer.
View 1 Replies
Nov 10, 2008
Not sure if it happened with the RC29 or RC30 update but they removed the setting option to "Allow File Browsing on Computer"(or something like that) from the SD Card Settings menu. I just got both updates pretty close together and I couldn't figure out why the phone wasn't showing as a Removable Disk in My Computer.Well, now when you connect the phone you will see a USB icon show up in your notifications bar. You have to select that and choose to "Mount" the phone/card. Done.Still not sure if I like the new way. Seems like unnecessary extra clicks to have to choose this option each time you connect the phone. What do you guys think?
View 5 Replies
View Related
Mar 1, 2010
I'm wondering how programmatic sd card mounting/unmounting can be achieved while the handset is connected to a pc via USB. I cannot find any managed API for that and also my jni attempts failed with errno: 1, [Operation not permitted] error.
View 1 Replies
View Related
Sep 19, 2010
Didn't have a problem with this before on my EVO and can't recall any settings I might have changed to cause this problem but when I choose the "Disk Drive" connection for "Connect to PC" it takes a long while (minute or so) for the drive to mount. I have the default connection to "Charge Only" but when connected to my computer and I choose the "Disk Drive" option the mount is SLOW. It SEEMS to get a bit quicker if I RE-choose "Charge Only" and then go back to "Disk Drive" to mount the SD card, however, like I said above, it is MUCH SLOWER than before. I used to choose the Disk Drive option and the mount would occur RIGHT AWAY. But not it is slow.
I have installed various apps over the weeks but only recently experienced this slowness. I recall some information about USB debugging conflicting with the SD mount but that option is turned OFF on my phone. Anyone know of any apps that might be known to conflict with the SD mount?
View 10 Replies
View Related
Sep 16, 2010
I have a rooted evo, fresh 3.2, and noticed this morning that my sdcard wasnt mounting, so i did a hard reset and now am stuck in a bootloop, i can enter recovery and bootloader, but since sdcard is not mounting can not preform a nand restore any ideas?
View 2 Replies
View Related
May 19, 2010
I have the Droid Eris 2.1 and today all of the sudden I cant save to my sd card. I can open it fine on the PC and drop files in it. The error says to make sure it is mounted correctly, i have done that and rebooted.
View 4 Replies
View Related
Aug 31, 2010
Has anyone else had any issues with their Droid 2 refusing to realize that there's an SD card inserted? I went through basic troubleshooting steps for this:
1) try a different SD card - no dice
2) format the SD card - again, nothing
3) factory phone reset - nothing
I have 3 cards: a 2gb, an 8gb and a 16gb. the 16 is what I had in my Droid 1 and it had no issues whatsoever!
View 10 Replies
View Related
Oct 26, 2009
Lately, my HTC Magic with Android 1.5 suffering problem of unmounting SD card whenever boot up, or leave running for a while.I'd installed a couple of apps lately, but now, I'm not sure what's wrong with my phone.I don't want to Reset to Factory Settings. Is there anyway I could pinpoint what's wrong with my phone?
View 5 Replies
View Related
Nov 15, 2010
I have been mounting my phone with my pc for quite awhile, then one day, it decided to be difficult. At first it took a couple, replugs to get it to recognize the SD card. Then, It stopped recognizing it at all. Depending on what USB port I use, I get different results from I/O error, to device not recognized.
Things I have tried:
-Every driver known to mankind.
-Plugging in every single usb port on the computer (including mobo)
-Disconnecting every usb device except for the phone
-Formatting the SD card (lost my photos forgot they were on there)
-Only used STOCK cable.
I'm out of ideas, and sprint claims this is not a problem with the phone on all the forum posts I've seen with similar problems. Has anyone actually found a solution for this other than thinking plugging it in the back of the computer actually fixes anything?
View 5 Replies
View Related
Jun 9, 2010
I have the latest Motorola drivers on two different laptops, but sometimes my SD fails to mount on the PC when I plug it into the USB. I am able to mount most of the time and do normal file operations, no problem. But sometimes I go into failure mode where no matter what I try the SD won't mount. I try rebooting the phone and laptop, trying my other laptop, uninstalling an app I suspect is causing a problem, but probably isn't, etc. Then, sometime later, for no apparent reason, I'll plug the phone into the laptop and suddenly it's working again. I see threads about SD mounting difficulties, but none that address an intermittent problem like I'm having. Any ideas about diagnostics, fixes, or preventive measures?
When it fails to mount, the symptom is that with many attempts, the phone will make the mounting sound repeatedly, but never mounts. Other times, it makes the sound once, as if it succeeded, but it doesn't mount. I've checked the log with aLogcat, but I see nothing that I can tell might be informative, but then I'm not an expert with that stuff.
I must say, the error is really vexing. Mounting works well enough to use the SD card for transferring files, but then just when you need it (to transfer something back) it fails.
View 7 Replies
View Related
Nov 12, 2010
I just picked up a Moto Droid X coming from the Droid Eris what a difference.For some reason it takes a very long time for my Win Vista laptop to be able to connect to the SD card. When I pull down the notifications bar and select USB storage, it takes about 5 minutes for the process to complete?I have checked to see if the Droid X has issues on a WinXP machine and it mounts right away. I have downloaded the Moto drivers, but wondering if anyone else has had issues with Win Vista.
View 2 Replies
View Related
Nov 1, 2009
Am I missing something? How do I make it where the laptop will see the moment? I don't see a place for mounting the sd card, only unmounting?
View 49 Replies
View Related
Feb 20, 2010
I have a HTC hero and Im having trouble "mounting" my sd card to my computer.Im running a windows 7 64 OS and have downloaded the HTC software update for my computer. I can now sync my phone but i cant get my pictures from my phone to my laptop. it shows the removable device for a second or two then disappears!
View 12 Replies
View Related
May 11, 2014
I have an LG Gpad 8.3 and its running on kitkat. I purchased a 32GB SD card to store some movies on so my son can watch them on our trip. I purchased a samsung 32GB SDHC card. I was under the impression that the HC was just for high capacity and that it would work in my device. I did not format it as I dont have a micro sd to sd card adapter. (have to stop on the way home today and get one). I popped it into my tablet and it recognized it. I actually saved a few pictures and one movie to it to make sure it was going to work. I set it up to transfer about 8 movies from my mac using the android file transfer client. It was all going smooth with only about 2 movies left when the card suddenly became "unmounted" and now it no longer will see it. Is the card toast?
1) if the MSDHC card is even compatible with my device as it doesn't say that anywhere, just microsd.
2)do I need to reformat it with a windows computer to a fat 32 file system and start over
3) did I kill the card by trying to transfer too much at once..(ie large files that would have taken about 1.5 hrs to transfer
View 8 Replies
View Related
Feb 12, 2014
I'm using celkon a112 smart phone i had rooted my phone with framaroot app and i had installed rom manger when I was changing font of system my phone stopped working now its stuck on boot loop i have tried installed cwm recovery but there's no option for mounting sd card to apply the zip file so any solution for mounting my extsd card.
View 2 Replies
View Related
Sep 7, 2010
Just updated to 2.2 and phone/sd card will mount to pc but then it randomly acts like it has been unplugged and plugged by in. For instance I was copying a 1gb file from the phone to the sd card and it was copying for all of 20 seconds then it was gone then it was back and wanted to know if I wanted to copy over the existing files that had been transfered before the disconnect (or whatever). It does this on both the sd card and the phone memory; anyone else have this problem? Have a solution? Oh, and this is done over the same usb cable I have been using for months without the slightest problem.
View 10 Replies
View Related
Aug 23, 2010
I was trying to install the latest Froyo update on my new galaxy i9000 and ran into problems. The update was JP3. First the phone kept on flashing i.e. screen off and on. and then i had to reboot the phone and same problem. I tried to flash it again with odin but this time I got an error message:
Update Media please wait
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory) E:copy_dbdata_media:Can't mount SDCARD:"
Your storage not prepared yet, please use UI menu for format and reboot actions
copy default media content failed.
When I boot it moves past the Galaxy I9000m screen shows me the galaxy screen with animation and sound, the screen then goes of leaving me with a black screen and the buttons lit.
Now, no matter what I do I kept on getting this message. I have a feeling that somehow it messed up the internal sd card of my device.
Is there a way I could repartition my card (if that would solve it) and then reinstall a froyo 2.2 update.
View 3 Replies
View Related
Aug 13, 2009
I am creating an app and the requirement is - I have to listen to the SD card for new data comes in. Whenever a new file is downloaded into SD card , I want to be notified. (or say , I want to listen for changes). Any code sample, link will be nice to have.
View 7 Replies
View Related
May 2, 2013
I am using SGS2 i9100g.
I have flashed from CM10.0, JB4.1.2 to pacman 3.00, JB4.2.2
ISSUES:
1. error mounting emmc and cannot detect external sd card
2. When i want to use camera or gallery, there is an error saying "No external storage available"
Attempted solutions:
I have tried the following but it does not solve my problem
1. re-flash the custom rom and gapps. (full wipe with wipe cache and dalvik cache)
2. reformatted my sd card to fat32.
3. went to recovery to unmount and remount my external sd card
4. tried to mount emmc in recovery but returns an error "error mounting emmc"
5. off and on and also rebooted my smartphone
6. tried these codes shown at the bottom(to manual remount)
- I have a storage folder which has sdcard0 which contains nothing, sdcard1 which contains my file in my external sd card and a usbdisk0 contains nothing also.
- Now i am not sure which is the cause of the problem where i cannot use my camera phone and gallery
View 2 Replies
View Related
Nov 17, 2009
i'm having trouble mounting my SD card.My computer found the device when i first plugged it up but the drive is not showing up for me to drag files to.I'm trying to drag some pictures onto my SD card
View 2 Replies
View Related
Jul 10, 2010
SD Card mounting via a front USB port stopped me typing under Ubuntu Lucid!
Plugging in via the front usb's stopped me typing!
Also other weird behaviour.
I was actually plugging the mouse in via PS2 to stop the issues I was having.
Ubuntu 10.04 Lucid 64bit, HTC Desire.
View 6 Replies
View Related
Nov 9, 2010
When I plug my phone in, it auto-mounts and its very annoying, anyone know what app is doing this? I keep finding apps that do it which I don't have.
View 4 Replies
View Related
Jul 16, 2009
When connecting the device to PC, it prompts to mount it as usb mass storage, is there a way to force it to auto mount?
View 4 Replies
View Related
Jul 27, 2010
I'm looking for a decent car mounting kit. I thought I saw one on mobile fun .co.uk but I'll be damned if I can see the original one I saw when I first got my desire. Does anyone have any experience of what to get / not get?
View 6 Replies
View Related
Oct 24, 2010
Rooted 2.2, stock kernel etc. No ROM changes (yet). Trying to xferr some media files from internal mem to SD card. Shouldn't be this hard! USB Debugging checked, rebooted phone, stock charging cable. Connect to PC, select "MOUNT AS DISK" option on phone; AUTOPLAY pops up, but then windows explorer refuses to open and locks up. Only fix is to unplug phone from computer. Booted into Clockwork Recovery and tried to mount system. Now when I plug phone into PC, I show two new drives (good) but then when I click on them in explorer, it says "Please insert a disc into external drive" (BAD). I don't think this should be that tough! Is this a rooted phone issue? A windows issue? A general Android OS issue?
View 3 Replies
View Related
Nov 6, 2010
I have a Live Wallpaper app that is working very well on Eclair but there is a strange issue with Froyo that I can't find any information about. The user is able to select a custom picture as a background from their gallery and it will be saved to internal storage (/ Snowflakes/CustomBG.jpg) and applied as a background to the live wallpaper. That all works fine until the user reboots their phone... The problem is that the internal storage doesn't seem to be mounted in time for when the live wallpaper starts and so it reverts to the default setting when null is returned (see code below). As I say, this problem has only been introduced with Froyo as Eclair works fine (the image is found and used so the internal storage must be mounted before the Live Wallpaper starts).
Here's the code that searches for the CustomBG.jpg image on startup...
CODE:................
Apologies for the code formatting - is there any way I can improve this? Anyway, I'd be very grateful for any help you may have... I can't find any information about this on-line so perhaps there's something wrong with my code?
View 2 Replies
View Related
Nov 27, 2010
contrary to what the title says , every time I plug my phone into USB it keeps UNmounting the SD card. Despite me having it set to charge only. Is there anyway to stop this?
View 15 Replies
View Related
Sep 12, 2010
It still says 'charge only' and not 'disk drive', yet when I plug it in I can still open the folder for Evo to view contents and on the phone itself, the SD card is unavailable.
I don't know what exactly I did to cause this. Its especially strange since it says charge only on the phone. Are there any common setting or app culprits for this?
View 3 Replies
View Related
Sep 15, 2010
Has anyone else noticed (after froyo update) that Verizon has added a drive when the phone get's mounted to the PC? One is for the phone, two is for the SD card and the third has some kind of Verizon software/drivers on them.
I know that this has been posted before but I've had trouble finding it by searching the forum. Does anyone know what this software is and if i can remove it so it doesn't appear every time?
View 1 Replies
View Related
Jun 8, 2013
When I connected my phone through cable it asks for formatting internal storage... After that I'm unable to mount sd and external sd also.. When I'm mounting sd card it shows "preparing sd card" and within a second it shows "sd card safe to remove".
View 1 Replies
View Related