码迷,mamicode.com
首页 > 移动开发
iOS: 获取不变的UDID
iOS: 获取不变的UDID iOS唯一标识的历史历程 iOS 6.0 在iOS6.0以前,是使用uniqueIdentifier来获取手机的唯一标识,后来苹果感觉这样会泄露用户隐藏,就封掉了这个方法; iOS 6.0系统新增了两个用于替换uniqueIdentifier的接口 identifier ...
分类:移动开发   时间:2017-06-22 17:43:14    阅读次数:288
Android中的File存储
关于Android的File存储,这里先说下Java中的File类,根据面向对象的思想,Java中对文件的操作也进行了对象的封装,这个操作文件的类就是File类,File提供了丰富的api来进行文件的操作,比如常见的createNewFile(),mkdir(),mkdirs(),exists(), ...
分类:移动开发   时间:2017-06-22 17:00:08    阅读次数:253
H5跨平台开发app之横竖屏导致的图表混乱问题
在跨平台开发中,犹豫使用的是非原生开发语言,会导致很多不方便的地方,最近公司做一个统计图表的东西,如果用原生开发的话比较容易控制图表显示时手机屏幕的方向,在跨平台开发中比较麻烦,如果用户打开了手机屏幕自动旋转,有可能导致图表显示的错误。解决方案:<!DOCTYP..
分类:移动开发   时间:2017-06-22 16:56:59    阅读次数:230
Android开发中遇到的问题——Android中WARNING: Application does not specify an API level requirement!的解决方法
今天在手机上调试运行Andorid项目时,发现Console打印出"WARNING: Application does not specify an API level requirement!"这样的警告信息,如下图所示: 虽然不影响项目的正常运行,不过还是要找出原因,上网查了一下出现警告的原因, ...
分类:移动开发   时间:2017-06-22 16:55:07    阅读次数:168
Starting nagios:This account is currently not available.
解决方式: 又一次安装php 再重新启动apache 再启动nagios 再訪问:http://ip/nagios 我的问题就是 解决的。 解决方式: 又一次安装php 再重新启动apache 再启动nagios 再訪问:http://ip/nagios 我的问题就是 解决的。 ...
分类:移动开发   时间:2017-06-22 16:50:02    阅读次数:127
手机号码、获得当前时间,下拉框,填写限制
//手机数字限字 手机号码:<input type="text" id="txtPhoneNumber" value="" /> <script type="text/javascript"> var oTxt = document.getElementById('txtPhoneNumber'); ...
分类:移动开发   时间:2017-06-22 16:45:33    阅读次数:177
js判断元素滑动方向(上下左右)移动端
原文地址:http://www.cnblogs.com/beiz/p/5817192.html ...
分类:移动开发   时间:2017-06-22 16:43:41    阅读次数:346
WP8日历(含农历)APP
WP8日历(含农历)APP WP8日历(含农历)APP UI XAML(部分) <phone:PhoneApplicationPage xmlns:CustomControl="clr-namespace:CalendarApp.CustomControl" xmlns:Controls="clr- ...
分类:移动开发   时间:2017-06-22 15:38:31    阅读次数:241
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.baway.dao.UserMapper.register
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.baway.dao.UserMapper.register at org.apache.ibatis.binding.Mapper ...
分类:移动开发   时间:2017-06-22 15:38:21    阅读次数:227
android studio 中jni底层日志的打印
1 添加ndk对log支持若需要添加ndk对log的支持,只需要通过以下2步即可实现。 1.1 修改Android.mk如生成的库文件是“.so文件”,则在Android.mk中添加如下内容:LOCAL_LDLIBS:=-L$(SYSROOT)/usr/lib -llog如生成的库文件是“.a文件” ...
分类:移动开发   时间:2017-06-22 15:37:46    阅读次数:233
VS2012 Nuget 安装 AutoMapper时报错的解决方法
VS2012 在.net 4.0下安装AutoMapper时,会报以下错误: “AutoMapper”已拥有为“Standard.Library”定义的依赖项。 'AutoMapper' already has a dependency defined for 'Standard.Library'. ...
分类:移动开发   时间:2017-06-22 15:13:29    阅读次数:343
android 推断手机是否支持前置摄像头
话不多说 直接上代码, @SuppressLint("NewApi") public static boolean isSupportFrontCamera() { if (!hasGingerbread()) { return false; } @SuppressWarnings("depreca ...
分类:移动开发   时间:2017-06-22 14:46:19    阅读次数:238
Android,iOS打开手机QQ与指定用户聊天界面
在浏览器中能够通过JS代码打开QQ并弹出聊天界面。一般作为客服QQ使用。而在移动端腾讯貌似没有发布提供相似API,可是却能够使用schema模式来启动手机QQ。下面为详细代码:Android:String url="mqqwpa://im/chat?chat_type=wpa&uin=123456" ...
分类:移动开发   时间:2017-06-22 13:54:53    阅读次数:263
iOS UILabel换行同时修改字体大小颜色
UIButton *onlyPriceBtn = [UIButton buttonWithType:UIButtonTypeCustom]; onlyPriceBtn.layer.borderColor = [HuConfigration uiColorFromString:@"#F0493D"]. ...
分类:移动开发   时间:2017-06-22 13:22:28    阅读次数:250
弹出键盘,输入框上移问题 iOS
viewDidLoad 中添加监听 [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(keyboardShow:) name:UIKeyboardWillShowNotification object:n ...
分类:移动开发   时间:2017-06-22 13:21:41    阅读次数:317
iOS_第3方类库_側滑选项卡SlideSwitchView
终于效果: 用法: 1、在主控制器中创建一个【SlideSwitchView】的对象实例,并用成员变量记住,如_slideSwitchView,并加入到self.view 2、设置【_slideSwitchView】的4个属性: tabItemNormalColor:选项卡正常时的颜色 tabIte ...
分类:移动开发   时间:2017-06-22 13:16:00    阅读次数:290
iOS重签
由于渠道推广需要,可能需要多个包做备份推广,区别是icon、游戏名称、登录logo、bundleid、签名证书、支付Consumables不同,其他游戏包体完全相同。 反复修改多次文件提交Jenkins导包完全是浪费精力,于是尝试iReSign工具重签。 遇到的问题: 1.手动修改后缀ipa为zip ...
分类:移动开发   时间:2017-06-22 12:11:41    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!