Android Question Restarting an app

HARRY

Active Member
Licensed User
Longtime User
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?
 

HARRY

Active Member
Licensed User
Longtime User
Hallo Brandsum,
Thanks for the support, but unfortunately it does not solve my problem. In the thread you are referring to, I did not find a direct reference to my 'problem'. Reading the example of Erel, I added in my code in Activity_Pause: If stream.IsInitialized Then Stream.Close and If Client.IsInitialized Then Client.Close and in connect dim Client As Socket, hoping that it should improve the situation, but no success. Any more ideas?
Harry
 
Last edited:
Upvote 0
Top