首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Android >

转:Android学习五

2012-09-29 
转:Android学习51 将SDk的源代码添加到您的工程中http://android.opensourceror.org/2010/01/18/android-s

转: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')});

热点排行