- 博客(4)
- 资源 (14)
- 收藏
- 关注
转载 VersionCode和VersionName相关
VersionCode:对消费者不可见,仅用于应用市场、程序内部识别版本,判断新旧等用途。VersionName:展示给消费者,消费者会通过它认知自己安装的版本。一般我们说的版本号就是这个。 我们在运营应用商店的过程中,发现有的开发者会遇到一些问题。 1、同一个VersionName(版本号),对应了多个VersionCode 这种情况很常见,比如说新
2013-09-13 11:48:13 708
翻译 Viewpager&Fragment
1.如何获取Fragement的引用? Fragment fragement = getSupportFragmentManager(). findFragmentByTag("android:switcher:"+R.id.ViewPage+":" + selectTab); 这个Tag可以从FragmentPagerAdapter的源码中找到,如下:
2013-09-12 19:28:09 1425
原创 px、dip、sp区别和使用方法
px、dip、sp区别和使用方法 一、 概述 我们在页面布局的时候,经常会设置容器的长度,但是到底该使用哪个作为长度的单位而懊恼。 在Android中支持的描述大小区域的类型有以下几种。 px(pixels)——像素:不同的设备显示效果相同,一般我们HVGA代表320x480像素,这个用的比较多。 dip(device independent pixels)——设备独立像素:这
2013-09-12 10:30:05 956
翻译 Android中onSaveInstanceState和onRestoreInstanceState
Android calls onSaveInstanceState() before the activity becomes vulnerable to being destroyed by the system, but does not bother calling it when the instance is actually being destroyed by a user acti
2013-09-04 12:53:54 633
android 自定义camera
2012-08-02
Android安全与权限.pdf
2011-08-31
Android中文API合集.pdf
2011-08-31
Android_签名经典教程.docx
2011-08-31
WebView控件基本使用 Android
2011-08-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人