About Some of the New Sensors - Galaxy S 4 Q&A, Help & Troubleshooting

I was wondering if developers will be able to build in actions for their apps using air view and eye tracking?

Related

[Q] Up to date snapSaver?

Hello, i'm looking for a way to view without timing/save snaps , i use an app that does that perfectly well but i want to do that inside the snapchat app because it got more new features like Snap DMs (the chats) and other minor features that any other snapsave app i use doesnt
Also i'm looking for a way to upload videos and photos from my gallery...
I can do all that, but on separated apps
I use SaveMySnap for uploading photos from gallery
I use normal Snapchat app for features the other apps dont have
I use Snapsave for Snapchat most of the time because it just what i need everyday (viewing without timer and saving)...
Does an app or Xposed module that can do all of that exists? it's time consuming and terrible using 3 apps for similar tasks....

[APP][YotaPhone2]Yota Compass 1.0.0

Introduction
Here is my contribution to this awesome device and community. This is a compass app. Once opened, it displays a full screen compass on the EPD, along with some useful sensor data, such as acceleration, pitch, roll, heading, brightness and battery details. It also has a helpful "bubble", which means it can be used to measure how level a surface is. Check the attachments for screenshots.
The application has been optimized to use minimal amount of power, and all the sensor data has been flipped accordingly to work as the device is upside down. Also, only one permission: access to backscreen. The app has been tested on the latest Lollipop. I don't know if it works on the older KitKat.
Download
You can download the application here: https://www.androidfilehost.com/?fid=24052804347773513
Installation
To install it, you must first enable unkown sources from your settings - security, then download the apk to your device and finally open it using a file manager. The application is launched from the back screen via it's own widget, which you need to add to some small slot from Yotahub.
Future plans
I might add coordinates and altitude in the future, but that will increase the battery use slightly because it requires GPS. Maybe I'll put it behind a setting or something. Feedback is always welcome!
Nice and good working!!
Very good - HeinMueck
My congratulations, very nice app for Yota.
Clipman said:
Introduction
Here is my contribution to this awesome device and community. This is a compass app. Once opened, it displays a full screen compass on the EPD, along with some useful sensor data, such as acceleration, pitch, roll, heading, brightness and battery details. It also has a helpful "bubble", which means it can be used to measure how level a surface is. Check the attachments for screenshots.
The application has been optimized to use minimal amount of power, and all the sensor data has been flipped accordingly to work as the device is upside down. Also, only one permission: access to backscreen. The app has been tested on the latest Lollipop. I don't know if it works on the older KitKat.
Download
You can download the application here: https://www.androidfilehost.com/?fid=24052804347773513
Installation
To install it, you must first enable unkown sources from your settings - security, then download the apk to your device and finally open it using a file manager. The application is launched from the back screen via it's own widget, which you need to add to some small slot from Yotahub.
Future plans
I might add coordinates and altitude in the future, but that will increase the battery use slightly because it requires GPS. Maybe I'll put it behind a setting or something. Feedback is always welcome!
Click to expand...
Click to collapse
Hi there, it was a damn good work of you. Thanks heaps. I downloaded this Apk on my YD201 Chinese origined mobile (with default Kitkat Rom) and cannot find the compass app anywhere. Can you tell me how to access it ?
app not installed
App does not install on the latest android marshmellow which undoubtedly every yotaphone2 user will want to be on

Android M "doze" mode; When is it activated ...

So, I could not find the answer to this, when is it exactly the doze mode activated (becoming active).
All articles only mention, after some time when the device is stationary (no movement).
How long is that some time?
After some read, found this article:
https://newcircle.com/s/post/1739/2015/06/12/diving-into-android-m-doze
And here is the source code of the DeviceIdleController:
http://tools.oesf.biz/android-MNC/xref/com/android/server/DeviceIdleController.java
It looks like, the doze mode will be activated after 1 hour (2 times 30 minutes).
But again, I am not Java developer, probably there are much more detail in the process.
What if the device is moved? Will the doze mode "cancelled"?
Well, it would be nice if custom ROM developer could add some customization in this, like shorten the activation time. Or even better, after the doze mode activated, it will stay active even if the device is moved (inside pocket), until the user do something (e.g. waking up, pressing button).
We need a developer to perform doze!!!!!
Enviado desde mi Nexus 6 mediante Tapatalk
I had these exact same questions. How long does it take to enter doze and how much does it take to wake from doze? Like if I bump my phone on desk is it going to hop out of doze mode? Would be cool to alter the time limits. Glad someone is looking into this!
And what parameters are measured for "stationary"? If the GPS is involved then truckers, EMTs, highway patrols and there like will never hit doze.
Sent from my Nexus 6 using Tapatalk
Hoyt Thompson said:
And what parameters are measured for "stationary"? If the GPS is involved then truckers, EMTs, highway patrols and there like will never hit doze.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I would really hope Google would have considered that when making doze.
Sent from my Nexus 6
Mr Patchy Patch said:
I would really hope Google would have considered that when making doze.
Sent from my Nexus 6
Click to expand...
Click to collapse
I am sure they did but it would be easier for the devs to tweak it or us to use it to its potential if a more descriptive instruction is given rather than "stationary"
inquiring minds want to know and searches are turning up few results
Hoyt Thompson said:
And what parameters are measured for "stationary"? If the GPS is involved then truckers, EMTs, highway patrols and there like will never hit doze.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
If I am not mistaken, the doze will detect "significant motion" for that stationary checking.
Code:
void startMonitoringSignificantMotion() {
if (mSigMotionSensor != null && !mSigMotionActive) {
mSensorManager.requestTriggerSensor(mSigMotionListener, mSigMotionSensor);
mSigMotionActive = true;
}
}
void stopMonitoringSignificantMotion() {
if (mSigMotionActive) {
mSensorManager.cancelTriggerSensor(mSigMotionListener, mSigMotionSensor);
mSigMotionActive = false;
}
}
However, how much significant? That's up to the manufacturer implementation. At least this is not defined in the software. That's what I understood. This is an explanation I found:
http://stackoverflow.com/questions/...-of-type-significant-motion-sensor-in-android
But again, I am not Android developer.
I guess, to know about that significant motion, you can install this app (FREE) and then test with some motions
https://play.google.com/store/apps/details?id=com.axelk.sensorapp
From the app description:
Android Sensors is an very useful and simple application.
With Sensor Test for Android on your device you can view and read ALL AVAILABLE android-sensors. (similar to Sensor Box for Android or Phone Tester)
Additionally, you'll receive via the info button other useful information such as the sensor works and what it does.
I'd appreciate a good rating and a +1 (Google+)!
Sensor Test for Android is tested on different devices and versions.
I was not able to test all 8000 different types of Android devices, it´s possible that on some devices appear errors.
Affected people with a not working Sensor-Test-App should reboot and run it again.
Sensor Test for Android is still under construction!
If you have any troubles with your device, please send me an e-mail with the problem (Device-type, Android version, screenshot) before submitting a bad rating.
[email protected]
List of available sensors: (not all sensors will be present in your device)
- ACCELEROMETER
- MAGNETIC FIELD
- ORIENTATION
- GYROSCOPE
- LIGHT
- PRESSURE
- TEMPERATURE
- PROXIMITY
- GRAVITY
- LINEAR ACCELERATION
- ROTATION VECTOR
- RELATIVE HUMIDITY
- AMBIENT TEMPERATURE
- MAGNETIC FIELD UNCALIBRATED
- GAME ROTATION VECTOR
- GYROSCOPE UNCALIBRATED
- SIGNIFICANT MOTION
- STEP DETECTOR
- STEP COUNTER
- GEOMAGNETIC ROTATION VECTOR
- HEART RATE
About me:
Sensor Test for Android is my technicians work I programmed in the summer holidays of my training as a technician (electrical engineering).
Before starting programming, I knew just how to spell JAVA.
I only had contact with LabView, a "painting by numbers" for programmers. For this application a documentation will be created, with which following students can easily incorporated into the Java programming language.
I'd appreciate a good rating and a +1 (Google+)!
Downloaded the sensor app @gogol seems a good amount of movement is needed for significant motion be counted(walking a few steps). Gonna do some more testing... Thanks for the info!
anthonyg45157 said:
Downloaded the sensor app @gogol seems a good amount of movement is needed for significant motion be counted(walking a few steps). Gonna do some more testing... Thanks for the info!
Click to expand...
Click to collapse
Good to know!
I am wondering if putting the phone inside our pocket would trigger significant motion. Otherwise, we need to put it lay down stationary on the table
Thanks for the experiment.
This is interesting, "Agressive Doze" mode from Greenify!
http://forum.xda-developers.com/apps/greenify/aggressive-doze-experimental-feature-t3223731
This isn't based on anything code related but Pebble users are reporting that on marshmallow their pebble's lose connection to the phone app almost 15 minutes on the dot after the phone screen turning off so that's my guess
Seriously 1 hour for doze mode to be activated? Sounds flawed. I'm still hesitating whether to buy Nexus 6...
How is the experiment goes?

Daydream VR? ARcore?

Has anybody determined yet what level of support the RH1 has for Daydream VR? ie...
* Official support?
* No official support, but appears to "just work" perfectly fine with Daydream anyway... controller works, phone's NFC recognizes Daydream headset, and Google Play happily shows Daydream apps as being downloadable
* No official support, and phone seems to be able to be coaxed into working perfectly well with Daydream apps you compile & build yourself... but Google Play doesn't recognize it, and refuses to show Daydream apps (at least, unless you do some hacking to trick it into letting you see them anyway)
* Dysfunctional. The controller isn't recognized, or some other fundamental problem means you can't even get your own apps that use the Daydream framework to run on the phone.
* ???
Likewise, has anybody tried using self-compiled apps that use ARcore with it to gauge performance? I'm particularly interested in the latency you'd get with it if you just wanted to take the realtime preview image from the rear camera and render it into a Unity scene as a background texture. When I tried it with my Nexus 6P, the latency felt like it was around 500-800ms (ie, so intolerably bad, the room felt like it was sloshing around like a swimming pool during an earthquake... totally unusable for "synthetic augmented reality" where you use the rear camera for the realtime view & overlay the AR imagery onto it, as opposed to "holographic augmented reality" where you look at your surroundings directly & have AR imagery projected/reflected/overlaid onto it by some other means).

Can someone port the S View Cover Service or app from android marshmallow?

Hello,
I have a Samsung Galaxy A5 2015 (SM-A500G) and I have a custom rom installed on it (Viper OS Android 9). The rom is amazing but I have put an official S View Cover on it and clearly, as it is a different rom, the cover does not bring up any windows and it makes the cover basically useless :crying:. Is there anyway that someone can port the Samsung Galaxy A5 2015 S View cover service or app for a custom rom or updated android? I tried many app like s view cover pro from google play store but all of these apps do not function properly and used proximity sensor which is really annoying as every time you put your hand over the proximity sensor (say if you are gaming in landscape mode) the window pops up. I would be really happy if someone is able to give me a port or a working s view app that does not use the proximity sensor but rather magnetic sensor like in the official stock rom.
Thank you and Regards.

Categories

Resources