转:Android学习5
1 将SDk的源代码添加到您的工程中
http://android.opensourceror.org/2010/01/18/android-source/
http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/
2 在资源文件中,添加引号,即要在文本中显示引号,如果直接在XML上添加引号的话,会被直接过滤掉:
string><br>3??Android在接收到一个广播intent之后,在找到了处理该intent的broadcast receiver后,就创建一个对象来处理intent。
然后,调用被创建的broadcast receiver对象的onReceive方法进行处理,接着就撤销这个对象。需要注意的是,对象在onReceive方法返回之后就被撤销,所以在onReceive方法中不宜处理异步的过程,如弹出对话框与用户交互,学习5'); }); }); code_favorites_init(); fix_image_size($$('div.blog_content img'), 700); function quote_comment(id) { new Ajax.Request('/editor/quote', { parameters: {'id':id, 'type':'BlogComment'}, onSuccess:function(response){editor.bbcode_editor.textarea.insertAfterSelection(response.responseText); Element.scrollTo(editor.bbcode_editor.textarea.element);} }); } new WeiboShare({share_buttons: $('share_weibo'), img_scope: $('blog_content')});