Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.05 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.05 KB

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

Environment

  • Android Studio
  • CMake 3.12 (for boost-cmake)

Dependencies

Git submodule projects:

Project setup

  1. Clone main git project:
git clone https://github.com/nkh-lab/ndk-vsomeip-hello-world.git
  1. 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