Android: Certain intent extras prevent activity finish?

You shouldn't be including your image data within the Intent extras. See this thread for clarification. In a nutshell, keep your Intent extras as small as possible I would suggest storing your picture to the SD card, and passing the path to this file in your Intent.

You shouldn't be including your image data within the Intent extras. See this thread for clarification. In a nutshell, keep your Intent extras as small as possible.

I would suggest storing your picture to the SD card, and passing the path to this file in your Intent.

Thanks a lot, I wish I had found that thread two hours ago (new to Android development). It seems a little silly for me to write the image to file and then read it straight back again - maybe I should just use a singleton to hold it, since I only want the image taken to last for the app lifecycle? Anyway, thanks for the prompt response :) – Adam Jun 23 at 8:34.

Try this code public void quit() { int pid = android.os.Process.myPid(); android.os.Process. KillProcess(pid); System. Exit(0); } and call it using quit().

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions