Dry
Java.lang.UnsupportedOperationException at Android.view.GLES20Canvas.clipPath (gles20canvas.java:287) at Br.com.iba.view.PageCurlView.drawCurl (pagecurlview.java:284) at Br.com.iba.view.PageCurlView.onDraw ( pagecurlview.java:353) at Android.view.View.draw (view.java:9291)
In the canvas of the Clippath method to draw the image, on the NEXUS5 run no problem, but to red rice phone on the No, show no effect, after a change of a Huawei mobile phone to try, direct crash, so good, better than not collapse but show no effect to better, After searching on the StackOverflow, a solution was found.
The reason is because hardware acceleration is not supported.
Solve
null);
I'm the dividing line of the king of the Land Tiger.
Reference: Http://stackoverflow.com/questions/7401319/use-hardwareacceleration-flag-with-canvas-clippath
Other wonderful articles
Android Learning Notes ($) Android Options Menu and submenu (submenu)Android Learning note (notification) features and usageAndroid Learning Notes ($) Android uses listeners to listen for menu eventsAndroid Learning notes (+) Android Create a single-selection menu and a check menujquery Tutorial (-ajax) loading data based on requestsjquery Tutorial (-ajax) Append HTML for Operationmore about Android Development articles
Android--Canvas java.lang.UnsupportedOperationException