摘要:
1:查看是否有存储卡插入String status=Environment.getExternalStorageState();if(status.equals(Enviroment.MEDIA_MOUNTED)){ 说明有 SD 卡插入}2:让某个 Activity 透明OnCreate 中不设 Layoutthis.setTheme(R.style.Theme_Transparent);以下是 Theme_Transparent 的定义(注意 transparent_bg 是一副透明的图片)3:在屏幕元素中设置句柄使用 Activity.findViewById 来取得屏幕上的元素的句.. 阅读全文
posted @ 2011-06-11 21:25
android开发实例
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号