Eclipse中调试的时候报错[2014-06-18 13:07:49 - DinnerBooker] The connection to adb is down, and a severe error has occured.[2014-06-18 13:07:49 - DinnerBooker]...
分类:
移动开发 时间:
2014-06-28 21:52:07
阅读次数:
287
push()末尾推入元素 返回数组长度pop()末尾弹出元素 返回弹出元素shift()起始弹出元素 返回弹出元素unshift()起始推入元素 返回数组长度代码如:var arr1 = ["b","c","d","e"];var arr2 = arr1.push("f");//arr1:["b",...
分类:
其他好文 时间:
2014-06-28 21:38:30
阅读次数:
237
adb在\sdk\platform-tools里面可以找到。在windows上运行adb需要AdbWinApi.dll,另外还有个AdbWinUsbApi.dll,似乎没有也可以用push传文件到手机。adb push getroot sdcard/这一行语句可以把同一文件夹下的getroot这个文...
分类:
数据库 时间:
2014-06-28 20:12:49
阅读次数:
233
var selectedCodeArray = [];var num = $.inArray(值, selectedCodeArray) //值在数组中的位置selectedCodeArray.push(值码);selectedCodeArray.splice(num, 1);//从数组中删除
分类:
Web程序 时间:
2014-06-21 09:25:11
阅读次数:
216
这里给出二叉树三种遍历方式的迭代实现代码。二叉树的递归实现使用系统栈入栈出栈,而非递归的迭代实现方法就是手动维护一个栈,来模拟递归的入栈出栈过程。 本文没有给出用户栈的代码,如果需要结合上篇的测试代码一起测试,则需要自己实现自己的栈,以及基本的pop、push等栈操作函数。 前序迭代遍历: ...
分类:
其他好文 时间:
2014-06-21 08:19:15
阅读次数:
211
1.推送过程简介 (1)App启动过程中,使用UIApplication::registerForRemoteNotificationTypes函数与苹果的APNS服务器通信,发出注册远程推送的申请。若注册成功,回调函数application:(UIApplication *)applicatio....
分类:
移动开发 时间:
2014-06-21 08:01:45
阅读次数:
241
刚刚遇到的两个错误,。1,Terminating app due to uncaught exception'NSGenericException', reason: 'Push segues can only be used when the sourcecontroller is managed...
分类:
其他好文 时间:
2014-06-20 23:08:13
阅读次数:
318
貌似不影响提交。。。。。。。。还是有人提交成了。昨天晚上提交软件审核,遇到了Missing Push Notification Entitlement的问题。问题起因:这个版本我添加了PUSH推送功能,然后上传软件后,就提示Missing Push Notification Entitlement。...
分类:
移动开发 时间:
2014-06-20 21:32:02
阅读次数:
264
如何通过wifi在android手机上安装调试应用1.首先还是要打开手机的usb调试选项,并通过usb线连接手机。2.然后执行“adbtcpip5555”,把adb从usb模式切换到tcpip模式。正确的回显信息是:“restartinginTCPmodeport:5555”。5555可以是任何未占...
分类:
移动开发 时间:
2014-06-20 19:26:43
阅读次数:
244
JS
var param= new Array();
var one= new Object;
one.id = '1';
one.name= 'simba1';
param.push(one);
var two= new Object;
two.id = '2';
two.name= 'simba2';
param.push(two);
$.ajax({
async :...
分类:
编程语言 时间:
2014-06-18 00:45:17
阅读次数:
505