Check out what version of compileSdkVersion is set in Your project gradle app file. Run app on emulator with the same version. Try preview source code of internal method Problem solved.
Tag: file
//part when you click on item and start camera imageView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); Context context = v.getContext(); if (takePictureIntent.resolveActivity(context.getPackageManager()) != null) { startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE); } } }); //part when you get the thumbnail from camera @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { … Read More “Example how to take photo and upload it’s thumbnail to your server using okhttp3 (first I convert it to jpeg)” »
Interesting solution found on stackoverflow. In terminal, in current folder we write: for /f “Tokens=*” %f in (‘dir /l/b/a-d’) do (rename “%f” “%f”)