移动平台-月排行
http://www.cnblogs.com/ChenYilonghttp://www.cnblogs.com/ChenYilong如果你用的是AFN/ASI,那得修改源代码了,因为AFN/ASI默认不支持“application/x-www-form-urlencoded;charset=utf-...
分类:移动平台 时间:2014-05-23 03:26:39 收藏:0 阅读:1994
Android BluetoothAndroid 4.4上蓝牙协议栈采用的是BRCM和Google共同开发的bluedroid,代替了之前的Bluez.一、 Bluetooth 源码分布 (基于Android 4.4 )1. packages/apps/Settings/src/com/andr.....
分类:移动平台 时间:2014-05-22 16:22:50 收藏:0 阅读:1618
ios 使用xcode调试代码的时候进入断点显示变量全是nil,但NSLog输出那个变量却是有值的...
分类:移动平台 时间:2014-06-02 22:36:02 收藏:0 阅读:690
WifiPickerActivity 实现跳转到系统自带wifi连接界面 在使用一些APP时,比如Google Play,在没有连接到网络时,APP会自动跳转到系统自带的wifi连接界面(如下图),在这个界面下连接wifi有一个很好的功能:在没有连上wifi热点时,“下一步”按钮是无法点击,这种体验效果是非常好的,确保了在下一步时,有网络可以使用。...
分类:移动平台 时间:2014-06-20 09:00:36 收藏:0 阅读:2220
UITableViewCell重用为了能够保证tableViewCell能够高效的执行,Objective-c中引进了重用队列的机制,重影现象也是在重用队列时经常遇到的问题,那么如何解决这个问题呢?下面给出了几种解决办法。第一种解决方法- (UITableViewCell *)tableView:(...
分类:移动平台 时间:2014-06-08 18:46:50 收藏:0 阅读:574
原文地址:http://menuz.iteye.com/blog/1282097Android程序使用http上传文件有时,在网络编程过程中需要向服务器上传文件。Multipart/form-data是上传文件的一种方式。Multipart/form-data其实就是浏览器用表单上传文件的方式。最常...
分类:移动平台 时间:2014-06-13 19:22:29 收藏:0 阅读:702
1、首先来了解一下ContentProvider、ContentResolver和ContentObserver ContentProvider是Android的四大组件之一,可见它在Android中的作用非同小可。它主要的作用是:实现各个应用程序之间的(跨应用)数据共享,比如联系人应用中就使用了ContentProvider,你在自己的应用中可以读取和修改联系人的数据,不过需要获得相应的权限。...
分类:移动平台 时间:2014-06-18 00:48:53 收藏:0 阅读:794
greenDao SQLite工具类使用...
分类:移动平台 时间:2014-07-02 07:50:00 收藏:0 阅读:665
AndroidManifest.xml文件中界面对应的里加入android:windowSoftInputMode="adjustPan" 键盘就会覆盖屏幕android:windowSoftInputMode="stateVisible|adjustResize" 屏幕整体上移
分类:移动平台 时间:2014-07-16 19:10:21 收藏:0 阅读:789
/* * 完成对左右滑动手势的监听 */ @Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: prev.set(event.getX(), event.getY()); break...
分类:移动平台 时间:2014-07-16 11:28:59 收藏:0 阅读:544
转自 http://blog.csdn.net/zhibudefeng/article/details/7795946//file文件操作NSFileManager常见的NSFileManager文件的方法:-(BOOL)contentsAtPath:path 从文件中读取数据-(BO...
分类:移动平台 时间:2014-07-17 22:06:02 收藏:0 阅读:784
using UnityEngine;using System.Collections;public class sheji : MonoBehaviour { public int speed = 5; public Transform newobject; float axisX2 = 0; .....
分类:移动平台 时间:2014-07-19 09:01:06 收藏:0 阅读:375
注:(图中每一个条目和图标都是由代码动态生成) 代码动态布局,并需要为每一个条目设置图标,此时用到了 android:drawableLeft="@drawable/icon"  父xml文件: [html] view plaincopyprint? xml version="1.0" encoding="ut...
分类:移动平台 时间:2014-07-30 10:09:03 收藏:0 阅读:577
http://stackoverflow.com/questions/9627774/android-allow-portrait-and-landscape-for-tablets-but-force-portrait-on-phoneHere's a good way usingresource...
分类:移动平台 时间:2014-08-08 17:43:16 收藏:0 阅读:594
在android开发过程中关于EditText在setFocusable(false);后,当需要再次获得焦点输入时设置setFocusable(true);后还是无法获得焦点的问题:...
分类:移动平台 时间:2014-08-16 12:35:10 收藏:0 阅读:440
以下是两种实现效果1. 自定义cell 继承UITableViewCell重写-(void)setSelected:(BOOL)selected animated:(BOOL)animated{}-(void)setHighlighted:(BOOL)highlighted animated:(BO...
分类:移动平台 时间:2014-08-19 14:13:14 收藏:0 阅读:13245
简介:程序员都是懒惰的,不想写一大堆像下面这样的代码view sourceprint?01.classExampleActivityextendsActivity {02.TextView title;03.TextView subtitle;04.TextView footer;05.06.@Ov...
分类:移动平台 时间:2014-08-20 12:13:12 收藏:0 阅读:483
Android PopupWindow显示位置和显示大小...
分类:移动平台 时间:2014-08-20 21:12:22 收藏:0 阅读:561
上代码: public class MainActivity extends Activity { ImageView imgView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout....
分类:移动平台 时间:2014-08-23 11:19:50 收藏:0 阅读:677
intel给的sample文档中关于Exception Path Sample Application例子的解释已经很清楚了,但是对于我这个刚刚接触网关知识的人来说还是有点陌生。 引用他们的图例:数据流 流向图 过程分析: 线程CoreA0从port0读数据并写到tapA0; 线程CoreB1从tapB1读数据并写到port1; 这是我们需要创建一个网桥br0来连接t...
分类:移动平台 时间:2014-09-05 18:19:41 收藏:0 阅读:435
11081091101111128121
上一页162412下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!