from my galaxy tab s3, I can download and play videos offline with the Amazon Prime app if I save them to my internal storage. However, if I save them to my sandisk mirco sdCard (200gb), the downloads seems to complete successfully, but I cannot play the videos. The same offline watching works fine with Netflix.
Is this a known limitation of Prime, or is there some way to troubleshoot this?
a while ago GOOGLE and the ANDROID team had made it so that certain things cannot be accessed or written to the SD card due to exploits. it has been this way since 4.1 i think?
Unless there's an option to specify the SD card with the application, i doubt it
You did save the files using the application correct? or did ya move them from the Internal to the external? if you did this then that might be the issue. you will have to put the save path as the SD card if it allows it. if not, then blame google for screwing with how Android devices read/write permissions with the SD card.
also this really isnt the place to ask these question, you SHOULD contact AMAZON customer support....
looks like its an sd card issue, since I tried reformatting it both in my GalaxyTabS3 and on my fedora machine, and i get errors. false alarm...
Related
I created an Android app sometime ago. What the app does is basically download a list of files (images and videos) and play them in a loop (like a Playlist).
These files are saved in the default Android External Storage Directory. I get it using this method:
Environment.getExternalStorageDirectory().getAbsolutePath();
Until now I never had storage problems but testing the app on an old device (which has less storage capacity) I realised that I have a problem when the files (PlayList) size is bigger than the device storage capacity.
I have thought (and research) about using an USB stick, but I don't think that would be a good solution since I cannot know 100% sure the USB path (it can be different for each device).
Any ideas about how handle this problem? Maybe another solution instead of using the USB ?
Here is what I have researched:
How to access USB Path in android?
How to find USB storage path programmatically?
android How to write files to a usb memory?
Do you need to store the actual images and videos on the device - why not just store their location and get them dynamically. I've not used a recyclerView but I thought that it could do something like this, but could be wrong.
I am trying to recover deleted photos from android 4.4.2 lg g2's internal storage, As I cannot connect the internal storage as a USB Mass Storage or as an Disk Drive, I cannot run any of the data recovery software.
If there are possibilities to connect as an USB Mass Storage or Disk Drive, or if there is totally different method to achieve this, Please let me know.
Edit : Wondershare Dr.Fone for android seems to be the only software that can scan, but it does not retrieve encrypted Images.
The program that I would use at work to recover deleted files or files from a failing hard drive is called Disk Drill. The one we used was for OS X but it looks like there is also a version from windows.
Although from the years of use I had with it, it was able to recover files that were deleted as long as that part of the disk had not been written over again. It will scan the disk and literally grab every file it can, even things that might be half way deleted or corrupt. If the device was encrypted it might have a more difficult time getting files back. I have not used it on a android devices but I would give it a shot.
The Problem
My app supports 4.0+ and it is all about file handling. It works perfectly in all Android versions except Kitkat.
In Kitkat, my app is unable to modify or write any files in SD card. But I see various apps like,
1) Solid Explorer
2) ES File Explorer
3) CamScanner
4) UC Browser
All of these apps give write access to SD card even in Kitkat devices without even root access.
Requirements
I need to have a fully functional way to create or modify files stored in the SD card in Kitkat. I seems to have troubles a lot of users and a proper solution will help many developers like me.
Yeah I came across that problem as well. After a lot of reading across the web the solution is to write only in your app folder (Ex: /sdcard/Android/data/packagename).
About those apps, on my s4 mini, es explorer cannot delete from external sdcard, so I think is different from device to device.
If the devices is routed change the permissions to gain write access anywhere on the sdcard.
My friend is testing my application which uses the SD card to store some settings. He has a Samsung Galaxy S2 but he just told me that he hasn't got an SD card in his device. It seems that the device created a folder in the phone's memory which simulates the existence of an SD card and that is where all app files that used the Sdcard are stored.
Is this a feature available for all Android devices? Should I consider the fact that there is no SD card on a device or should I not bother? Not sure if I should check for SD card availability in my app or not.
P.S. I've just noticed that the same goes for the emulator if I don't specify memory for the SD card.
You definitely should check for sdcard availability. On some devices it might work (as you said), but on some not, and you could get a FileNotFoundException.
So it's worth checking.
String state = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED.toString().equals(
state.toString())) {
//////then do your work here////////
}
another solution: https://stackoverflow.com/a/7429264/6451573
I am having very Strange problem with my Samsung Nexus with Android 4.0.2. I wrote a simple program which basically create file each time user presses a button. My program is working great on other devices where as on Galaxy Nexus Windows/Mac can not see those files on SD card, but when i do adb shell i see all files on SD Card.
I retest this on another Nexus which has Android 4.0.4 but still same result.
What could be the reason?
You probably need to index your files via MediaScannerConnection. Quoting myself from a blog post from last year:
...the MTP contents are not based on the literal contents of external storage. Instead, MTP contents are based on what files have been scanned by MediaScannerConnection. If you write a file to external storage, until and unless that file is scanned by MediaScannerConnection, it will not be visible to users over MTP.
External storage is scanned on a reboot and possibly on a periodic basis. Users can manually force a scan via utilities like SDRescan. However, the best answer is for you to use scanFile() on MediaScannerConnection to update the media database after you close your file. This will make your file immediately available to the user.