摘要:
这几天在搞iphone上面一个应用的开发,里面有需要摄像头/相册编程和图片上传的问题,在这里总结一下。【部分知识】iphone中图像通常存储在4个地方【相册、应用程序包、沙盒、Internet】,通过这4个源,我们就可以存取应用图片。相册 iphone的相册包含摄像头胶卷+用户计算机同步的部分照片。用户可以通过UIImagePickerController类提供的交互对话框来从相册中选择图像。但是,注意:相册中的图片机器路径无法直接从应用程序访问,只能通过终端用户去选择和使用相册图片应用程序包 应用程序包可能会将图像与可执行程序、Info.plist文件和其他资源一同存储。我们可以... 阅读全文
摘要:
参考文档:http://www.itivy.com/iphone/archive/2012/3/18/634676751009105055.html 阅读全文
摘要:
通过表名获取列名 FMResultSet 阅读全文
摘要:
#import <UIKit/UIKit.h>#import "AppDelegate.h"void MyUncaughtExceptionHandler(NSException *exception){ NSLog(@"************Bug stack info begin***********"); NSLog(@"%@",exception); // 显示当前堆栈内容 NSArray *callStackArray = [exception callStackReturnAddresses]; NSArra 阅读全文
摘要:
iphone 隐藏键盘 阅读全文
摘要:
In computer science, a doubly linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called links, that are references to the previous and to the next node in the sequence of nodes. The beginning and ending nodes' 阅读全文
摘要:
Singly linked lists contain nodes which have a data field as well as anextfield, which points to the next node in the linked list. --fromwikipedia(http://en.wikipedia.org/wiki/Linked_list)链表中的节点Node,包含一个数据域和一个指针域,指向下一个链表结点。链表的结点包含二个域:1)数据域,当前结点的值2)指针域,指向下一个结点在链表中,因为要涉及到插... 阅读全文
摘要:
In computer science, a stack is a last in, first out (LIFO) abstract data type and linear data structure. A stack can have any abstract data type as an element, but is characterized by only three fundamental operations: push, popand stack top. The push operation adds a new item to the top of the sta 阅读全文
摘要:
lucene,java,htmlparser,parser 阅读全文