Android :: Directories And Files On External Storage Are Invisible
Oct 11, 2010
I have created a directory and even a file in that directory on the external storage, I am able to read and write into that but the problem is they are not visible on the emulator i.e, in the phone.
View 17 Replies
Jan 1, 2010
It'd be convenient if an application I'm writing stored some files to external storage permanently (so they persist after the application has been exited[destroyed]), but on an uninstall I'd like to do the decent thing and have these files removed to free up the storage.
Is there any way I can have these files removed on an uninstall?
If there isn't (and I'm skeptical), then I'll have to create these files each time. I'm trying to save start-up time and also occupy required space by having them exist permanently.
Note: I need to use external storage, so both internal storage or a DB would be inappropriate.
View 1 Replies
View Related
Aug 11, 2010
Is it possible to create files in subdirectories created under "/data/data/packagename/files/" directory using openFileOutput method in android?
ie there is a sub-directory by name "text" inside the "/data/data/packagename/files/" directory.
I want to use the openFileOutput (String name, int mode) method to write a file eg:sample.txt into this directory....Is it possible to use openFileOutput method to do it....
View 1 Replies
View Related
Sep 15, 2010
I cannot create directories and files on sd card.
This is the simple example:
code:.................
View 2 Replies
View Related
Nov 13, 2009
Is there a program for the Android OS that allows to to access your files and directories, like 'Windows Explorer' does on your desktop pc? I have some audio files that I would like to move to the ringtone directory.
View 4 Replies
View Related
May 27, 2010
I have images uploaded on the simulated sdcard on my emulator. I downloaded them from the browser, using the long-click on each image.
When I look at the file explorer in the DDMS perspective, I see that they are in the directory sdcard/download.
Now if I want to download some audio files and use them in an app to, say list the title of all audio files, will they go in the same directory? (I am trying to push the audio files manually from my computer to the emulator).
This doesn't seem right. Shouldn't the media files of different types (pictures, audio, video) go into different directories?
Also, thinking this through a little, how is something like this related to the physical directory on the sdcard?
Uri mMedia = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI;
View 1 Replies
View Related
Jul 18, 2009
I'm storing my Android project in a Subversion repository. After recently shuffling a bunch of stuff around I started getting tons of errors like: syntax error entries/project_name/src/.svnline 1Android AIDL Problem syntax error don't know what to do with "" entries/project_name/src/.svnline 28Android AIDL Problem etc.
It seems as if Eclipse is trying to build the files in the .svn directories now. This setup used to work fine.
View 7 Replies
View Related
Oct 23, 2010
I've experienced a strange issue running applications on the HTC Desire.
When I call getApplicationContext().getCacheDir() or getApplicationContext().getFilesDir() from my activity this always returns null. In the emulator /data/data/com.myapp.android/cache respectively /data/data/com.myapp.android/files is returned.
Because of that I'm not able to use the webview class as it tries to create cache files and crashes with a null pointer exception. The logs:
CODE:..............
I noticed that other apps have issues as well. For example the google finance app logs the following message:
CODE:.............
Why I cannot create folders in this directory?
Is there a possibility to set the fileDir and cacheDir paths to the sd card or somewhere else? I looked at some classes like Context, Webview and CacheManager but I could not find a way to change it.
Do I need to set a permission to create cache files?
View 2 Replies
View Related
Nov 14, 2010
How to programmatically move copy and delete files and directories on SD(android)
View 1 Replies
View Related
Mar 30, 2010
I need to generate a changelog of sorts between two Tags within a project controlled using git. Specifically the android source code. This list should include any files/directories/etc which have been edited, moved, renamed, deleted, created. and if you have a way to do this over the entire android source at once... even better.
View 2 Replies
View Related
Sep 23, 2010
can I delete these.. anyone know?
on phone
/cache/ has about 20+ different "downloadfile.jpeg" and "downloadfile.apk" files? can I kill all of these off?
/sdcard
._.TemporaryItems (dated feb 10th) - can I delete?
._.Trashes (dated feb 9th) - can I delete?
._[] (dated feb 11th) - can I delete?
View 5 Replies
View Related
Jul 20, 2010
I may opt to buy a larger 16GB card for my Dinc to replace the 2GB card that came with it that I've been using for weeks. Will it just be a matter of copying all the files and directories from the old card to a temp folder on my PC and then copying them back to the new card once installed in the phone? Don't want to lose what I already have on my 2GB card.
View 3 Replies
View Related
Dec 27, 2009
I find it kinda annoying that recordings made the voice recorder application show up in the music player. I'd like to have only my music play when I set it to shuffle. I have all my music in a folder called music. Can I limit the music player to search in that folder only?
View 1 Replies
View Related
Nov 20, 2010
I successfully partitioned EXT3/FAT32, rooted, and flashed Defrost.
Now a strange thing is occurring. I installed an off market app, but I can only see its folder in Android's File Manager, not in Windows XP.
This is going to cause me serious problems because I need to transfer some files into that folder from my PC.
How can I access this App's folder in Win XP?
View 18 Replies
View Related
Apr 30, 2010
Is there a way to access an external mass storage device from the USB port of an Android phone? I have a project I'm working on, but I'm stuck on that part.The goal is to plug my DSLR into the phone's USB (I made a specific cable to do just that) and access the pictures from the phone, then with my phone running an FTP server app broadcasting over WiFi, access the pictures on my camera from my computer.I'm stuck on accessing the files on my camera from Android. Is this even possible?
View 8 Replies
View Related
Jun 4, 2010
Are there Android API's to access data from an external USB device, such as a hard drive? I need to write an app to interface with an external usb device, is this possible? What system calls are used?
View 2 Replies
View Related
Aug 18, 2010
I've started seeing some apps that offer to read/write data to the internal phone memory (like Super KO Boxing 2, which offers to save a whopping 52MB to the phone memory). I suppose this is because newer Android devices have a lot of internal storage, as opposed to my devices, which have very little. I would like to support internal storage in my app as well.
But it's a bit difficult to implement a solution to something that I don't really know how it works. For example, do these newer devices allow users to upload files to the internal memory, like it's possible to do with the SD card? Can someone explain internal storage from an user perspective and recommend strategies for supporting read/write operations both for internal and external memory (ie: letting the user choose which memory to use at startup, like the Super KO Boxing 2 app)?
View 1 Replies
View Related
Oct 3, 2010
I have a question about where people expect me to store my application data. I have an application where the user will enter information via the keypad, and download information (including images) from a website. Where is the proper place to save this? Internal or External Storage?
View 5 Replies
View Related
Jul 6, 2010
I have an app that accesses music and I had at least one user complain that some of his songs are on internal storage and that causes a force close. My question is do I have to do 2 calls for each song now or can I make a query that will look at both the internal and external memory?
View 1 Replies
View Related
Jul 24, 2010
I would like my Activity to be informed when the SD card is removed, since it relies on files from the SD card (to keep apk size down) but for compatibility reasons is not targeted at Froyo. I'd like to close the application when the SD card is removed/mounted (giving the user a dialog message to inform them of course) so that I don't get IOExceptions etc (I'd quite like to not have to check everytime I load a file to see if the external storage is available, I already do a check on application launch). There doesn't seem to be any attribute in the manifest for this (like configChanges) that I can find.
View 5 Replies
View Related
Jul 2, 2010
How do you check if the SD card is full or not so that your application can decide if it can continue to do its job i.e. write to external storage or notify the user that storage has run out of space.
View 3 Replies
View Related
Jun 25, 2013
I flashed CM 10.1 Final Release on my Sprint GS3 and whenever I try to use the camera or gallery, I get a message saying "No external storage available." SPH-L710
View 9 Replies
View Related
Nov 5, 2010
In my application I load a couple of images from JPEG and PNG files. When I place all those files into assets directory and load it in this way, everything is ok:
CODE:..................
But when I try to load the exact same images from sd card, I get an OutOfMemory exception!
CODE:..............
This is what I get in the log:
CODE:...........
UPDATE: Tried both of these on real device - it seems that I can't load more than 12MB of bitmaps into whatever is called "external memory" (this is not an sd card).
View 7 Replies
View Related
Sep 20, 2010
I am storing image in External storage using MediaStore,and send email with attach that image,image saved and sent email with attachment is working fine,i want to delete that image in external storage after mail sent.anybody knows,please give sample code for me..
View 1 Replies
View Related
Mar 9, 2014
Recently I started using 32GB card with my Micromax Canvas HD and everything is working only for when I try to connect my mobile to PC for file transfer via usb storage I can see only two drive one of CD drive of mmx and other internal sd drive and I can see one more drive but it is not mounted which is my external sd drive when clicked on it, it asked to enter disk.
Solution tried so far by me
1. I have erase external sd card in mobile itself.
2. Reset the entire phone.
3. Uninstalled the mmx driver on my PC and reinstalled it.
View 1 Replies
View Related
Oct 2, 2013
I have purchased iball slide 3G 7271 ( 3G model ) (Android version 4.0.4) in India. Available Interneal SD memory 2GB.I have external micro SD card slot expandable upto 32GB.
I have downloaded and installed many games in it...but now whenever I try to download new ones , it says "INSUFFICIENT SD MEMORY"
In order to use my external SD card for installing the games and other things....
I have gone through Google search and found ""FolderMount "" software and downloaded to my tab.
I have installed also. It was successful.when I open FolderMount, it says......""serching for root "" ( with one EXIT button to cancel)....and doing nothing beyond that.
View 5 Replies
View Related
Sep 2, 2009
From the Android documentation:
"You can store files directly on the mobile device or on a removable storage medium. By default, other applications cannot access these files. "
I could write to the sdcard (/sdcard/file.tmp) and other apps could access these files, right?
I would like some local storage that I can write files to (and read from later) that are not accessible to other applications, and I will always have access to. The problem with the sdcard is that if someone plugs in a USB cable and turns on MSC, my application (and all applications on the phone) will lose (both read and write) access to the /sdcard directory. So I need something more reliable.
View 8 Replies
View Related
Oct 18, 2010
Does anyone know how to access programatically the internal(flash) and external(sd card) storage values such as space used and space available? I cant seem to find an api anywhere?
View 4 Replies
View Related
Oct 9, 2012
None of the Google Applications support external storage, Gmail 4.1.2 won't send documents attached from an external sd card, Play Movies & TV won't allow you to specify a external card as a storage location, pinned Google Drive documents can't be stored on an external card, Play Music sucks up internal memory. Try sending an attachment using Gmail from a Motorola Xoom, a "Google Experience Device".
How do we get Google to support this? Most other email applications support it, but as a Google Apps Enterprise user I want and expect the native Android email application to work.I use external storage on a Galaxy Note 10.1, Galaxy S3, Razr Maxx and Transformer Prime.
View 1 Replies
View Related
Oct 15, 2013
So I have this GT n7000 with android 4.0.4 ICS, rooted. I want to swap my 32 gb external sd card with my internal one. I googled it, found a method that included replacing a vold.fstab file in system/etc but that was only for jellybean. I need a method for ICS. Also I can't understand what usb storage means. Is it different form internal sd card??
View 5 Replies
View Related