这里有个简单的,楼主将就看看。
http://blog.csdn.net/yihua0001/archive/2010/07/23/5758980.aspx

解决方案 »

  1.   

    你的那个并没有说明shareuserid的真正意图
      

  2.   

    我想知道这个shareuserid想要实现的功能是什么?是不同包里的私有Activity的互访?
      

  3.   

    android:sharedUserId
        The name of a Linux user ID that will be shared with other applications. By default, Android assigns each application its own unique user ID. However, if this attribute is set to the same value for two or more applications, they will all share the same ID — provided that they are also signed by the same certificate. Application with the same user ID can access each other's data and, if desired, run in the same process.刚查出来的,应该就是你想要的。
      

  4.   

    android:sharedUserId一般这个东西是用来给一个程序员写的几个apk使用的 拥有相同的sharedUserId需要使用相同的签名,他们之前可以实现一些资源的共享 包括文件互访 ,这些应用可以放在相同的进程下 互访一些资源
      

  5.   

    那意思是我要做简单的例子说明的话是不是没有可能呢?我只是想做一点例子,说明一下使用了shareuserid和不使用shareduserid之间的区别
      

  6.   


    这个你可以做两个apk 用相同shareUserId然后就可以实现资源互访 你可以试试
      

  7.   

    一般来说 每个APK 直接的数据时禁止互相访问的   但是Shared User id之后,私有的数据就会刻意被访问