Calvin's Tech Space

          成于堅(jiān)忍,毀于浮躁

             :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
          在AndroidManifest.xml中聲明
          android:sharedUserId="android.uid.system"
          后,該應(yīng)用程序?qū)]有權(quán)限讀寫SD卡。

          Processes that continue holding open fds on the sdcard a little after it is
          requested to be unmounted will be killed so that it can unmount.

          We don't want the system process to? be able to access the sdcard to avoid
          these kinds of issues (and just general security cleanliness), so that it
          does not have permission to access it.

          http://groups.google.com/group/android-porting/browse_thread/thread/c6af65d7ddd5eff3
          http://stackoverflow.com/questions/5617797/android-shared-user-id-and-reading-writing-a-file
          http://stackoverflow.com/questions/6679011/it-cant-access-the-sdcard-after-setting-android-uid-system-in-my-application
          http://www.eoeandroid.com/forum.php?mod=viewthread&tid=63314&page=1#pid636737
          posted on 2011-08-29 14:16 calvin 閱讀(3119) 評(píng)論(0)  編輯  收藏 所屬分類: Android
          主站蜘蛛池模板: 法库县| 长丰县| 莱西市| 哈巴河县| 富宁县| 高唐县| 喀什市| 平泉县| 宁波市| 湖州市| 铁岭县| 吴江市| 赤城县| 黔南| 仁布县| 甘洛县| 炎陵县| 资兴市| 金寨县| 宿迁市| 龙里县| 定远县| 临颍县| 顺义区| 海阳市| 沛县| 清镇市| 延吉市| 阳东县| 盈江县| 无极县| 恩施市| 道孚县| 阿坝| 兖州市| 怀化市| 自贡市| 治多县| 三都| 六盘水市| 桓仁|