码迷,mamicode.com
首页 > 移动开发
Appium AndroidKeyCode
Appium AndroidKeyCode...
分类:移动开发   时间:2014-11-20 09:08:18    阅读次数:585
Android - 通过Intent启动Activity
通过Intent启动Activity本文地址: http://blog.csdn.net/caroline_wendy为了动态关联Activity界面,使用Intent启动,可以灵活绑定。在Intent静态类中,定义Intent的内容:public static final String ACTION_HOME = "me.cxxxyx.CxxxyxIntent.ACTION_HOME";然后通过...
分类:移动开发   时间:2014-11-20 09:08:46    阅读次数:219
Android - 渠道号(vender)
渠道号(vender)本文地址: http://blog.csdn.net/caroline_wendyAndroid的apk发布,需要统计各个渠道(vendor)的激活数,就可以使用vendor.txt内渠道号进行统计。因此,在正式版本中,一定要添加Android渠道号,才可以发布;给其他公司修改版本bug之后,返回应用apk时,一定要检查渠道号(vendor.txt)是否添加,同时检查配置(a...
分类:移动开发   时间:2014-11-20 09:07:38    阅读次数:194
android 性能测试iozone篇
一:简介 iozone是一个文件系统的benchmark工具, 用于测试不同的操作系统中文件系统的读写性能, 可以测试以下13种模式 0=write/rewrite 1=read/re-read 2=random-read/write 3=Read-backwards 4=Re-write-record 5=stride-read 6=fwrite/re-fwrite 7=fread/Re-fread 8=random mix 9=pwrite/Re-pwrite 10=pread/Re-pread 11=...
分类:移动开发   时间:2014-11-20 09:09:04    阅读次数:224
Android 百度地图API 定位 导航
看看这个利用百度地图定位并实现目的地导航的Demo。首先看实现效果:                                   进 入后首先会得到当前位置,在地图上显示出来,在输入框中输入目的地后,就会在地图上出现最佳线路,我这里设置的是距离最小的驾车线路,另外还有公交线路、 步行线路,在代码中都有详细注释。另外,在控制台还输出了线路上每一个节点的信息以及起始位置...
分类:移动开发   时间:2014-11-20 09:07:11    阅读次数:276
IOS中的矩阵和向量运算
较完整的描述了,向量的加减乘除,矩阵的乘法,矩阵的转置以及矩阵的逆矩阵...
分类:移动开发   时间:2014-11-20 09:09:04    阅读次数:917
Android无限极树状(tree)结构Demo
上篇文章写了一下ExpandableListView,就是两层结构的点击,Android中没有三层结构的组件,这个时候需要自己去扩展一下,可以扩展ExpandableListView,也可以选择扩展ListView。为了是实现这个效果,也是在搜了很多文章(中国的文章你懂的),有个哥们在GitHub开...
分类:移动开发   时间:2014-11-20 09:01:41    阅读次数:222
Android - CharSequence和String的比较和转换
CharSequence和String的比较和转换本文地址: http://blog.csdn.net/caroline_wendyCharSequence转换String:str = cs.toString();String转换CharSequence:cs = str;CharSequence和String类型的比较:cs.toString().equal(str);具体: ...
分类:移动开发   时间:2014-11-20 07:59:40    阅读次数:368
Android - 错误:Unable to instantiate application
错误:Unable to instantiate application本文地址: http://blog.csdn.net/caroline_wendy错误:java.lang.RuntimeException: Unable to instantiate application me.chunyu.paddoctor.ActivityJava运行时异常,不能实例化应用:XXX.原因:的”and...
分类:移动开发   时间:2014-11-20 07:57:18    阅读次数:191
Android - 警告:it is always overridden by the value specified in the Gradle build script
警告:it is always overridden by the value specified in the Gradle build script本文地址: http://blog.csdn.net/caroline_wendy警告:This minSdkVersion value (8) is not used; it is always overridden by the value s...
分类:移动开发   时间:2014-11-20 07:58:07    阅读次数:243
Android - 设置adb的usb连接配置
设置adb的usb连接配置本文地址: http://blog.csdn.net/caroline_wendy把需要测试的手机连接入电脑,通过系统查找USB连接配置,找到厂商ID:把ID添加进adb_usb.ini;使用命令:vi ~/.android/adb_usb.ini 如:0x2717 0x9bb5使用adb命令:adb kill-server adb start-server可以方便And...
分类:移动开发   时间:2014-11-20 07:57:25    阅读次数:193
我的app JustDoIt 番茄时钟
好吧,现在来介绍一下我的一个app吧,名字叫JustDoIt。是一款番茄时钟类型的app。我想很快就要把它发布了。说不上开心或者不开心。首先它并非我的第一个app,之所以拿出来介绍,可能是想以后做得更好吧,相比于以前至少我的能力和美感都有了一定的提升。图标可能有些呆萌(丑),..
分类:移动开发   时间:2014-11-20 06:55:55    阅读次数:199
ios中摄像头/相册获取图片,压缩图片,上传服务器方法总结
相册 iphone的相册包含摄像头胶卷+用户计算机同步的部分照片。用户可以通过UIImagePickerController类提供的交互对话框来从相册中选择图像。但是,注意:相册中的图片机器路径无法直接从应用程序访问,只能通过终端用户去选择和使用相册图片 应用程序包 应用程序包可能会将图像与...
分类:移动开发   时间:2014-11-20 06:49:25    阅读次数:259
iOS开发:小技巧积累2
http://blog.sina.com.cn/s/articlelist_1935098904_1_1.html、获取全局的Delegate对象,这样我们可以调用这个对象里的方法和变量:[(MyAppDelegate*)[[UIApplicationsharedApplication] deleg...
分类:移动开发   时间:2014-11-20 06:47:57    阅读次数:247
IOS照相机的启动,图片的读取,存储demo
#import@interface ViewController : UIViewController@property (retain, nonatomic) IBOutlet UIImageView *imgV;- (IBAction)openCamera:(id)sender;- (IBAct...
分类:移动开发   时间:2014-11-20 06:48:42    阅读次数:257
iOS开发:小技巧积累
1、获取全局的Delegate对象,这样我们可以调用这个对象里的方法和变量:[(MyAppDelegate*)[[UIApplicationsharedApplication] delegate] MyMethodOrMyVariable];2、获得程序的主Bundle:NSBundle *bund...
分类:移动开发   时间:2014-11-20 06:45:31    阅读次数:198
iOS开发:自定义带下划线文本的UIButton
Uiunderlinedbutton.h代码@interfaceUIUnderlinedButton:UIButton{}+(UIUnderlinedButton*)underlinedButton;@endUiunderlinedbutton.m代码@implementationUIUnderli...
分类:移动开发   时间:2014-11-20 06:44:38    阅读次数:204
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!