調べもの:Binder [Android 技術者認定試験]
Androidでプロセス間通信を行う方法の一つ。
Kernel上で動くBinder Driverを使用するlibBinder経由でプロセス間通信を行う。Binder DriverはServiceManagerが制御し、アプリケーションはBBinderクラスを継承する。
transact()
OnTransact()
OnBind()
OnServiceConnected()
bindService
「バインドされたサービスの概要 | Android デベロッパー | Android Developers 」
https://developer.android.com/guide/components/bound-services?hl=ja
「Android Binder - Google 検索」
https://www.google.com/search?q=Android+Binder
「Binder | Android デベロッパー | Android Developers」
https://developer.android.com/reference/android/os/Binder?hl=ja
「IBinder | Android デベロッパー | Android Developers」
https://developer.android.com/reference/android/os/IBinder?hl=ja
「Binderのはじめの一歩とAndroid」
https://www.slideshare.net/l_b__/binderandroid
「ネイティブサービスの実装 (1) Binder 関連のクラス | まくまくAndroidノート」
https://maku77.github.io/android/native-service1.html
「ネイティブサービスの実装 (2) サービスの実装から利用まで | まくまくAndroidノート 」
https://maku77.github.io/android/native-service2.html
「コジオニルク - Binder を使用した Service との双方向通信の実装例」
https://kojion.com/posts/649
「ServiceConnection」
https://maku77.github.io/android/service/remote-bind.html
「[Android] Serviceクラス(bindService) - Qiita」
https://qiita.com/QiitaD/items/5c313076b7b99823ce1a
「バインドされたサービスの概要 | Android デベロッパー | Android Developers 」
https://developer.android.com/guide/components/bound-services?hl=ja
Kernel上で動くBinder Driverを使用するlibBinder経由でプロセス間通信を行う。Binder DriverはServiceManagerが制御し、アプリケーションはBBinderクラスを継承する。
transact()
OnTransact()
OnBind()
OnServiceConnected()
bindService
「バインドされたサービスの概要 | Android デベロッパー | Android Developers 」
https://developer.android.com/guide/components/bound-services?hl=ja
「Android Binder - Google 検索」
https://www.google.com/search?q=Android+Binder
「Binder | Android デベロッパー | Android Developers」
https://developer.android.com/reference/android/os/Binder?hl=ja
「IBinder | Android デベロッパー | Android Developers」
https://developer.android.com/reference/android/os/IBinder?hl=ja
「Binderのはじめの一歩とAndroid」
https://www.slideshare.net/l_b__/binderandroid
「ネイティブサービスの実装 (1) Binder 関連のクラス | まくまくAndroidノート」
https://maku77.github.io/android/native-service1.html
「ネイティブサービスの実装 (2) サービスの実装から利用まで | まくまくAndroidノート 」
https://maku77.github.io/android/native-service2.html
「コジオニルク - Binder を使用した Service との双方向通信の実装例」
https://kojion.com/posts/649
「ServiceConnection」
https://maku77.github.io/android/service/remote-bind.html
「[Android] Serviceクラス(bindService) - Qiita」
https://qiita.com/QiitaD/items/5c313076b7b99823ce1a
「バインドされたサービスの概要 | Android デベロッパー | Android Developers 」
https://developer.android.com/guide/components/bound-services?hl=ja
コメント 0