我很困惑的sharedUserID.what在使用sharedUserId的?如何使用?凡在Android的使用?
解决方案SharedUserId用于共享数据,处理两个或多个应用程序之间等。 它是在AndroidManifest.xml中定义的一样,
清单的xmlns:机器人=http://schemas.android.com/apk/res/android
机器人:sharedUserId =android.uid.shared
机器人:sharedUserLabel =@字符串/ sharedUserLabel
和在Android.mk定义共享参数的应用程序一样,
LOCAL_CERTIFICATE:=共享
希望它帮助你。
I am confused in sharedUserID.what is use of sharedUserId?How to use?Where to use in android?
解决方案SharedUserId is used to share the data,processes etc between two or more applications. It is defined in AndroidManiFest.xml like,
manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:sharedUserId="android.uid.shared"
android:sharedUserLabel="@string/sharedUserLabel"
and define the shared parameter in Android.mk for that app, like,
LOCAL_CERTIFICATE := shared
Hope its helpful to you..