Closed GoogleCodeExporter closed 8 years ago
Crash occurs when drawThread.start() is called:
public void surfaceCreated(SurfaceHolder holder) {
// TODO Auto-generated method stub
drawThread.setRunning(true);
drawThread.start(); // <------ boom!
}
Original comment by hacker.d...@gmail.com
on 15 May 2011 at 11:23
Here's a hint: surfaceDestroyed is NOT called when Activity is inside TabHost!
Original comment by hacker.d...@gmail.com
on 15 May 2011 at 11:40
Please see Victor's answer here:
http://stackoverflow.com/questions/5318847/android-crash-when-app-is-closed-and-
reopened/5319629#5319629
Original comment by hacker.d...@gmail.com
on 16 May 2011 at 12:00
Original comment by jxmei2...@gmail.com
on 19 May 2011 at 10:47
Fix TabHost crash issue as Hacker Suggest.
/trunk/flot-android-project/AndroidManifest.xml
/trunk/flot-android-project/src/com/flotandroidchart/Demo.java
/trunk/flot-android-project/src/com/flotandroidchart/DemoTabHost.java
/trunk/flot-android-project/src/com/flotandroidchart/flot/FlotChartContainer.jav
a
Original comment by jxmei2...@gmail.com
on 19 May 2011 at 3:50
Original issue reported on code.google.com by
hacker.d...@gmail.com
on 15 May 2011 at 10:36