Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why is it when I follow links to web from my app and return, there is a black screen (Android)?  RSS feed

 
Eric Sweeten
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.





MainThread:



And the Game class is where the main code for the Game happens. It has update and manipulates the Canvas.
 
Ankit Garg
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems related to the other question that you asked...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!