I want to create an app that visualizes (maybe a Star Trek Tricorder? ) the devices sensor output (should work with more than on device, but get all of the HD2's output) and now I wanted to know whether there is an API for the compass, GPS and the proximity sensor?
ng-gdata said:
I want to create an app that visualizes (maybe a Star Trek Tricorder? ) the devices sensor output (should work with more than on device, but get all of the HD2's output) and now I wanted to know whether there is an API for the compass, GPS and the proximity sensor?
Click to expand...
Click to collapse
sounds like an APP I'd like to be running!
(make sure you get all those blinking lights and sound effects =D)
Related
I was playing with the sensor api but when I tried the testapp for the navsensor, it could not find the HTCAPI.dll, after a lot of googling it looks like it is only on the diamond, but there has to be a similar library on the HD, so does anyone now how I fix this so I can play whit the nav sensor? Whitout have to copy the HTCAPI.dll to the phone. I have read that this could make som programs unstable like opera.
This makes little sense, since the Touch HD doesn't have a Navigation Sensor. More over, the Touch HD does have htcapi.dll! This dll provides the API for the HTC sensors, like the accelerometer. However this version of the DLL does not provide the correct connector points for the Nav Sensor, as there is no hardware available.
Copying the htcapi.dll from the Touch Diamond makes the application work correctly, as the DLL is now providing the correct API, however you will not be able to use it, since no hardware signals will be sent.
The easiest is to ignore the NavSensor demo and continue with the other sensors.
Qwark said:
I was playing with the sensor api but when I tried the testapp for the navsensor, it could not find the HTCAPI.dll, after a lot of googling it looks like it is only on the diamond, but there has to be a similar library on the HD, so does anyone now how I fix this so I can play whit the nav sensor? Whitout have to copy the HTCAPI.dll to the phone. I have read that this could make som programs unstable like opera.
Click to expand...
Click to collapse
Can someone post the sample rates for barometer and accelerometer in Huawei Watch? I am a developer working on apps that use these sensors and it's important to know various devices' capabilities when working on algorithms that process raw sensor data. For example, LG G Watch R has a barometer running at 90Hz sample rate and accelerometer at 200Hz. This is very good because it gives me a lot of samples every second for smoothing and differentiation.
Here's how: install an app called Smart Altimeter and tap the info icon.
Your help is much appreciated. Not trying to promote the app or anything - delete it if don't need it.
xdarulez said:
Can someone post the sample rates for barometer and accelerometer in Huawei Watch? I am a developer working on apps that use these sensors and it's important to know various devices' capabilities when working on algorithms that process raw sensor data. For example, LG G Watch R has a barometer running at 90Hz sample rate and accelerometer at 200Hz. This is very good because it gives me a lot of samples every second for smoothing and differentiation.
Here's how: install an app called Smart Altimeter and tap the info icon.
Your help is much appreciated. Not trying to promote the app or anything - delete it if don't need it.
Click to expand...
Click to collapse
See attached image
Thank you! 20Hz is decent. So far, Huawei and LG watches are the only AW devices featuring a pressure sensor.
Hello,
I have a jiayu g2f WCDMA 4g, this phone have gyroscope but for unknown reasons the mark does not have built any rom to use correctely this function!
My doubt is whether it is possible from another rom from another mark with the same specs export necessary files to make the gyroscope start to work?
Such as gravity, linear acceleration and rotation vector which are present but are not used by the brand roms.
The Gyro name is MPU3000 gyroscope sensor and manufacturer Invensensor
I found some similar cell phones as:
INEW V3
Cubot S222
Haipai P6s
Elephone G4
Please, help:good:
Thanks
Greetings to all!
The specs for the Mi A2 Lite says a compass, gyroscope, proximity sensor etc are installed/supported on this phone, but I see no such apps installed or any way to activate them.
Could someone explain? I have the global version, with stock Android 1 & no MIUI. Thanks
No need to activate them, just use them, they are already active E.g. compass will be used by Google Maps or Here We Go maps, gyroscope by some kind of games etc. There are some apps in Google Play who can use those sensors too.
katoda_ltd said:
No need to activate them, just use them, they are already active E.g. compass will be used by Google Maps or Here We Go maps, gyroscope by some kind of games etc. There are some apps in Google Play who can use those sensors too.
Click to expand...
Click to collapse
Thanks for your reply and advice. I was hoping to be able to open up and use eg. the compass myself, as with other phones I have (including Xiaomi).
amidis said:
Thanks for your reply and advice. I was hoping to be able to open up and use eg. the compass myself, as with other phones I have (including Xiaomi).
Click to expand...
Click to collapse
You will definitely find a myriad of compass apps in the play store if you search for it.
Could anyone tell me what the maximum exposure/shutter time supported by the camera sensor in the SM-A528B is? I am on LOS and OpenCamera only lets me set it up to .5 seconds. I could barely find any information on which camera sensor this phone even uses, most websites state contradictory things and the named IMX chips are nowhere documented.
A52s actually comes with different camera modules depending on the individual unit.
I do not know what LOS is exactly, probably an alternative OS install?
With a regular Samsung firmware you can do a very weird trick, in the phone dialer you can dial the number
*#34971539#
which will bring up a debug menu in which you can choose 'module info ver check' which will then list the codes (not the actual names) of the camera sensors. But I doubt that trick will work with non-Samsung firmwares (google the number for more info).
If you bought your phone in Western Europe, the main rear sensor is very likely the SONY IMX682 (code F64ESNGR1SM). If you bought the phone in India, it is likely a Samsung sensor, most likely SAMSUNG Bright S5KGW1 (code F64ELNGR3SM), but there are other Samsung sensors out there in A52s's as well. I do not know about other regions (I have IMX682).
With regards to the shutter time, I think it might actually be unlimited. Unlike the A52 (so without 's' at the end), astro mode in MGC can be configured for many minutes with A52s.
At the very least, pro mode in the default Samsung camera app allows you to manually set the shutter time to 10 seconds.
sanderbos said:
I do not know what LOS is exactly, probably an alternative OS install?
Click to expand...
Click to collapse
LineageOS.
sanderbos said:
If you bought your phone in Western Europe, the sensor is very likely the SONY IMX682 (code F64ESNGR1SM). If you bought the phone in India, it is likely a Samsung sensor, most likely SAMSUNG Bright S5KGW1 (code F64ELNGR3SM), but there are other Samsung sensors out there in A52s's as well. I do not know about other regions (I have IMX682).
Click to expand...
Click to collapse
That's all for the main rear camera sensor actually. Other sensors are the ultrawide rear camera (S5K3L6), macro rear camera (S5KGW2), depth rear camera (S5K3J1) and the front camera (IMX616/S5KGD2)