[App request] - Witmotion sensors to Android - Android Head-Units

Hi fellows
I need your help
I bought some WITMOTION sensors (USB and BLE) wich includes accelerometer, gyro and other cool things)
They have sample code APK to pair / read data from their hardware, that's ok but....
... what I really need is to broadcast that data (if possible) to android kernel, to ensure that apks like GMaps, Waez, Torque pro (accelerometer) and other stuff use that data as if the data came from embedded Android sensors.
Do you think that this project is doable ?

?

Hi
Found this tread and was hoping you had a win with the search for information as I am thinking of getting a 9 axis WitMotion sensor to use with an android car head unit that has no built in magnometer.
Cheers

GitHub - vicnevicne/witmotionDemoAndroidApp: Source of the Android app demonstrating use of Witmotion IMU sensors
Source of the Android app demonstrating use of Witmotion IMU sensors - GitHub - vicnevicne/witmotionDemoAndroidApp: Source of the Android app demonstrating use of Witmotion IMU sensors
github.com
and for windows at
Google Drive - Virus scan warning
drive.google.com

Related

[Q] Gesture detection using your wrist: will it (ever) be possible?

Hi there,
For now, Android Wear only supports swipe gestures on the touchscreen.
It would be awesome to be able to - for example - turn your wrist to trigger actions.
Does anyone have any information to share regarding gesture detection using wrist movements with Android Wear?
If official support won't be available anytime soon, do you think this can be enabled via custom ROMs?
How hard do you think it would be to implement gesture detection from the moment a custom ROM for a certain smartwatch is available?
Considering Android Wear is... well, Android, and Android has all the API functions to get data from the accelerometer (And lots of helpful development sources), I assume it wouldn't be too hard?
Or am I overlooking something?
Best regards
Use asus remote camera app for android wear. If you twist your watch it will take a picture with your smartphone camera!
greenbat said:
Use asus remote camera app for android wear. If you twist your watch it will take a picture with your smartphone camera!
Click to expand...
Click to collapse
Thanks for the fast reply!
So wrist gesture detection is perfectly possible it seems?
But can you or anyone else give me some additional background about Android Wear:
Should I see Android Wear as a simple extension of the Android API? By which I mean: can I utilise all the Android API functions related to interpreting smartphone/tablet sensor data, provided the smartwatch has that sensor? (e.g accelerometer)
Since I was looking in this particular section related to Wearables (Remove the spaces: developer . android . com/training/building-wearables.html ) and I couldn't find any information about wrist gesture detection.
Is that simply because everything else from the Android API is automatically also applicable to smartwatch development?
(As one can tell, I'm quite new to mobile development.)
https://play.google.com/store/apps/details?id=com.kiwiwearables.app&hl=sv
ezgenesis said:
play.google.com /store/apps/details?id=com.kiwiwearables.app
Click to expand...
Click to collapse
Thanks, will check this out!
Though from looking at the reviews, it seems there is still a lot to improve.
Also, I found the answer to my question in the meantime. In short: yes, you can access the accelerometer on your Android Wear smartwatch using the API functions originally intended for the accelerometer on Android smartphones.
Source: (remove the spaces) stackoverflow . com/questions/26473621/android-wear-accelerometer-gyro-sensor
The Bing app uses a wrist twist to activate
Should be possible soon!
Asgaro said:
Hi there,
For now, Android Wear only supports swipe gestures on the touchscreen.
It would be awesome to be able to - for example - turn your wrist to trigger actions.
Does anyone have any information to share regarding gesture detection using wrist movements with Android Wear?
If official support won't be available anytime soon, do you think this can be enabled via custom ROMs?
How hard do you think it would be to implement gesture detection from the moment a custom ROM for a certain smartwatch is available?
Considering Android Wear is... well, Android, and Android has all the API functions to get data from the accelerometer (And lots of helpful development sources), I assume it wouldn't be too hard?
Or am I overlooking something?
Best regards
Click to expand...
Click to collapse
Android wear is a new platform and is a hell lot fun to develop though when it packs so good specs then definetly some gestures may come. Even the 2015 launch of the apple watch doesnt seem to deliver a perfect gesture. Leaving the digital crown and the electrode on screen taps but i used the asus remote camera app its a lot easier and upholding the wrist wakes the watch u shuld give it a try!
Asgaro said:
It would be awesome to be able to - for example - turn your wrist to trigger actions.
Does anyone have any information to share regarding gesture detection using wrist movements with Android Wear?
If official support won't be available anytime soon, do you think this can be enabled via custom ROMs?
Click to expand...
Click to collapse
Hmmmm.... I just created an AccessibilityService that does exactly what you are describing: it gives you the ability to completely control your smartwatch using wrist gestures.
I created it for my own use (I can only use one of my hands, the one in which I wear the watch) and I can fully control it using wrist gestures.
description: https://jsalatas.ictpro.gr/handsfre...-input-method-for-android-based-smartwatches/
source code: https://github.com/jsalatas/HandsFreeWear
playstore: https://play.google.com/store/apps/details?id=gr.ictpro.jsalatas.handsfreewear
notice that in the current phase I'm not sure if the model that recognizes the wrist gestures can generalize or if it just recognizes my wrist gestures only.

Is there a "H Band" android app alternative?

Hi guys! Is there an (opesource) alternative for "H Band" android application?
Is there a project for universal android app for smart bracelets?
Unfortunately I don't think there is. I have a Lynwo M4 - nice little step / pulse / blood pressure / sleep tracker - which uses this app. Unfortunately the hardware is let down by the pretty shonky app - it records data for only 3 days and has no discernible way of exporting it to anything more useful
I think H Band may be as good as it gets
I was wondering the same as you, whether there might be a universal app for these doodads, but I'm guessing they all must use non standard data so it's probably not possible
Then again, I wouldn't really know
Gadgetbridge is an Android (4.4+) application which will allow you to use your Pebble, Mi Band, Amazfit Bit and HPlus device (and more) without the vendor's closed source application and without the need to create an account and transmit any of your data to the vendor's servers.A free and cloudless replacement for your gadget vendors' closed source Android applications. Supports Pebble, Mi Band, Liveview, HPlus and more.
Kindly upvote the Device Request so that developer add HBand to the Gadgetbridge. vote on this link

[Request] android 6.0 (mm) project treble ROM. Please create one - urgent

Hi... I have a Razer Phone and in my car I have this Sony Head unit called XSP-N1BT that uses smartphone display as the head unit display upon mounting. It's a great deck, but it doesn't have any on deck control for anything except source and vol + and -
All other settings like menu, sound enhabcements Bluetotth setup, etc are either on the physical small remote controller that came along with it, or by the use of this App from Sony called AppRemote (available on Play Store).
As the head unit has been discontinued by Sony and it's psy its support period, they won't update that app and therefore it cannot be run on nougat or higher android OS. instead of showing source input selection grid with USB, Bluetooth, CD, etc it shows the background image of the sake view, but no input selection icons and in Tue background in tiny letters you can see an HTML code.. Guess it has something to do with nougat and Oreo webview enhancements. I tried installing Marshmallows web view alone and that doesn't really do anything.
So either I need to figure out a way get the app running on nougat+ Oreo (which I doubt I'd have luck with) or I need to find a way to loaf marhmallow on my Razer phone through project treble.
Hope someone here can help. Thanks.
Project treble is only for android 8 and above...
Android 6.0 treble? loooooool . Are you kidding me ?
Dude go and read what project treble is and from when it started, so you won't create a thread like this again.
Sent from my HTC U12+ using XDA Labs
This doesn't make any sense as Treble is only available on Oreo and later.
Thread closed.

[APP] BMW Original Display Switch

Hey,
I've been playing for some days with the stock apps source code. My goal is to be able to use the Idrive controls in my own apps.
I found how to switch to the original BMW display using an Android Intent.
So I made a little application that switch to the original display. It can be usefull when you're using a custom launcher. You just have to create a shortcut to this app and when you launch it, it switches to the BMW display.
You can download it on my Drive (in the Apps directory) :
https://drive.google.com/drive/folders/1i3_wd59aJNJ_w48s5I2K_rtRS0Q_soKd?usp=sharing
It's working on a PX6 Android 8.1. I don't know if it's working on others unit.
Feel free to test it and tell me if it works well.
RaceX

Linux AsteroidOS open source sports watch

I introduce the idea of Linux AsteroidOS open source sports watch. All components to start such a project are there. But which AsteroidOS watch to choose to start with? For a sports watch, GPS is helpful, but not urgently needed. To start with, an external heart rate sensor and a foot pod would be sufficient. According to the Asteroid IRC chat, some of the AsteroidOS watches have GPS (Sony Smartwatch 3 and Huawei Watch 2), but GPS is not supported from AsteroidOS just yet.
MagneFire from the AsteroidOS IRC chat says, he didn’t have a look into GPS, so will probably take some time. He further said, he did get GPS to at least scan on the Sony smartwatch 3, but that’s where it stopped. He couldn’t get a GPS location fix (source: AsteroidOS IRC Logs 13.4.2021) For anyone who is interested in developing an open source Linux AsteroidOS sports watch, it is possible.
I was searching for a long time for possibilities to access sports sensor data in an easy way. These days, many options are available for sensor streaming and visualization: MQTT, InfluxDB, Grafana, and more and more options are available for Python. With commercially available sports watches, to use these options is difficult. With an open source sports watch, this is much easier.
I made a long list of components which could be integrated into an open source sports watch on my GITHUB page:
https://github.com/PeterGamma/Live-stream-of-ANT-plus-and-BLE-sensor-data
to find all these components took a lot of time, and I make these findings here available for everyone.
GPS works too now on the Huawei Watch 2
MagneFire: from AsteroidOS chat: “Ok so GPS works too now on the Huawei Watch 2, but it does not stop even after closing the asteroid-gps-test app. Is this a known issue for other watches?”
AsteroidOS IRC Logs 14.4.2021
GPS works too now on the Huawei Watch 2. That is good news. Maybe an athlete with good coding skills knows about how to solve the GPS issue? GPS makes the Huawei Watch 2 interesting to be used as a sports watch.

Categories

Resources