Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nkh-lab/ndk-vsomeip-hello-world
- Owner: nkh-lab
- Created: 2020-06-04T09:02:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T10:08:28.000Z (almost 3 years ago)
- Last Synced: 2023-03-08T18:27:24.553Z (over 1 year ago)
- Topics: android, ndk, vsomeip
- Language: Java
- Homepage:
- Size: 168 KB
- Stars: 17
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```