My app shows streamed JPEG frames. When I stop the application I have coded in Activity_Pause: Stream.Close Activity.Finish. When I restart the program I just get an black screen, unless I remove the app from the list of recently used programs. Then it starts normally. What am I doing wrong?