1. 关于菜单
* 有三种:Options Menu, Contect Menu, Sub Menu
* Options Menu:
Activity::OnOptionsMenuCreated, OnOptionsMenuSelected
事件处理方式:
OnOptionsMenuSelected
直接访问Menu Item,绑定Listener.
* Context Menu
OnXXXCreated/OnXXXSelected
2. Dialog
Activity::onCreateDialog, showDiaglog
3. Handler
DEV guide:
When a process is created for your application, its main thread is dedicated to running a message queue that takes care of managing the top-level application objects (activities, broadcast receivers, etc) and any windows they create. You can create your own threads, and communicate back with the main application thread through a Handler. This is done by calling the same post or sendMessage methods as before, but from your new thread. The given Runnable or Message will than be scheduled in the Handler's message queue and processed when appropriate
Q: 这个handler使用的queue与main thread中用的queue是相同还是不同?
4. 问题
Q: 如何引入android.jar的源代码到工程?
5. 几件今天要搞定的事:
* 注册google帐号
* 对应用进行签名并试验
* SVN公网访问帐号
683

被折叠的 条评论
为什么被折叠?



