Questions tagged [ambient]
72 questions
3
votes
1 answer
TypeScript 0.9.1 CommonJS: correctly declaring exported ambient class implementing external interface?
EDIT:
Put another way the following within a .d.ts file shouldn't produce compiler error TS2137 'Class "MyClass" does not implement interface "IInterface"':
interface IInterface {
someMethod():void;
}
declare module "mod" {
export class…

user2672083
- 375
- 2
- 14
2
votes
1 answer
Updating more Frequently in Ambient Mode not working - Android Wear / WearOS
I'm currently developing an app with support for ambient mjode. That's nothing difficult. Now, my app has two timers that need to Update every second.
So I went for the Google Documentation here. I've tried it multiple times, I've checked every line…

Jannis Goeing
- 21
- 4
2
votes
3 answers
Ambient Namespaces typescript example
The Namespaces chapter give an example related to D3.d.ts which I don't understand.
This is the full example:
declare namespace D3 {
export interface Selectors {
select: {
(selector: string): Selection;
…

Adrian
- 3,321
- 2
- 29
- 46
2
votes
1 answer
Android Wear - How (if possible) to keep processor awake in ambient mode?
With the new addition of the "always on" api in a recent update with android wear, naturally I am trying to incorporate it into my fitness application. After doing some heavy reading on the android developers website it seems as though the only way…

Kyle Petryszak
- 106
- 7
2
votes
1 answer
Why onSensorChange is not invoked when Wearable device is in Ambient Mode
I'm developing a wearable app and I've noticed a strange behaviour.
I have a class FooService extends Service implements SensorEventListener and I've override onSensorChanged() method:
@Override
public void onSensorChanged(SensorEvent…

Karol Żygłowicz
- 2,442
- 2
- 26
- 35
2
votes
1 answer
How to write ambient classes
Is it possible to define your own ambient classes?
For example, the TransactionScope class makes itself available to any object which implements IEnlistmentNotification (I think), without any code to explicitly pass a reference of one object to the…

JohnLBevan
- 22,735
- 13
- 96
- 178
1
vote
0 answers
2 questions about routing rules/iptables of Ambient Mesh
when I tried to delve into the traffic path of the Istio Ambient Mesh, I found two rather bizarre issues. For the sake of discussion, let me first present a scenario:
There are 2 nodes in the cluster, NA and NB;
there are 2 pods in the cluster, the…

xocoder
- 23
- 4
1
vote
0 answers
Capability Info, Health Service, and Ambient Mode
I'm trying to write a fitness companion watch app that would collect heart rate, and calories via HealthServices API, and send them to the device, where we display a workout. I've been following suggested…

Ana
- 67
- 5
1
vote
3 answers
How to use javascript to get proximity or ambient light sensor value from mobile device?
I'm looking for a way to get proximity or ambient light sensor value through javascript for web app development. I know that it's possible on each platform through every native app development.

Scripting Kid
- 11
- 2
1
vote
0 answers
Android Wear OS - AmbientModeSupport not working properly in release-mode
I'm using AmbientModeSupport for an Androi Wear OS application: https://developer.android.com/training/wearables/overlays/always-on
Just finished implementing/testing it and everything worked as expected.
After app release I noticed that the feature…

Sandu Adrian
- 35
- 6
1
vote
4 answers
Turning off Ambient Mode in MI phones
After recent update MI note 5 pro shows ambient mode while charging.
I want to disable ambient mode but did not got setting.
If any one know how to disable mode while charging please let me know.

Sumit
- 70
- 1
- 8
1
vote
1 answer
XAML property values: default vs local vs ambient
I've been trying to interpret the XAML code in a project I've inherited and I want to figure out where some of the values are coming from in certain elements. When I look at an object's properties in the Properties panel, I can see squares next to…

Kyle Delaney
- 11,616
- 6
- 39
- 66
1
vote
1 answer
Frequent Wearable Vibrations with Ambient/Blackscreen
I'm trying to write an App for a Smartwatch that simulates your heartbeat, so it needs to be able to vibrate in time intervals of 1s to about 0.5-0.3s, for a duration of 75ms.
It also needs to do this, when the App enters ambient mode or starts to…

Alex_W
- 51
- 7
1
vote
0 answers
Android Nexus 5x (and maybe other devices) ambient mode
Is there anyway to refresh my widgets if they are placed in ambient screen (see attachment) on Nexus 5x, 6P and maybe other devices.
I need to refresh data once in a minute.

AVEbrahimi
- 17,993
- 23
- 107
- 210
1
vote
0 answers
Can i create custom android ambient application?
I didn't managed to find anything on this, can i create my custom android application that's going to work in ambient mode, so the phone is using only the pixels that are needed (like letters) and not the whole screen ? Something like this: Ambient…

Valentin Taneski
- 11
- 2