Android Question Problem Load Activity

WebQuest

Active Member
Licensed User
I'm having problems loading the activity. I launch the ActivityMain and with a key recall the activity2 and in turn with another key recall the activity3 up to here everything appended. The problem comes when dall'activiy3 return to activity2, I press the button to reopen activity3 and the app crashes by displaying a black screen with no resulting error, if restart the app works but the bug repeats itself in the cycle. How can I solve it?
 

emexes

Expert
Licensed User
Given that our crystal balls are not connected to your app, you are in a much better position to hunt down this bug rather than everybody else hypothesizing wildly ;-)

If you can isolate the problem down the section or line of code where the wheels are falling off, then you will be 87.3% of the way to the solution already.

What does the log say when you run it in debug mode?

What code gets executed when you "press the button to reopen activity3"?

Add trace Logs to the start and end of activity3's Activity_Create and Activity_Resume Subs. Do they show up in the log? If you know that the problem is occurring between points B and F in your code, then you can add further logs to divide and conquer, to narrow in on whereabouts the problem is occurring and then to determine what is causing it to occur.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
and the app crashes by displaying a black screen with no resulting error
There is no crash in android without something in the log.

Check the unfiltered log; it may reveal more informations.
 
Upvote 0
Top