Items with no label
3338 Discussions

A question about the development Android Applications for Intel RealSense D435 for rooted devices with Android Studio.

MChar21
Beginner
1,976 Views

I have a question about the development Android Applications for Intel RealSense D435 depth camera as proposed in the link:

https://github.com/IntelRealSense/librealsense/blob/a321a0404c7b0cfd2e157d85c6b00f88a3e55d48/doc/android/AndroidJavaApp.md

 

Why is necessary to install Android Studio for Linux and not for Windows?

 

 

 

Thanks in advance,

Marios

 

0 Kudos
1 Solution
Eliza_D_Intel
Employee
1,108 Views
Hello MChar21, Thank you for your interest in the Intel RealSense D435 camera. Please note that according to https://github.com/IntelRealSense/librealsense/blob/master/doc/android/Android.md: "While Intel has not explicitly validated SDK2.0 on Android platforms, it is expected to work on Android as well." Intel provides instructions for Linux as a minimum starting point. If you want to use Windows for Android development with the SDK 2.0, then you must port the solution yourself. Thank you and best regards, Eliza

View solution in original post

0 Kudos
6 Replies
MartyG
Honored Contributor III
1,108 Views

I did some Android app development on PC with Android Studio some years ago, so I can understand the concepts involved in the Android Studio part of the setup process. It seems as though that part of the process would be convertable for Windows use.

 

The real problem comes when trying to build the RealSense SDK for the Android device, as the instructions for doing so are oriented around Linux instructions rather than Windows ones. I do not know if there is a technical reason for this or whether it is because Linux is the platform that the guide's authors are most familiar with using.

 

https://github.com/IntelRealSense/librealsense/blob/a321a0404c7b0cfd2e157d85c6b00f88a3e55d48/doc/android/AndroidNativeSamples.md

 

0 Kudos
MChar21
Beginner
1,108 Views

Thanks for the answer,

 

I have already tried to build an Android Application with Android Studio in windows 7,following the instructions described in the link:

https://github.com/IntelRealSense/librealsense/blob/a321a0404c7b0cfd2e157d85c6b00f88a3e55d48/doc/android/AndroidJavaApp.md

 

But during building i see the error message as described in the attached screenshot.

 

I don't know if this is because i run the Android Studio in Windows Os instead of Linux.

 

In case i run the Android Studio in Ubuntu Linux , is it possible to face such an error message?

As I understand from your reply ,running Android Studio in Linux is the only and best solution .

 

Also , can i ask you technical questions about the source code of librealsense?

 

 

Best Regards

 

Marios

0 Kudos
MartyG
Honored Contributor III
1,108 Views

Questions about the source code are welcome. Hopefully a member of the Intel support team can provide answers for you. If you have a particular question for them about the source code, I recommend posting it as a new question on this forum, and keeping Android-related questions on this case here. Good luck!

0 Kudos
MChar21
Beginner
1,108 Views

Thanks for the answer

 

Best Regards

 

Marios

0 Kudos
Eliza_D_Intel
Employee
1,109 Views
Hello MChar21, Thank you for your interest in the Intel RealSense D435 camera. Please note that according to https://github.com/IntelRealSense/librealsense/blob/master/doc/android/Android.md: "While Intel has not explicitly validated SDK2.0 on Android platforms, it is expected to work on Android as well." Intel provides instructions for Linux as a minimum starting point. If you want to use Windows for Android development with the SDK 2.0, then you must port the solution yourself. Thank you and best regards, Eliza
0 Kudos
MChar21
Beginner
1,108 Views

Thanks for the answer

 

Best Regards

 

Marios

0 Kudos
Reply