博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 8 9 10 11 12 13 14 下一页

2010年10月27日

摘要: 1. 查询整个映射对象所有字段Java代码//直接from查询出来的是一个映射对象,即:查询整个映射对象所有字段Stringhql="fromUsers";Queryquery=session.createQuery(hql);Listusers=query.list();for(Usersuser:users){System.out.println(user.getName()+":"+user... 阅读全文

posted @ 2010-10-27 20:18 BradyChen 阅读(484) 评论(1) 推荐(0) 编辑

2010年9月26日

摘要: 一、起因iPhone 的键盘,特别是数字键盘,往往不能满足程序的输入需要。最典型的例子就是在数字键盘上添加一个“.”,用来输入小数点。安装 iPhone SDK 官方的观点,如果要使用小数点键盘,那只好使用数字和符号键盘,但那样没个按键很小,且不需要的按键太多。二、现有方案针对这种情况,最早的解决方案,请参考这里:http://www.cnblogs.com/mac_art... 阅读全文

posted @ 2010-09-26 11:02 BradyChen 阅读(6452) 评论(0) 推荐(3) 编辑

2010年9月17日

摘要: 1。 UINavigationController 到 UITabBarController在准备跳转tabbarviewcontroller 的窗体中添加 tabbarviewcontroller ,配置到各tabitem属性在执行事件里写 [self.navigationControllerpushViewController:newview animated:YES];完成 (注: UITa... 阅读全文

posted @ 2010-09-17 23:07 BradyChen 阅读(3189) 评论(0) 推荐(0) 编辑

摘要: 调用[self presentModalViewController:picker animated:YES]; 然后把设备换了方向, cancel 。但是之前的view没有跟着改变。在UIInterfaceOrientationPortrait 和UIInterfaceOrientationLandscape 调用是两个不同的view。请问如何解决-(BOOL)should事件中[self pr... 阅读全文

posted @ 2010-09-17 23:00 BradyChen 阅读(1824) 评论(0) 推荐(0) 编辑

摘要: 在开发应用程序的时候,特别是当今网络特别充足和重要的时候,网络应用和桌面应用史无前例的整合起来,其界限也越来越模糊。所以网络应用可以向桌面应用开放API,然后桌面应用去调用,这样可以方便的维护一份代码,并且可以push更新到用户手里。而在设计的时候,通常情况下都是客户端发送相应的Http请求,并包含某些内容,发送完毕之后,等待服务器端的响应。而在服务器端,得到请求的内容并生成相应的结果返回即可。虽... 阅读全文

posted @ 2010-09-17 00:54 BradyChen 阅读(3110) 评论(0) 推荐(0) 编辑

2010年9月16日

摘要: To use a tab bar without UITabBarController, you'll need to implement some of the controller functionality in your own code:1) In IB, add a tab bar to your content view and add as many tab items as yo... 阅读全文

posted @ 2010-09-16 11:30 BradyChen 阅读(1179) 评论(3) 推荐(0) 编辑

2010年9月8日

摘要: From rajeev karamchedu Drawing Pie Charts using iPhone SDKHere’s one way to draw a PIE chart using the latest iPhone SDK. There are a ton of tutorials out there that let you get started with the... 阅读全文

posted @ 2010-09-08 22:08 BradyChen 阅读(370) 评论(0) 推荐(0) 编辑

摘要: Hello,I would to play a video file in my iphone. Everything works fine but the result video does not show the volume control (I can listen audio!).What's wrong?This is the code (an example project is ... 阅读全文

posted @ 2010-09-08 21:37 BradyChen 阅读(792) 评论(0) 推荐(0) 编辑

摘要: This article discusses the two classes supported in the iPhone SDK for video playback. by Wei-Meng Lee Playing videos is one of the most common tasks on the iPhone. On the iPhone, all videos must be p... 阅读全文

posted @ 2010-09-08 21:34 BradyChen 阅读(1782) 评论(1) 推荐(1) 编辑

2010年4月8日

摘要: 一直在虚拟机装的mac系统下做开发, 周二打开虚拟机mac系统, 然后弹出来一个更新, 是itune+Safari之类的吧,我点了确定, 然后开始安装更新, 安装完后,系统要求重启, 我就重启了呗, 结果五国了,系统再也没进去。顺便丢了自己一直开发的项目。。。。。。。。。。。。虚拟机会出现一个问题, 有时mac系统文件不能拷贝到共享目录, 我的项目包就这样, 当时只是在mac桌面上建了几个备份,还... 阅读全文

posted @ 2010-04-08 00:17 BradyChen 阅读(829) 评论(7) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 下一页