首页 > 移动平台
iOS开发-63】Unknown type name "CGRect",did you mean "Rect"?的解决方案
出现这个问题的童鞋,几乎都是因为用了Xcode6。原因:在Xcode6之前,创建的文件系统会自动为用户导入Foundation.h和UIKit.h文件,但是最新的Xcode6只为用户导入了Foundation.h文件,缺少一个。所以,解决方案是:自己在头文件部分导入即可:#import 这个问题,g...
分类:移动平台   时间:2015-08-20 18:46:56    收藏:0  评论:0  赞:0  阅读:315
Android L 5.0版本获取topActivity的方法
Android L版本中getRunningTasks已经失效需要添加权限:public static String getTopPkgName(Context context) { ActivityManager am = (ActivityManager) context ...
分类:移动平台   时间:2015-08-20 18:45:26    收藏:0  评论:0  赞:0  阅读:1025
ios swift学习日记1-Swift 初见
最近ios的swift语言似乎火了,我没有objectc基金会,但在此之前有cjava的基础的。从这几天開始学习ios的swift语言。后期以博客形式公布。这里提供一本翻译的英文版的swif书籍。还是非常好地。本人分享资源从来不要积分哦。仅仅求给大家提供帮助http://download.csdn....
分类:移动平台   时间:2015-08-20 18:44:36    收藏:0  评论:0  赞:0  阅读:358
Jquery 实现 点击按钮后倒计时效果,多用于实现发送手机验证码、邮箱验证码
分类:移动平台   时间:2015-08-20 18:38:36    收藏:0  评论:0  赞:0  阅读:227
Android性能优化(一)
Android性能优化小细节
分类:移动平台   时间:2015-08-20 18:38:06    收藏:0  评论:0  赞:0  阅读:254
IOS总结(学习过程中整理的笔记)
MVC模式:(model+view+controller):是一种帮你把代码功能和显示划分出来的设计模式;model:较为底层的数据引擎,负责管理实体中所继承的数据;view:和用户交互界面;controller:连接二者的桥梁;cocoa frameworks 有两个框架:foundation f...
分类:移动平台   时间:2015-08-20 18:37:46    收藏:0  评论:0  赞:0  阅读:610
Introduction to Glide, Image Loader Library for Android, recommended by Google
In the passed Google Developer Summit Thailand, Google introduced us an Image Loader Library for Android developed by bumptech namedGlideas a library ...
分类:移动平台   时间:2015-08-20 18:33:56    收藏:0  评论:0  赞:0  阅读:282
安卓突击:隐式、显式Intent
android当中显式intent和隐式intent的区别定义:Intent定义:Intent是一种在不同组件之间传递的请求消息,是应用程序发出的请求和意图。作为一个完整的消息传递机制,Intent不仅需要发送端,还需要接收端。 显式Intent定义:对于明确指出了目标组件名称的Intent,我们称...
分类:移动平台   时间:2015-08-20 18:33:26    收藏:0  评论:0  赞:0  阅读:246
Android 开发工具类 37_ ContactInfoProvider
Android 手机中的联系人信息保存在 data\data\com.android.providers.contacts\databases\contacts2.db 中。主要有raw_contacts 表:用来存放联系人的 id;data 表:用来存放联系人的具体数据;mimetypes 表:保...
分类:移动平台   时间:2015-08-20 18:30:46    收藏:0  评论:0  赞:0  阅读:292
IOS之TextView属性设置
UIFontDescriptor *bodyFontDescriptor = [UIFontDescriptor preferredFontDescriptorWithTextStyle:UIFontTextStyleBody]; self.textView.font = [UIFont fo...
分类:移动平台   时间:2015-08-20 18:28:46    收藏:0  评论:0  赞:0  阅读:164
Error: Target id 'android-5' is not valid. Use 'android list targets' to get the target ids.
输入命令:lianxumacdeMac-mini-2:hello-jni lianxumac$ android list targetsAvailable Android targets:----------id: 1 or "android-7" Name: Android 2.1 Type:.....
分类:移动平台   时间:2015-08-20 18:27:26    收藏:0  评论:0  赞:0  阅读:448
Android实例-闪光灯的控制(XE8+小米2)
1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, 7 FMX.Types, FMX.Control...
分类:移动平台   时间:2015-08-20 18:27:06    收藏:0  评论:0  赞:0  阅读:274
iOS高级-QuartzCore框架-2D绘图
一、理论知识什么是Quartz2DQuartz2D实例Quartz2D在iOS开发中的价值图形上下文自定义ViewdrawRect:方法绘图顺序(后盖前)Quartz2D须知二、画线段1.新建一个类MJLineView,继承自UIView。2.拖一个UIView,Class为MJLineView3....
分类:移动平台   时间:2015-08-20 18:26:56    收藏:0  评论:0  赞:0  阅读:354
Codelab for Android Design Support Library used in I/O Rewind Bangkok session
At the moment I believe that there is no any Android Developer who doesn't know aboutMaterial Designanymore since it officially becomes a design philo...
分类:移动平台   时间:2015-08-20 18:25:26    收藏:0  评论:0  赞:0  阅读:388
mac系统下命令编译android ndk项目
1.设置ndk环境变量2.构造android ndk项目,命令:ndk-build3.使用ant构造android sdk项目:命令:android update project -p . -n hello-jni -t 3 --subprojects4.使用ant编译出调试apk, 命令:ant ...
分类:移动平台   时间:2015-08-20 18:25:06    收藏:0  评论:0  赞:0  阅读:243
iOS 剪贴板基本知识
在iOS 中下面三个控件,自身就有复制-粘贴功能1、UITextView2、UITextField3、UIWebViewUIKit framework提供了几个类和协议方便我们在自己的应用程序中实现剪贴板的功能。1、UIPasteboard:我们可以向其中写入数据,也可以读取数据2、UIMenuCo...
分类:移动平台   时间:2015-08-20 18:22:06    收藏:0  评论:0  赞:0  阅读:278
一步一步教你做ios推送
最近在研究ios的推送问题,遇到了一些问题,最终整理了一下。放在这里和大家分享APNS的推送机制首先我们看一下苹果官方给出的对ios推送机制的解释。如下图Provider就是我们自己程序的后台服务器,APNS是Apple Push Notification Service的缩写,也就是苹果的推送服务...
分类:移动平台   时间:2015-08-20 18:17:26    收藏:0  评论:0  赞:0  阅读:284
android --学习导航
官方文档 官方指南:Introduction to Android | Android Developers Android API:Android API| Android Developers 官方中文文档: 序言 | Google Android官方培训课程中文版(v0.5) 博客推荐 and...
分类:移动平台   时间:2015-08-20 18:16:46    收藏:0  评论:0  赞:0  阅读:325
安卓突击:ANR
ANR定义 在Android上,如果你的应用程序有一段时间响应不够灵敏,系统会向用户显示一个对话框,这个对话框称作应用程序无响应(ANR:Application Not Responding)对话框。用户可以选择让程序继续运行,但是,他们在使用你的应用程序时,并不希望每次都要处理这个对话框。因此,在...
分类:移动平台   时间:2015-08-20 18:16:36    收藏:0  评论:0  赞:0  阅读:159
Android笔记:通知
可以在活动里创建,也可以在广播接收器里创建,还可以在服务里创建。NotificationManager manager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);创建一个Notification 对象就...
分类:移动平台   时间:2015-08-20 18:15:26    收藏:0  评论:0  赞:0  阅读:189
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!