摘要: Uri uri=Uri.parse("http://www.baidu.com");Intent intent=new Intent(Intent.ACTION_VIEW,uri);startActivity(intent); 阅读全文
posted @ 2011-01-14 16:12 xngeer 阅读(4782) 评论(1) 推荐(0)
摘要: private void 事件处理函数(){ //提示或选择 对话框 new AlertDialog.Builder(this) .setTitle("") .setMessage("") .setPositiveButton("",new DialogInterface.OnClickListener(){ public void onClick( DialogInterface dialogi... 阅读全文
posted @ 2011-01-14 16:02 xngeer 阅读(684) 评论(0) 推荐(0)
摘要: 很高兴偶然拿到了这样入门级别的教材但是卢老师今天给我出了个难题,第八章结尾的部分介绍了资源文件夹中在xml文件中新建字符串,在后面的章节中直接用R.string.***调用。但是我调用 得到的结果却是一串数字,我知道那可能是字符串的代号,但是找了很久才找到解决办法http://bbs.starandroid.com/showtopic.aspx?forumid=19&forumpage=1&topicid=3853&go=prev用.getResources().getString(R.string.***))调用 阅读全文
posted @ 2011-01-14 14:41 xngeer 阅读(370) 评论(1) 推荐(0)