Thursday, January 23, 2014

Program is running, pick up the phone crashed, neighborhoods reason anxious! ! !


            
Hello, brother beginner android developer, recently encountered a very difficult issue, I want to ask prawn. Develop their own programs in use, often baffling problem, abnormally flash back. For example, when a sudden to use the phone, such as telephone access after the program on the problem, and how points are given; or open the program after a period of time and then go in standby, the program also does not know what the problem appeared on collapsed. Will these two cases would be what causes or is there any way to track that, thanks! !
Reply:
Depends on the specific code, this problem should be a good solution, all code issues.
Reply:
cited a floor birdsaction reply:
depends on the specific code, this problem should be a good solution, all code issues.

Thank you! The problem is not a problem will arise every time there is a normal time.
Reply:
Might lead to insufficient system memory to answer the phone, the system will end interface of your application, then you can open on error, so you need to onSaveInstanceState and onRestoreInstanceState method for certain data can be saved and taken out, I hope you have Help,
Help vote http://vote.blog.csdn.net/blogstaritem/blogstar2013/xiaanming
Reply:
reference to the third floor xiaanming reply:
might lead to insufficient system memory to answer the phone, the system will end interface of your application, then you can open on error , so you need to onSaveInstanceState and onRestoreInstanceState method for certain data can be saved and taken out, I hope to help you,
Help vote http://vote.blog.csdn.net/blogstaritem/blogstar2013/xiaanming

Thank you, have cast
Reply:
RAM enough? Look at the system's memory
Reply:
references, 5th Floor u010006337 reply:
memory enough? Look at the system's memory

How you come??

Reply:
reference to the 6th floor guoyoulei520 reply:
Quote: references, 5th Floor u010006337 reply:

RAM enough? Look at the system's memory

How you come??
Mixed android android plate ah just learn it so good why not take advantage of the resources
Reply:
Pay attention to your particular Activity lifecycle APP to the phone. Maybe you inside onpause.onstop like to do some abnormal operation ...
Also now usually written in the program code stored log file.
Reply:
references, 5th Floor u010006337 reply:
memory enough? Look at the system's memory

Thank you ~
Reply:
reference to the 8th floor guoyoulei520 reply:
attention to your particular Activity lifecycle APP to the phone inside onpause.onstop Maybe you do like. some abnormal operation ...
Also now usually written in the program code to save log files.

Okay, thank you, I try
Reply:
Posted some better error message and see what misstatements

No comments:

Post a Comment