Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
This document describes how to build an Android application to stream Depth data with RealSense cameras.
Read about Android support ./Android.md "here".
Click on configure
and choose SDK Manager
. Install LLDB, CMake and NDK for Android Studio. Go to section "Download the NDK and Tools" and start with the second step (2. Click the SDK Tools tab).
Start a new Android Studio project
.realsense_app
and example.com
respectively, tick the checkbox Include C++ support
and click on the Next
button. API 19: Android 4.4 (KitKat)
in the first listbox and click on the Next
button. Empty Activity
and click on the Next
button. Activity Name
and the Layout Name
are containing MainActivity
and activity_main
respectively and click on the Next
button. C++11
at the C++ Standard
list box, tick the checkbox Exception Support
and click on the Next
button. ./realsense_app/app/src/main/cpp/
.MainActivity
, native-lib.cpp
, activity_main.xml
and CMakeLists.txt
with MainActivity, native-lib.cpp, activity_main.xml and CMakeLists.txt respectively. Run
and choose ‘Run 'app’. Choose your Android device and click on the
OK` button. At the end of this process a new application supposed to appear at the Android device. realsense_app
application.