上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 1. 内存管理基础知识http://www.cnblogs.com/xingfuzzhd/p/3485924.html1. mImageView.setImageResource(R.drawable.my_image); 这段代码会调用 BitmapFactory.decodeStream() 生... 阅读全文
posted @ 2014-05-30 21:38 davesuen 阅读(272) 评论(0) 推荐(0) 编辑
摘要: @Override public View getChildView(final int groupPosition, final int childPosition, boolean isLastChild, View convertVi... 阅读全文
posted @ 2014-05-07 01:29 davesuen 阅读(1267) 评论(0) 推荐(0) 编辑
摘要: 1. Dialog 与 AlertDialog 的区别。 AlertDialog 是一种特殊形式的 Dialog。这个类中,我们可以添加一个,两个或者三个按钮,可以设置标题。所以,当我们想使用 AlertDialog 默认的按钮形式,用 AlertDialog 更加方便,而且有一个类 AlertD... 阅读全文
posted @ 2014-05-05 17:37 davesuen 阅读(5872) 评论(0) 推荐(0) 编辑
摘要: 当 Activity 的启动模式是 singleTask 或者 singleInstance 的时候。如果使用了 intent 传值,则可能出现 intent 的值无法更新的问题。也就是说每次 intent 接收到的值都是第一次接到的值。因为 intent 没有被更新。想要更新需要做两件事情。1. ... 阅读全文
posted @ 2014-05-01 22:53 davesuen 阅读(1670) 评论(0) 推荐(0) 编辑
摘要: 模拟器:localuser:~ localhost$ adb shellshell@android:/ $ su// 数据库复制到 Download 下shell@android:/ # cp /data/data/your.package.name/databases/your_database.... 阅读全文
posted @ 2014-04-03 18:41 davesuen 阅读(448) 评论(0) 推荐(0) 编辑
摘要: @raw/sf_the_typewriter @raw/sf_facades @raw/sf_ah_vous_dirai_je_maman_k265 @raw/sf_jesu_meine_freude_bwv227_weicht_ihr_trauergeister @raw/sf_music_of_the_spheres @raw/sf_cosi_fan_tutte_k588_act_1_scene_2_terzettino_soave_sia_il_vento @raw/sf_... 阅读全文
posted @ 2014-03-26 18:43 davesuen 阅读(2249) 评论(0) 推荐(0) 编辑
摘要: 1. TextView 中嵌套图片的方法TextView textView...textView.setText("...");textView.append(Html.fromHtml("",imageGetter, new MTagHandler(context)));就是在 TextView ... 阅读全文
posted @ 2014-03-19 19:29 davesuen 阅读(3247) 评论(0) 推荐(0) 编辑
摘要: 需要注意几个概念:Runnable,Thread,Handler。1. Runnable只是一个接口,里面包含run()函数。所以Runnable本身不会开启线程。2. Thread实现Runnable接口,并创建新的线程。创新线程有两种方式:创建一个类,继承Thread,重写run()函数。用start()方法运行。 Xxx extends Thread...创建一个类,继承Runnable,重写run(),把这个类放在一个Thread里,然后调用Thread的start()方法运行。 Xxx implements Runnable... Xxx x = new... 阅读全文
posted @ 2014-03-13 07:51 davesuen 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Cette application a été développée par DYNSEO. \n \nDynseo... contact@dynseo.com\n\n+33172605096在 string 资源中添加超链接。代码中需要对相应的 TextView 添加一句:textView.setMovementMethod(LinkMovementMethod.getInstance()); 阅读全文
posted @ 2014-02-22 00:00 davesuen 阅读(429) 评论(0) 推荐(0) 编辑
摘要: Supporting Different Languageshttp://developer.android.com/training/basics/supporting-devices/languages.htmlSupporting Different Screenshttp://developer.android.com/training/basics/supporting-devices/screens.htmlSupporting Different Platform Versionshttp://developer.android.com/training/basics/suppo 阅读全文
posted @ 2014-02-07 18:13 davesuen 阅读(249) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页