open-ecosystem-development / OpenXR-SDK

Apache License 2.0
2 stars 3 forks source link

sdk and doc for vision glass #49

Open dingsing2021 opened 1 year ago

dingsing2021 commented 1 year ago

developer guides:

  1. add the the AliceIMU-1.0.0.aar into the libs dir of your project

image

  1. Add the aar file as follows
    
    dependence{
    implementation firetree(dir:"libs",include :['*.aar'])

}



3. Add the codes

> API list
svillar commented 7 months ago

Hi @dingsing2021 another question. Is there anything specific that should be done to modify the brightness of the glasses? I've tried using Window parameters like this

WindowManager.LayoutParams layout = getWindow().getAttributes();
layout.screenBrightness = 0.9;
getWindow().setAttributes(layout);

but that does only change the brightness of the phone display not the one from the glasses. I wonder whether the VisionGlass does the same or uses another API