51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
文章频道
前端
css3
Javascript
html
Html5
Css
vue
网站优化
正则表达式
React
后端
C语言
C++
Java
.Net
PHP
Python
gis
Go语言
数据库
nosql
其他
Redis
sql
Mysql
Oracle
sqlserver
mongodb
移动
Flutter
Android
IOS
微信
微信小程序
支付宝小程序
快应用
开源
hadoop
资讯
经验
其他
工具
互联网络
代码编辑器
报表/图表
其他
算法
操作系统
linux
unix
windows
centos
mac
游戏开发
架构
微服务
网站架构
分布式系统
系统架构
软件工程
敏捷开发
软件工程
Android
Android应用自动更新功能的实现!
Android应用自动更新功能的实现!http://blog.csdn.net/android_tutor/article/details/7015986 privatestaticfinalintDOWN_UPDATE=1;privatestaticfinalintDOWN_OVER=2;privateSt...
代码星球
·
2020-05-29
Android
应用
自动
新功能
实现
Android Intent 总结
//打开指定网页Intentintent=newIntent(Intent.ACTION_VIEW);intent.setData(Uri.parse("http://www.google.com"));startActivity(intent);//进行关键字搜索Intentintent=newIntent(Inte...
代码星球
·
2020-05-29
Android
Intent
总结
Android实现动态改变屏幕方向(Landscape & Portrait)
1.AndroidManifest.xml:<activity> android:screenOrientation="portrait" 。。。 2.xx.java:<activity>android:screenOrientation="portrait"//如果是竖排,则改为...
代码星球
·
2020-05-29
Android
实现
动态
改变
屏幕
Android中Intent传递对象的两种方法:Serializable & Parcelable
Android中Intent传递对象的有两种方法:1.Bundle.putSerializable(Key,Object);2.Bundle.putParcelable(Key,Object);publicclassxximplementsSerializable{}publicclassBookimplementsP...
代码星球
·
2020-05-29
Android
Intent
传递
对象
两种
Android实现透明的颜色效果(zz)
androidButton或者ImageButton背景透明状态设置 设置Button或ImageButton的背景为透明或者半透明 半透明<Buttonandroid:background="#e0000000".../> 透明<Buttonandroid:ba...
代码星球
·
2020-05-29
Android
实现
透明
颜色
效果
android.database.CursorIndexOutOfBoundsException:Index -1 requested, with a size of 1(zz)
android.database.CursorIndexOutOfBoundsException:Index-1requested,withasizeof1 http://blog.csdn.net/competerh_programing/article/details/7396542 andro...
代码星球
·
2020-05-29
android.database.CursorIndexOutOfBoundsException
Index
requested
with
size
android 布局的两个属性 dither 和 tileMode
tileMode(平铺)tileMode(平铺)的效果类似于让背景小图不是拉伸而是多个重复(类似于将一张小图设置电脑桌面时的效果)dither(抖动)Dither(图像的抖动处理,当每个颜色值以低于8位表示时,对应图像做抖动处理可以实现在可显示颜色总数比较低(比如256色)时还保持较好的显示效果 <bi...
代码星球
·
2020-05-29
android
布局
两个
属性
dither
Android抽屉(SlidingDrawer --类似android通知栏下拉效果)
Android抽屉(SlidingDrawer)的实现发-红黑联盟http://www.2cto.com/kf/201301/182507.html 可动态布局的Android抽屉之基础http://blog.csdn.net/hellogv/article/details/6789698 andr...
代码星球
·
2020-05-29
Android
抽屉
SlidingDrawer
--类似
android
Android仿iPhone 滚轮控件 实现
Android_开发实用滚轮效果选择数字http://blog.csdn.net/zhangtengyuan23/article/details/8653771 Android仿iPhone滚轮控件实现及源码分析http://blog.csdn.net/lilu_leo/article/detai...
代码星球
·
2020-05-29
Android
iPhone
滚轮
控件
实现
Android中View绘制优化
1.优化布局层次http://www.2cto.com/kf/201209/154108.html 2.使用<include/>标签复用布局文件http://www.2cto.com/kf/201209/154115.html <includelayout="@layout/tit...
代码星球
·
2020-05-29
Android
View
绘制
优化
Android Layout_weight 属性
Android对Layout_weight属性完全解析以及使用ListView来实现表格http://blog.csdn.net/xiaanming/article/details/13630837 Layout_weight属性:如果我们想要按照权重比例来分配LinearLayout,我们需要将其宽度设置为...
代码星球
·
2020-05-29
Android
Layout
weight
属性
Android ListView 几个重要属性
AndroidListView几个重要属性http://blog.csdn.net/avenleft/article/details/7334060 android:transcriptMode="alwaysScroll" android:cacheColorHint="#...
代码星球
·
2020-05-29
Android
ListView
几个
重要
属性
Android获取长按按键响应
Android获取长按按键响应http://www.2cto.com/kf/201312/261719.htmlAndroid下Listview的onItemClick以及onItemLongClick等易模糊问题验证http://mypyg.iteye.com/blog/850624 ListView的&n...
代码星球
·
2020-05-29
Android
获取
长按
按键
响应
Android 事件
@OverridepublicbooleanonKeyDown(intkeyCode,KeyEventevent){//TODOAuto-generatedmethodstubswitch(keyCode){caseKeyEvent.KEYCODE_MENU:Log.d(TAG,"KeyEvent.KEYCODE_ME...
代码星球
·
2020-05-29
Android
事件
Android获取程序路径 (/data/data/appname)
Android获取文件夹路径/data/data/http://www.2cto.com/kf/201301/186614.html StringprintTxtPath=getApplicationContext().getPackageResourcePath()+"/files/"+fileName;=...
代码星球
·
2020-05-29
data
Android
获取
程序
路径
专栏
更多
老潘
关注
欢迎关注
建站高手
关注
兴趣:做网站
星空
关注
星空下的梦~
代码星球
关注
IT猿
关注
首页
上一页
1
2
3
4
5
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他