1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-28 13:17:35 +02:00
2022-12-21 16:38:28 +01:00

517 B

AIDL Client

Finally, we can create a Rust client for our new service.

birthday_service/src/client.rs:

{{#include birthday_service/src/client.rs:main}}

birthday_service/Android.bp:

{{#include birthday_service/Android.bp:birthday_client}}

Notice that the client does not depend on libbirthdayservice.

Build, push, and run the client on your device:

{{#include ../build_all.sh:birthday_client}}
Happy Birthday Charlie, congratulations with the 60 years!