4 ms·
While his specific examples were about the OpenGL implementation(s), the spirit of his post rings true in other Android subsystems, as well. For example, camer
by jparise 16y ago
While his specific examples were about the OpenGL implementation(s), the spirit of his post rings true in other Android subsystems, as well.
For example, camera support can differ greatly across SDK versions and hardware. Camera callbacks need to be implemented conditionally based on whether autofocus is available and selected. EXIF orientation data isn't reliably recorded on some devices, and the EXIF interface class isn't available in older SDK versions. Lastly, your application will crash if you attempt to take or preview a photo using unsupported dimensions, but the function to query the list of supported dimensions isn't available on older SDKs.