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
          主站蜘蛛池模板: 太湖县| 吉木乃县| 福建省| 莒南县| 留坝县| 独山县| 临泉县| 雅安市| 塘沽区| 银川市| 萝北县| 汕尾市| 无极县| 登封市| 金川县| 库尔勒市| 东平县| 荆州市| 沾益县| 玛沁县| 河北省| 小金县| 万年县| 繁昌县| 桐庐县| 竹山县| 新沂市| 陵水| 东兴市| 衡阳市| 通化县| 武威市| 门源| 衡山县| 若尔盖县| 张家口市| 阳春市| 汤阴县| 秦安县| 亚东县| 绩溪县|