Android Vizux 400 Glasses
-
Hi,
We have a simple c++ Qt software that detecting faces and send it through mqt and get feedback.
wha will be the proper way to port this application to the Vizux 400 android smartGlasses ? Is it required rewrite ?
We have really new on this android.
Best
-
Hey Rahibe,
In order to build for the Vuzix M400 Smart Glasses you will first need to be able to build your App for Android.
https://doc.qt.io/qt-5/android-getting-started.htmlAlso like every other app for Android you will need to configure the proper level of API support.
The Vuzix M400 operate running Android 9 API Level 28.
https://www.vuzix.com/Developer/KnowledgeBase/Detail/1112Also for the Vuzix M400 make sure your input fields and the items on your UI have the proper focus properties to be able to use the M400 navigation methods:
https://www.vuzix.com/Developer/KnowledgeBase/Detail/1111That is pretty important since Android UI elements typically think there is a touch screen for Android to translate the touch even into the an input event.
Hope this helps.
-
@Victor_Jimenez Thanks for the details.
Our software written in C++ in Qt and there is QML .
- Opencv capture camera used
- Qmqtt sending and receiving data
-MNN library
we are good at linux side. But android and +Vuzix new for us.
Also if you advise us we can get paid help from a professional to accomplish this export Adroid.
Best
-
is normal Qt widget application portable to the Android ? Do we have to code in QML ?
-
QT for Android can run Widget Base apps and QML base apps.
I personally have not run an QT application on any Android device.On Mac, Windows and Linux, yes, on Android nop.
Sorry I cannot help you there.There are some samples but from I can see they show using QML.
https://doc.qt.io/qt-5/examples-android.htmlIf you want, you can reach Vuzix at support at: https://www.vuzix.com/support/product-support/m-series
Just throwing an Idea here, if you have the C++ application why not use the NDK approach for Android?
https://developer.android.com/ndkJust build a basic UI in Android that then talks to your original C++ code.
-
@RahibeMeryem said in Android Vizux 400 Glasses:
is normal Qt widget application portable to the Android ?
yes
-
@jsulm Thanks a lot .
One more question for start the project correct way and tools:
The Android device is arm7a
opencv and mqtt is using.when I compile / put the compatible aarch libraries it is assuming to work.
I just wonder do I need any conversion opencv camera capture ? Is opencv camera capture working as expected ?
What could be the exact setup for opencv camera capture and mqtt ?
do you knw any example for opencv cap & mqtt ?
Best Regards
-
@RahibeMeryem said in Android Vizux 400 Glasses:
Is opencv camera capture working as expected ?
I don't know whether it works on Android. You will need to build it for Android first.