摘要:I have no any sence thinking about life cycle in android platform before i finished the first notePad exercise. There is another big different from the rules of programming with C# or C++. Life cyc...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1package org.anddev.android.listviews; 2 3import android.app.ListActivity; 4import android.os...
阅读全文
摘要:onSaveInstanceState() is called by Android if the Activity is being stopped and may be killed before it is resumed! This means it should store any state necessary to re-initialize to the s...
阅读全文
摘要:If you are used to always having control in your applications, you might not understand why all this life-cycle work is necessary. The reason is that in Android, you are not in control of ...
阅读全文
摘要:I spent a whole day to go through the second example of android (Note book App). Basically, I can understand how to use Activity, Intent and SQLite in android platform already, but it's only a superfi...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->1menu.add(0,INSERT_ID,0,R.string.menu_insert).setIcon(android.R.drawable.ic_input_add); 2menu.add...
阅读全文