除便携性之外,是否有任何其他优点(或缺点)在外部存储器上存储应用程序? -- external-sd 领域 和 performance 领域 和 app2sd 领域 android 相关 的问题

Other than portability, are there any other advantages (or disadvantages) to storing apps on external storage?


简体版||繁體版
26
vote

问题

中文

在Android设备的外部存储上存储应用程序是否有任何特殊的优点/缺点?当我有一个nexus s时,我想不出对我的优势,因为我无法删除存储,内部存储器也足够了解我的需求。

我注意到在手机启动时,当我拥有所有的应用程序时,我的所有应用程序都移动到USB存储时,请在菜单/主屏幕上注册所有应用程序非常迟缓。

我还阅读了从存储在外部内存上的照片中设置的壁纸的某个地方实际上与所有读数一起排干相当多的电池(虽然我认为这可能是一个错误)。

english

Are there any particular advantages/disadvantages to storing apps on the external storage of an Android device? As I have a Nexus S, I can't think of advantages for me as I can't remove the storage, also the internal storage is more than enough for my needs.

I noticed that on phone start up, when I had all my apps moved to USB storage it was quite sluggish to register all the apps on the menu/home screens.

I also read somewhere that having a wallpaper set from a photo that was stored on the external memory actually drained quite a bit of battery too with all the reads (although I think this may have been a bug).

        
   
   

回答列表

25
 
vote
vote
最佳答案
 

优点:

  • 在内部存储器上扩展可用空间以安装更多应用程序。
    虽然应用程序的某些部分仍然留在内部内存(数据和设置)上,但它仍然可以释放大量空间。对于具有150MB的自由空间(G1,MT3G等)的较旧手机这是一个巨大的改进。对于这些设备的所有者来说,这种优势仅超过了这种方法带来的任何缺点。

缺点:

  • 如果未卸载,则不能使用应用程序移动到SD卡。
    一种自我解释:如果您取消安装SD卡以删除,则需要停止驻留的应用程序,也可以防止崩溃和数据丢失,如果您删除卡。
  • 无法在将这些应用程序移动到SD卡时使用小部件或同步适配器。
    这是一种从上面的设计限制。由于存储在SD卡上的应用程序需要按需删除,因此挂钩您的帐户设置(例如Skype,LinkedIn)的小部件或应用程序将崩溃,因此没有简单的方法来重新启动它们。因此,谷歌通过要求这些应用程序留在内存中来妥协。即使您确实可以强制他们到SD卡(一些自定义ROM允许这个),您也无法使用它们。
  • 更长的启动和关闭时间,系统安装/未安装SD卡上存储的所有应用程序。
    将移动到SD卡的应用程序不存储在平原视线中以防止猖獗的盗版。相反,Android设置了一些空间并为您移动的每个应用程序创建虚拟分区。这意味着在初始启动时,可以访问存储在其上的应用程序之前,所有这些虚拟分区都需要安装。当您关闭手机时,相同的保留 - 在其他关闭进程发生之前,每个虚拟分区都未安装。根据已安装的应用程序的数量,系统可以额外延长甚至更长的时间,使系统在启动时"稳定" (以及约20秒才能关闭。)一旦发生这种情况,就会启动这些应用程序比内存更长的时间。
  • SD卡上的额外磨损。
    这一点是值得争辩的,因为写入SD卡(导致磨损)不会经常发生。此外,这些日子的SD卡足够便宜,不能担心他们的生命时间。
  • 应用程序需要更新以支持此功能。
    无法自动授予旧应用程序移动到SD卡的能力。开发人员必须更改其应用程序以支持此功能,并通过市场(或它们使用的任何分发方法)发出更新。)可能不再支持某些旧的应用程序,因此可能永远不会获得此功能。虽然一些自定义ROM可以覆盖这一点,但对于正在运行股票固件的大多数人来说,这是一个问题。

对于具有千兆字节的内部存储器移动应用程序的缩小设备,而不是必需的,因为空间不是问题。然而,对于带有低内存的手机,这是一个可宝贵的工具,延长了他们的业主的保质期。

 

Advantages:

  • Extend the available space on internal memory for installing more apps.
    Although some parts of the app still stay on the internal memory (data and settings,) it still frees up a significant amount of space. For older handsets with 150MB of free space (G1, MT3G, etc.) this is a huge improvement. For owners of these devices this advantage alone outweighs any disadvantages that this method brings.

Disadvantages:

  • Cannot use apps moved to SD Card if it's unmounted.
    Kind of self-explanatory: if you un-mount the SD Card for removal, the apps that reside on it need to be stopped and um-mounted as well to prevent crashes and data loss if you do remove the card.
  • Inability to use widgets or sync adapters when you move those apps to SD Card.
    This is a design limitation that stands from the above point. Since the apps stored on SD Cards need to be able to be removed on demand, things like widgets or apps that hook into your account settings (e.g. Skype, LinkedIn) will crash, with no easy way to re-start them. So Google made a compromise by requiring these apps to stay on internal memory. Even if you do manage to force them to the SD Card (some custom ROMs allow this), you simply won't be able to use them.
  • Longer boot-up and shut-down times when the system mounts/un-mounts all of the apps stored on SD Card.
    Apps that were moved to SD Card are not stored in plain sight to prevent rampant piracy. Instead, Android sets aside some space and creates a virtual partition for each app that you move. This means that at the initial boot-up, all these virtual partitions need to be mounted before apps stored on them can be accessed. The same holds true when you turn the handset off - each virtual partition is un-mounted before other shutdown processes can happen. Depending on the number of installed apps this can take an extra minute or even longer for the system to "stabilize" upon boot-up (and about 20 extra seconds for shutting down.) Once this happens though, launching these apps doesn't take any longer than those on internal memory.
  • Extra wear on the SD Card.
    This point is debatable, since writing to SD Card (which causes wear) doesn't happen that often. And besides, the SD Cards these days are cheap enough to not worry about their life time.
  • Apps require an update to support this functionality.
    Ability to be moved to SD Card is not automatically granted to older apps. Developers must change their apps to support this feature and issue an update via Market (or whatever distribution method they use.) Some older apps may not be supported any longer, and so may never get this feature. Although some custom ROMs can override this, for most people that are running stock firmware, this is a problem.

For newer devices with gigabytes of internal memory moving apps to external storage is not necessary, since space is not an issue. However for handsets with low memory it's an invaluable tool that extends their shelf life for their owners.

 
 
     
     
31
 
vote

直接从 Android开发人员网站

  • 随着外部存储安装在设备上,只要将外部存储安装在"应用程序" 性能上没有影响。
    • .apk文件保存在外部存储器上,但所有私有用户数据,数据库,优化的.dex文件和提取的本机代码保存在内部设备内存上。
    • 存储应用程序的唯一容器是用随机生成的键加密,该密钥只​​能由最初安装的设备解密。因此,安装在SD卡上的应用程序仅适用于一个设备。
    • 用户可以通过系统设置将应用程序移动到内部存储器。

也 - >不应该在外部存储上安装的应用程序(在 Android Developer站点

上)
  • 服务
  • 报警服务
  • 动态壁纸
  • 现场文件夹
  • 应用程序小部件
  • 帐户管理者
  • 同步适配器
  • 设备管理员
  • 广播接收机侦听"启动完成"
 

taken straight from android developer site

  • There is no effect on the application performance so long as the external storage is mounted on the device.
    • The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.
    • The unique container in which your application is stored is encrypted with a randomly generated key that can be decrypted only by the device that originally installed it. Thus, an application installed on an SD card works for only one device.
    • The user can move your application to the internal storage through the system settings.

Also -> Applications That Should NOT Install on External Storage (more details on android developer site)

  • Services
  • Alarm Services
  • Live Wallpapers
  • Live Folders
  • App Widgets
  • Account Managers
  • Sync Adapters
  • Device Administrators
  • Broadcast Receivers listening for "boot completed"
 
 
17
 
vote

如果它们在SD卡上,小部件将无法正常工作。

 

Widgets won't work if they're on the SD card.

 
 
13
 
vote

在SD卡上安装的应用程序如果卸下SD卡无法运行,或者您正在打开USB大容量存储(因此它可以从计算机访问)。这是我一直在体验的唯一缺点。

我实际上已经看到了绩效改进,因为移动到SD以来;在我搬到SD之前,我已经用尽了内存(左几千字节),手机滞后得非常糟糕。由于移动到SD(因此释放内存中的某些空间),并且滞后消失。

 

Applications installed on SD card cannot run if you remove your SD card or you're turning on USB Mass storage (so it can be accessed from a computer). That's the only drawback I have been experiencing.

I've actually seen performance improvement since moving to SD; before I moved to SD I had exhausted the internal memory (about a few kilobytes left) and the phone lags quite badly. Since moving to SD (and therefore freeing some space in the internal memory), and the lag disappears.

 
 
7
 
vote

对于某些手机和设备(尤其是较旧的)内部存储非常有限。每个应用程序(以及它的数据文件)都占用了宝贵的空间。 IE。我的Ideos有512MB,在我开始"撤离" 应用程序到SD卡之前几乎完整。

另一个因素是备份应用程序和数据的能力,或将它们移动到另一个设备。

除此之外,您是否正确在您的观察中,与内部存储相比,应用从外部存储器加载较慢。如果您在主屏幕上拥有这些应用程序的快捷方式,这是非常可见的 - 在该应用程序位于该应用程序的前30秒之前,您将看到一般的Android图标。

我发现切换到一个6类microdd(我有手机随附的默认等级2)显着提高了情况。仍然,在冷启动后,它需要我的手机大约20秒钟"均衡" 。

 

For some phones and devices (especially the older ones) the internal storage is quite limited. Every application (and it's data files) take precious space. I.e. my Ideos has 512MB and was nearly full before I started "evacuating" apps to the SD card.

Another factor is the ability to backup your apps and data, or move them to another device.

Other than that, you are right in your observation that apps load slower from the external storage compared to the internal storage. This is very visible if you have those apps' shortcuts on your home screen - you'll see a generic Android icon for the first 30 seconds until the app is located on the card.

I found that switching to a class 6 microSD (I had the default class 2 that came with the phone) improved the situation considerably. Still, it takes my phone about 20 seconds to "equalize" following a cold start.

 
 
 
 
5
 
vote

安全性和性能影响

存储在外部存储上的应用程序资源是只读的 因此,加载或启动没有任何性能问题 在SD卡上的应用。

from: http:// android-developers.blogspot.co.uk/2010/07/paps-on-sd-card-details.html

帖子是由一个在这个特征上工作的工程师的'suali amalapulapu编写的。该功能是将应用程序放到SD卡上的能力。

 

Security and Performance Implications

The application resources stored on external storage are read-only and hence there are no performance issues with loading or launching applications on SD card.

From: http://android-developers.blogspot.co.uk/2010/07/apps-on-sd-card-details.html

The post is written by a 'Suchi Amalapurapu, an engineer who worked on this feature.' The feature being the ability to put apps onto the SD card.

 
 
 
 
2
 
vote

在我的经验中,几乎没有或任何可察觉的性能问题。我有一个非常讨厌的经历,用我的nexus管理我的记忆。我用s2e迁移并没有回头。真是无法删除应用程序只是为了安装新的应用程序。

 

In my experience there has been little or any perceptible performance problem. I was having a really annoying experience managing my memory with my Nexus One. I used S2E to migrate and have not looked back. Amazing to be able to not have to delete apps just to install new ones.

 
 
-2
 
vote

我认为从外部到外部移动应用不会影响性能。

但它确实添加了额外的几毫秒,以从外部存储而不是内部存储中打开应用程序。 里程将因设备而异,取决于速度,Android版等

 

I think that moving apps from internal to external does not affect the performance.

But it does add on an extra few milliseconds to open the app from external storage instead of in internal storage. mileage will vary from device to device, depending on speed, Android version etc

 
 
-2
 
vote

具有不断打开的服务的应用程序,例如Viber,WhatsApp,Facebook Messenger,ETCetera如果有很多这些正在运行,则可以减慢UI,因此它优选保持应用程序恒定的服务在手机记忆中,由于相比之下的影响是不明显的。

 

Apps that have a service that is constantly open, like for example Viber, WhatsApp, Facebook messenger, etcetera can slow down the ui a lot if there are a lot of these running, so its preferable to keep apps with a constant service on the phone memory, since the impact there is non noticeable by comparison.

 
 
 
 
-3
 
vote

永远不会将您的应用程序移动到外部SD卡中。它会让手机滞后,手机比平时更慢地重启。您甚至可能每天或每周一次重新启动手机。处理这些应用程序的所有信息需要更长时间。我从经验中说话。

 

Never ever move your apps into your external SD card. It will make your phone to lag more and the phone will reboot more slowly than usual. You might even have to restart the phone daily or once per week. It will take longer to process all the information that those apps have. I speak from experience.

 
 
 
 

相关问题

7  使用SD卡作为内部存储和迁移日期  ( Using sd card as internal storage and migrate date ) 
我读取问题,但我想更新问题。 现在使用Android 6.0,我们可以选择将SD卡格式化为内部存储,这就是我所做的。我还单击了"迁移数据" 选项,将图片,音乐和诸如SD卡存储器移动。 但是,我下载了更多的音乐,现在内部存储已满。 和"迁移数据" 选项现在尝试将数据从SD移动到内部存储器。所以显然您只能使用它一次...

1  / sd-ext突然重新安装在工作期间只读  ( Sd ext gets suddenly remounted read only during work ) 
我对Cyanogenmod 7.2(用少于斑点贴剂)和分区microSD卡(第一:脂肪,第二:Ext3)。 第二个分区会自动安装读/可写作 /sd-ext ,因为它应该是。 我正在使用S2E在这个ext3分区上存储我的应用程序和应用程序数据。 mount 命令显示,ext3分区不仅安装到 /sd-ext ,还为 /...

15  为什么应用程序移动到SD卡时,应用程序会变小?  ( Why do apps get smaller when they are moved to the sd card ) 
例如,条形码扫描仪应用程序占用: 总计:0.96MB 应用:0.92MB 数据:40kb 在手机上。当我将其移动到SD卡时,它会更改为: 总计:524kb 应用:484KB 数据:40kb 如何改变? ...

1  我有一个SD卡,它仍然说足够的存储错误[复制]  ( I have an sd card and it still says that error in sufficient storage ) 
这个问题已经在这里有答案: 如何默认将Android应用程序安装到SD卡< / a> (1答) ...

26  除便携性之外,是否有任何其他优点(或缺点)在外部存储器上存储应用程序?  ( Other than portability are there any other advantages or disadvantages to sto ) 
在Android设备的外部存储上存储应用程序是否有任何特殊的优点/缺点?当我有一个nexus s时,我想不出对我的优势,因为我无法删除存储,内部存储器也足够了解我的需求。 我注意到在手机启动时,当我拥有所有的应用程序时,我的所有应用程序都移动到USB存储时,请在菜单/主屏幕上注册所有应用程序非常迟缓。 我还阅读了从存...

-1  如何将应用程序从电话移动到SD卡?  ( How can i move apps from phone to sd card ) 
我有一个LG P769 Android手机,运行Android 4.1.2,我的存储只有2GB。我的手机里有一个4GB SD卡。我的应用程序正在占用1.32GB,我收到2条警告消息:"低内存空间" 和"存储空间已经不多了" 。我的照片和视频占86.81MB。我该如何解决这个问题? ...

2  如何将应用程序从手机移动到SD卡?  ( How to move applications from phone to sd card ) 
我最近购买了索尼Xperia tipo双手机,我找不到将应用程序移动到SD卡。我们可以将应用程序从手机标准内存移动到电话内存。 可以任何人给我解决方案,将应用程序从手机移动到SD卡? ...

2  如何在SDCard(Android手机)中安装应用程序? [复制]  ( How to install the application in sdcard android phone ) 
这个问题已经在这里有答案: 关闭 10年前。 可能的重复: 如何在sdcard上安装apk文件。 我想将.apk文件安装到SD卡中。我可以这样做吗?如果是,那么我如何在我的HTC Hero ...

15  SD卡上的应用程序在更新后返回到设备存储?  ( Apps on sd card moved back to device storage after being updated ) 
在我的三星Galaxy S5(运行棒棒糖5.0)上,我注意到以下行为: 我将一些应用程序移动到我的外部SD卡存储。 每次,Google Play商店都告诉我更新其中一个应用程序,他们被移回到设备的存储器 - 我必须再次将它们再次推回SD卡。 有没有人遇到同样的问题(或者这也许只是我的手机)?我的旧银河系上没有显示...

2  如何撤消apps2sd  ( How to undo apps2sd ) 
我有一个g1手机。我用apps2sd制作了一个分区以在SD卡上安装应用程序。但我不喜欢它,我想将特定的SD卡解耦为要求使用手机。 如何撤消apps2sd?我现在想只有在手机上有应用程序。 ...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有