Calvin's Tech Space

          成于堅忍,毀于浮躁

             :: 首頁 :: 聯系 :: 聚合  :: 管理
          在AndroidManifest.xml中聲明
          android:sharedUserId="android.uid.system"
          后,該應用程序將沒有權限讀寫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 閱讀(3125) 評論(0)  編輯  收藏 所屬分類: Android
          主站蜘蛛池模板: 黔东| 砚山县| 尉犁县| 和政县| 大宁县| 临西县| 乐业县| 潼关县| 集贤县| 兰考县| 泸州市| 北安市| 安龙县| 富源县| 福贡县| 会东县| 武安市| 长治市| 包头市| 宁强县| 嘉黎县| 三亚市| 宝应县| 准格尔旗| 侯马市| 高尔夫| 平舆县| 星座| 伊吾县| 龙南县| 拉萨市| 光泽县| 昆山市| 静海县| 连江县| 长沙县| 从化市| 金平| 高邑县| 梨树县| 宜兴市|