Reputation: 32271
When using android.graphics.Camera, and set the manifest to target any SDK below 14, it works fine.
Once I set target SDK to 14, it stop working.
Why?
EDIT:
I am not getting any errors, it just nor working...
Upvotes: 0
Views: 343
Reputation: 98511
Using targetSdk="14"
automatically enables hardware accelerated rendering which does not support 3D transforms in all cases (at least not until 4.3.) How are you using the Camera
object exactly? Clipping is what won't work well with 3D transforms and hardware acceleration.
Camera.applyToCanvas()
will not work with a hardware accelerated Canvas. Instead, just call Canvas.translate()
, or call Camera.getMatrix()
and then Canvas.concat(Matrix)
.
Upvotes: 3