I am making a game, and it's almost done. This is the last major thing that needs to be solved before I can launch it. When an advertisement pops up and the user clicks on it and it takes them to a web page, and they back into the app, the screen is blank. I assumed I needed to do something in the onResume method but I don't think it's calling the onResume method at all because I tried to put a System.out.println there and nothing showed on console. Right now I'm dealing with the main activity, where I create an instance of GamePanel, which extends SurfaceHolder, and I set content view to the game panel.
And the Game class is where the main code for the Game happens. It has update and manipulates the Canvas.