How to know if an Android App stores data on SD Card? - sd-card

This is a research question. I want to know if an Android application stores any data on SD Card. By installing and looking at the directories on SD Card, I know whether an app stores data on SD Card. But, is there an automatic way or tool to know this? Additionally, do you know in which directory the data is stored?

Look in Android Configuration menu, Application Management, and select the application. It will tell you if SD card storage is used or not and how much.

Cedric Simon is correct, but you can view apps data on the sdcard by navigating to the "android" folder on your sdcard, that is where a few apps save there data but apps can save in any location on your sd card and the folder containing data usually has a "." in front off the name to hide the folder from view, for example /sdcard/example (Un-hidden) and /sdcard/.example (Hidden), there is an option to show hidden files/folders on most file explorers.

Related

It's possible to create an offline app using flutter

I want to develop offline book reading app using flutter. There is any way in flutter so that user can access book offline.
you can put data in form of json and load data when you requires it
you can read more about it here
https://flutter.io/assets-and-images/
You can download the images/pdf files of your book in the device storage (External Storage) by asking user like
"Hey! Do you want this to be available offline? Cool, click the button and grant the storage permission in order to proceed".
After this, you can download the files from the server in device external storage and use it. Simple!

How to support OTA video in custom web app (for LG TV)?

I've searched considerably for this answer (including all WebOS, Enyo, LG specific documentation, and countless Google searches), but have turned up nothing.
In short, the goal is to develop a WebOS application that can resize an existing video stream (coming from coax or HDMI), unfortunately ...
Update: This is a web-based app that resides on a server.
After specifying the IP address (via hidden config menu), the TV saves and exits, without any channel scanning, or additional setup. Upon reboot, it displays the index.html page at the specified IP address.
So, unless there's a way to explicitly configure OTA sources within the web application, I'm assuming that any OTA video will have to be provided via streaming.
WebOS offers a way to specify media sources from files -- so, is there any way to point to a video file that's perpetually streaming an OTA source?
Is Plex, or Sling capable of this?
Any direction that can be offered is greatly appreciated.
original answer: I'm not sure this is going to be possible. I believe only system apps are going to have access to the video pipeline.
new answer:
If you can configure your OTA stream to go over HLS, then you can use an m3u8 playlist for your <source> and it should "just work" on a webOS TV.
It's been a while since I posted this, and I've learned a great deal about this topic since then. So, for anyone who may run across this, with the same question -- here's the answer ...
When it comes to LG Smart-TVs their are two configuration options specific to commercial TVs (Lodging and Hospital models) ...
"Pro:Centric Wizard" and "EZ-Manager"
The Pro:Centric Wizard is intended for hospitals and won't automatically import TV configurations from a server, but it can scan for channels.
The EZ-Manager option is intended for lodging/hotels and provides a great deal more control, but the TV configuration and channel listing must all be obtained from a server (or usb drive).
Modification of the TV settings and channel listing is performed by using the FTG File Manager.
Downloadable Stand-alone Application:
http://www.lg.com/us/business/display-solutions/ftg
Online Version:
http://cct.procentric.tv/ftg_manager
Channels must be either manually programmed within the FTG File Manager, or imported from a TV clone file (created after the TV has performed a channel scan).
In order to create a clone file of scanned channels ...
Initiate the "Pro:Centric Wizard" setup process
Scan the channels
Complete Setup
Once the TV restarts, hit "Menu"
Highlight the "General" or "Settings" icon (should be "Settings") and hit "7" seven times (or until clone menu appears).
The option to export to USB will only appear after pressing "9876" on the remote.
Once the file is exported to USB, it can then be opened within the FTG File Manager and edited for server delivery through the "EZ-Manager" setup.
Hopefully this will help someone. :)

Is there any limit of file size in the Document of IOS app

I want to write a app to download and manage files from the web.If I just put the file in the Document. Is there any limit of file size or can I load another app to read the file in the Directory?
I don’t think there is a limit to how big a file you can put in your app’s Documents directory other than the amount of free space left on the device.
No, other apps cannot access the contents of your app’s Documents directory—that’s the entire purpose of the sandboxing system. What you can do is use the UIDocumentInteractionController class with a file you’ve downloaded to present the user with a list of apps that can handle opening that file.
The filesystem would limit the size to 4G, but im sure the iOS limits it even further.
No two apps can see each others files, unless the user export/import them via iTunes, or you set the app to be in the list of options when you hold down the link and the "Open In..." popup appears.
Check out the UIDocumentInteractionController Reference.
And UIActionSheetDelegate Reference.

downloading files to iphone app from apple store

My application is somehowe a library, represented by a UITableView, each row displays three book icons, pressing on any icon would cause the app to navigate to a scrollview that scrolls between the book pages.
Each book is represented in the resources directory by two things :
1- a .plist file, eg : Book1.plist
2- a folder containing images ( each one corresponds to a book page )
I want to allow the user to buy new books, so if he wants to buy a certain book, what happens is that the new book's "plist file" & "images folder" are downloaded to the application, and then the book is automatically displayed in the UITableView (I have done this last part, which is : adding a new plist file to the app would update the UITableView with a new book icon).
SO how can this downloading thing be achieved ?
I think that the user, when clicking on the "download new book" button, should navigate to apple store webpage which contains the books that should be downloaded right ?
Then buying a book would directly download the "plist file" & "images folder" to the application, but how can this be done ?
Please can anyone offer a detailed help, and thanks in advance
You probably want In-App purchase, with a few caveats:
In-App purchase is entirely in-app. There is no "apple store webpage" (do you mean "App Store"?); you do the UI yourself, and then ask StoreKit to authorize the transaction
The App Store does not store extra content for you. Either you bundle the books with the app (i.e. the "purchase" unlocks content that has already been downloaded), or you use your own server (or Google App Engine, Amazon EC2/S3/CloudFrount/whatever) to serve the content.
EDIT:
The only way to add bundled books is to release an update. This generally involves a 1-2 week delay and is prohibitive if your books are big.
It's entirely trivial to rename .ipa to .zip and unzip to get the resources (the binary is encrypted but the resources aren't), so you might want to add encryption (encryption for DRM-like purposes doesn't require CCATS classificaton/exception/whatever).
Writing a webserver is out of the scope of this answer. An easy way is to just stick static content in a hidden directory on a server somewhere; the "proper" way is to have the app send the App Store transaction receipt to the server, verify it on the server, and deliver the content only if verification passes. I'm not sure if there's open-source code or a proprietary service which lets you do this without writing your own code.

Sample Contacts on Android Emulator for Testing?

Short of a) using a real device, or b) exporting/importing contacts via SD card ... then creating the SD card 'file' for the emulator, and importing it after each emulator launch ... is there a more turnkey (saner) way to get a set of sample contacts onto the emulator for test purposes?
Easier than I thought! Whew.
When creating your Android Virtual Device (AVD), be sure to create a SD card of nominal size. (I used 20MB, which is plenty big for my purposes.) That's it in a nutshell.
Start the AVD, launch Contacts, tap Menu and create a few. When you close the AVD and launch next time, the contacts are still visible. Same thing goes for email accounts.