Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nkh-lab/ndk-vsomeip-hello-world

Android Studio example how to use vsomeip between two app services from native code.
https://github.com/nkh-lab/ndk-vsomeip-hello-world

android ndk vsomeip

Last synced: 4 days ago
JSON representation

Android Studio example how to use vsomeip between two app services from native code.

Awesome Lists containing this project

README

        

# ndk-vsomeip-hello-world
Android Studio example how to use vsomeip between two app services from native code.

Based on the original vsomeip example https://github.com/GENIVI/vsomeip/tree/master/examples/hello_world

![](doc/SequenceDiagram.png)

## Environment
- Android Studio
- CMake 3.12 (for boost-cmake)

## Dependencies
Git submodule projects:
- vsomeip 3.1.20.2: (https://github.com/GENIVI/vsomeip.git).
- boost-cmake: Used CMake adapted boost (https://github.com/Orphis/boost-cmake).

## Project setup
1. Clone main git project:
```
git clone https://github.com/nkh-lab/ndk-vsomeip-hello-world.git
```
2. Clone submodule projects:
```
git submodule update --init
```

## Open project in Android Studio
1. Run Android Studio
2. Then open ndk-vsomeip-hello-world/vsomeip-hello-world project
3. Build and run
4. Expected app output in Logcat:
```
2020-06-05 11:13:06.407 31221-31266/com.example.vsomeiphelloworld I/hello_world_client: Sending: World
2020-06-05 11:13:06.437 31221-31266/com.example.vsomeiphelloworld I/hello_world_client: Received: Hello World
```