摘要: Intent intent = new Intent(Intent.ACTION_SEND);intent.setType("image/*");intent.putExtra(Intent.EXTRA_SUBJECT, "Share");intent.putExtra(Intent.EXTRA_T... 阅读全文
posted @ 2014-10-24 16:01 Nyle 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 然后使用的时候, button.setEnabled(false);就可以实现了 阅读全文
posted @ 2014-10-24 14:02 Nyle 阅读(1015) 评论(0) 推荐(0) 编辑
摘要: 在内部类中使用context ,比如说按钮的点击监听中,因为类对象改变了,所以不能用this,但是可以调用外部类中的A.this另外可以使用getBaseContext()函数获得context 阅读全文
posted @ 2014-10-24 13:54 Nyle 阅读(1134) 评论(0) 推荐(0) 编辑