Questions tagged [ambient]
72 questions
1
vote
2 answers
onAmbientModeChanged is not calling when in ambient watchface android wear
Recently i tried to implementing ambient mode in android wear watchface, after implement some coding, i found out that onAmbientModeChanged will not be called when turn into ambient mode (emulator), but turn to normal mode it will called twice,…

Cherng Shyang
- 25
- 6
1
vote
1 answer
TypeScript not finding definitions
I have the following file structure:
+ src
| test.ts
| z_module.d.ts
tsconfig.json
test.ts
// does nothing?
///
// can't now write:
var a: zzrm.zzrmObject;
// have to use:
import * as zzrm from…

AJP
- 26,547
- 23
- 88
- 127
1
vote
1 answer
Ambient Mode not entered with 2D Picker
If my activity implements a 2D Picker, the ambient mode is not entered at all and the activity just stays active the hole time.
My other activities implementing a WearableListView don't have that problem, so i assume my code is correct. I am calling…

MeinLieberScholli
- 27
- 4
1
vote
2 answers
How to support new ambient mode in android wear?
Since last update Android Wear has a new feature - the always-on mode. This means that the Android Wear device doesn’t turn off the screen; it changes to the ambient mode to save battery and keeps certain apps running in the background.
How exactly…

Andrew F
- 1,712
- 2
- 15
- 24
1
vote
3 answers
Android Wear detect ambient screen mode
Is there a way to detect when the watch is in ambient screen mode? I make a watch face and want to continue to update the clock when the ambient screen mode is on (clock is shown on screen), but I want to stop updating when the screen is off. For…

jaumard
- 8,202
- 3
- 40
- 63
1
vote
1 answer
Waking Wear Device from Ambient Mode from Companion Mobile App
I'm writing a Custom Watch Face for Android Wear, and I am able to send settings data to the watch from mobile just fine. However when the watch is in ambient mode and the user changes the settings from their mobile, I'd like to wake the watch from…

user2825168
- 383
- 1
- 3
- 10
1
vote
1 answer
Processing Software Environment download
Can i download the Processing IDE from another source, cause it seem that the processing.org page is already down. If there another mirror page for download the Processing IDE, I'd be very grateful.

iqbalnoverdy
- 13
- 2
1
vote
0 answers
AVAudioSessionCategoryAmbient in IPhone background not working
Im just trying to play a simple audio file. Here is the scenario, the app is started and i "prepare to play" the audio on viewdidLoad. When i go into the BACKGROUND i need to play music for a brief moment but it wont play in ambient category but…

j2emanue
- 60,549
- 65
- 286
- 456
0
votes
1 answer
adding a lighting glLightfv method is not working
i am tring to add a light. but when i try to modify the position netbeans highlights the gl.glLightfv method. its not just with the position its with diffuse and ambient too... what i am do wrong... here is my code.
all the hits say that:
no…

Bhavin Ragha
- 73
- 1
- 4
- 11
0
votes
1 answer
'AmbientLifecycleObserver' is abstract; cannot be instantiated
Google updated how ambient mode works in WearOS but I'm having trouble implementing the changes.
This is the change they made:
https://android-review.googlesource.com/c/platform/frameworks/support/+/2534423
Rename AmbientLifecycleObserverInterface…

Kris B
- 3,436
- 9
- 64
- 106
0
votes
0 answers
Android Sample Code of Light Sensor Build From Delphi XE 10.4 not working
When I run sample code "sensorInfo" from RAD Studio, I got zero in Lux Value, then I google for Light Sensor and find out another code but got same value ZERO. What should I do for this situation? Thanks.
My phone is Asus Zenfone6 with android…
0
votes
1 answer
Global variable as a namespace? Defining ambient typescript definitions for StarUML
I'm trying to define the TypeScript type definitions for the StarUML tool. I've managed to make it work for a good part of the API but I'm getting stuck on the following problem: how to make the link between a (JavaScript) global variable ("type"…

escribis
- 1
0
votes
0 answers
Identification of colors in a transparent bottle under different lighting conditions
I am trying to identify set of colors in bottles which are kept serially using OpenCV. I have tried the following procedures but most of them fail in different colors of ambient light.
Image segmentation using Histogram but fails for ambient light…

user2101977
- 113
- 1
- 9
0
votes
1 answer
Is it possible to publish a package with an ambient module declaration?
I have a package with tons of generated modules that all export the same type (eg. icon library).
I want to avoid creating a .d.ts file for each module as they would all be the same.
Instead, I would like to create an index.d.ts file at the root of…

Hiroki Osame
- 295
- 6
- 16
0
votes
1 answer
How to use a generated ambient enum to generate options in angular
I have a typescript enum generated via openapi-generator.
It looks like this:
export declare enum Role {
SubscriptionOwner = "Subscription Owner",
Admin = "Admin",
Developer = "Developer",
Publisher = "Publisher",
Editor =…

Ev0oD
- 1,395
- 16
- 33