Activity in action: Intent, Android

I am developing a project on Android that deals with images either from the camera or from the SD card. I had this job until I played with the code and broke it. It was too late to cancel, and I can not find a solution.

After the image is selected and processed, the list should be returned, but now I get an exception other than Activity, here is the image.

If anyone knows what is going on, I would appreciate it!

EDIT

Just received, there was a stupid mistake, I had

Intent intent = new Intent(Results) 

Instead

 Intent intent = new Intent(this, Results.class) 
+6
source share
2 answers

It was a stupid mistake, I had

 Intent intent = new Intent(Results) 

Instead

 Intent intent = new Intent(this, Results.class) 
+3
source

Try adding "" to the calling operation.

0
source

Source: https://habr.com/ru/post/910391/


All Articles