Comments (5)
I'm thinking that it might be necessary to use the new camera2 API on some of these newer devices. This gives us the use of setTorchMode but we will need to provide fallback for lower API levels.
Unfortunately, this really needs our targetSdkVersion
to be increased to 23 (from the current 19) but that brings in a host of other issues, namely the removal of org.apache.http.client
from enginedriver.
@mattharris Yeah, that's why we decided to leave it alone a couple years back when Steve and I looked into this. If we are going forward with the feature (which would be great), don't think we can leave out support for the new camer2 API - that would cause too many support headaches.
I think I did some code in ConnectionActivity years ago that traps a case where a method doesn't exist in the current Android version. (see overridePendingTransition). There is other code that directly tests the API level before calling something that isn't supported in prior levels. Can we use some combination of these approaches here, or is the new camer2 API totally unavailable to us with our current build setting?
from enginedriver.
@n3ix I'm going to re-visit this as part of the investigations due to being forced by Google to increase the API level to 26 - after 31st October, we can no longer submit updates to the Play Store if our targetSdkVersion is lower than 26.
I do already have proof of concept code for the use of the different camera APIs that is invoked based on device capability, but this needs to be refactored as it was written prior to the shift to Gradle builds.
from enginedriver.
@n3ix Can we close this now as part of the changes made in #374?
from enginedriver.
@mattharris Yes it is fixed by 374
from enginedriver.
Related Issues (20)
- Feature Request: New throttle layout for those that use braking
- Feature Request: customizable function labels for EACH dcc address HOT 6
- Listen for DCCppOverTCP server zeroconf broadcast HOT 2
- f-droid inclusion HOT 1
- Feature Request: Access Functions higher than 30 HOT 6
- ESU MCII knob does not react to external speed changes HOT 1
- Increase targetSdkVersion to 26 HOT 4
- Add support for importing and then graphical button icons from DecoderPro Roster instead of text on buttons HOT 3
- Enhancement: Add support for graphical buttons (instead of text) using icons stored in decoderpro roster HOT 1
- Add support for use of decoder pro roster icons instead of text for buttons. HOT 1
- Add support for using decoderpro roster icons instead of text in throttle buttons HOT 1
- Logo design HOT 1
- Untranslated strings v2.23.81 HOT 2
- Licensing prompt when using on closed network HOT 4
- Feature Request: Make preferred network used for connection requests configurable HOT 11
- Feature request: setting to enabled/disable sound and vibrate on disconnect HOT 8
- Feature request: new connection profile for Roco / Fleischmann Multimaus HOT 2
- Additional Tablet Support
- Feature Request: Add generic keyboard mapping. HOT 6
- Feature Request: "Radio" communications and/or Text Train Orders HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enginedriver.