Items with no label
3338 Discussions

Android wrapper for realsense Depth Camera D435 for non rooted devices

MChar21
Beginner
2,153 Views

Hi,

I try to create an Android Application for D435 depth camera for non root Android Devices.

 

I try to create the application based on https://github.com/IntelRealSense/librealsense/pull/2822

solution and irsa_example project, with Android Studio .

 

In the wrappers/Android folder of librealsense project

https://github.com/IntelRealSense/librealsense/tree/f7d4e121ee5c45478ee07771747b2a644d55bf5f/wrappers/android

 

only irsa_example and src folders exist.

I need the java files to build the irsa,jar library and the native cpp files to build the libirsajni.so.These 2 libraries are used in the irsa_example project.

 

Where can i find these files?

Do you have an Android Studio project to build the libirsajni.so ?

 

Also, when Intel will publish an official Android SDK for realsense D435 depth camera?

 

Thanks in advance.

 

 

 

 

 

 

0 Kudos
1 Solution
MartyG
Honored Contributor III
1,368 Views

It seems to be a complicated subject. If I am reading my research correctly, a developer called zhouwg started an IRSA project where the repo ended up being closed. And then the official PR by madkatz was published.

 

https://github.com/IntelRealSense/librealsense/issues/2530#issuecomment-456116070

View solution in original post

0 Kudos
3 Replies
MartyG
Honored Contributor III
1,368 Views

The work on the unrooted Android wrapper is going well, according to Dorodnic the RealSense SDK Manager. He said a week ago that it is now in a "fairly mature" state of production. You can read more details about the wrapper's development at the link below.

 

https://github.com/IntelRealSense/librealsense/pull/3083

 

In regard to an 'official' wrapper by Intel, it is apparently being managed by the developer madkatz (who also handles Unity wrapper development), and is based on work done by developers called dperox and aangerma. So with madkatz heading the project, and their status as a Librealsense collaborator, the Android wrapper is probably as official as you can get.

 

If you look inside the src folder, there are two sub-folders, each containing a file. Is that what you need, please?

 

https://github.com/IntelRealSense/librealsense/tree/f7d4e121ee5c45478ee07771747b2a644d55bf5f/wrappers/android/src

0 Kudos
MChar21
Beginner
1,368 Views

Thanks for the answer,

 

So as i understand ,it is a matter of time to publish a wrapper for unrooted android devices.

 

Now about the two subfolders inside

 

https://github.com/IntelRealSense/librealsense/tree/f7d4e121ee5c45478ee07771747b2a644d55bf5f/wrappers/android/src

 

I dont need these subfolders.

 

I need the necessary java and cpp files to build the irsa.jar and libirsajni.so library in Android Studio.

 

The irsa.jar exists in

https://github.com/IntelRealSense/librealsense/tree/f7d4e121ee5c45478ee07771747b2a644d55bf5f/wrappers/android/irsa_example/app/libs

 

The libirsajni.so exists in https://github.com/IntelRealSense/librealsense/tree/f7d4e121ee5c45478ee07771747b2a644d55bf5f/wrappers/android/irsa_example/app/libs/armeabi-v7a

 

Thanks in advanse

 

Marios

 

0 Kudos
MartyG
Honored Contributor III
1,369 Views

It seems to be a complicated subject. If I am reading my research correctly, a developer called zhouwg started an IRSA project where the repo ended up being closed. And then the official PR by madkatz was published.

 

https://github.com/IntelRealSense/librealsense/issues/2530#issuecomment-456116070

0 Kudos
Reply