App is FC if the user presses too much to left or right

后端 未结 1 417
春和景丽
春和景丽 2020-12-12 05:35

I have the following XML:



        
相关标签:
1条回答
  • 2020-12-12 06:18
    1. Move your x and y logging to before you access the bitmap to see what values are being returned.

    2. Per the stacktrace, don't call getPixel with values x and y which exceed the dimensions of your bitmap.

    0 讨论(0)
提交回复
热议问题