I'm trying to pass a PublicKey
object from a service to an activity. However, the Aidl
doesn't seem to support the PublicKey
type. Any ideas on how to do this?
If you already have your public key you should put it into the /res/raw/ folder and retrieve it from there. Or store it in filesystem activity.getFilesDir().getAbsolutePath()
would be your path. You can also use - pass Objects over IPC as described here in the article http://developer.android.com/guide/developing/tools/aidl.html hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.