java.lang.StackOverflowError: stack size 8MB while setting background image capture from camera
问题 I am trying to capture image from camera and set the image as background for a custom view so I can draw on it.but i got an error. Below is the code causing the error ,could anybody guide me on the right path. private CustomView mCustomView; Uri uri; File file; Drawable myDrawable; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_draw_view); mCustomView = (CustomView)findViewById(R.id.custom_view); /