Skip to content

Tobibur/aidl-ipc-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± Android AIDL IPC Example

This project demonstrates Inter-Process Communication (IPC) in Android using AIDL (Android Interface Definition Language). It consists of two apps:

  • Server App β†’ Exposes a bound service via AIDL.
  • Client App β†’ Connects to the service and communicates across processes.

Features

  • AIDL interface for cross-app communication.
  • Sending and receiving primitive types and custom objects.
  • Example of sending a List of custom objects using Parcelable.
  • Using coroutines in Service (suspend functions with CoroutineScope).
  • Clean Architecture with UseCase and ViewModel separation.

πŸ› οΈ Tech Stack

  • Kotlin
  • Android AIDL
  • Coroutines
  • Room (for persistence)
  • MVVM + UseCases

🎯 How to Run

  1. Clone this repo.
  2. Build and install the AIDL Server app.
  3. Build and install the AIDL Client app.
  4. Open client app β†’ connect to service β†’ interact with server.

About

Hands-on AIDL example for Android IPC with a shared menu between two apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published