English 中文(简体)
进入SD卡的行为
原标题:Android move to SD card behavior

I have an application that downloads most of the resources from the internet during run time. Most of those resources are images.

我不想让用户看到这些图像出现在彩虹应用中或任何其他应用中。 这一要求对我至关重要,因为:

  1. I m tracking which resource was downloaded and which need to be download later.
  2. All those resources would be meaningless to the user and would irritate him.
  3. I don t want the user or any other application to delete those images

Note: I m aware to the fact that rooted users can do what ever they want and I don t care that those user will mess up the app.

满足这些要求 我使用内部储存,并按我的期望和需要开展工作。

I do let the user to move my application to the SD card, But:

  1. what is happening to all the files that I saved in the internal storage and to the DB?
  2. Are they all moving to the SD card with the application? Do they stay in the internal storage?

I believe that they do stay in the internal storage, but I haven t found any documentation for it.

And after I ll understand the behavior it raise few other questions. The only requirement that I have is that the resources would be downloaded from the internet and that the user won t see them in any other application. I don t really care where those files are being saved, I think that if the user decides to move the application to the SD card it is since he has lack of memory in the internal storage, therefor I should transfer all my resources to the SD card.

  1. Can i save something on the SD card without those files to be public for all?
  2. What is the best way to handle this situations?
  3. What option do I have to handle this situation?
  4. Can I know if the app is installed on the SD card or on the internal storage?

我感谢大家的所有见解和建议。

最佳回答

关于美术馆没有看到的图像,你应当把一个没有媒体的档案放在有你形象的夹中。 例:image Freedomss (don tech Let them in gallery)

关于社发司的特点,我也希望把这个问题推向前进,因此我不能帮助你:

实用答案:

问题回答

暂无回答




相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签