09 2011 档案

摘要:How to detect HTTP connection break Jump to: navigation, search Many a times HTTP connection breaks due to some reasons. The connection may be WIFI or HTTP. Applications should be well equipped to catch these connection breaks. The HTTP Client source codes on ForumNokia comes along with the code... 阅读全文
posted @ 2011-09-22 10:50 zziss 阅读(311) 评论(0) 推荐(0) 编辑
摘要:The following code shows how to make an HTTP connection using a TCP/IP with RSocket interface which will retrieve a Web page by resolving the IP address of a server, constructing an HTTP request, sending it to the server and then receiving the response. The sample code will show you how to: Open a s 阅读全文
posted @ 2011-09-19 22:45 zziss 阅读(279) 评论(0) 推荐(0) 编辑
摘要:当应用程序只使用RHTTPSession和RHTTPTransaction来进行HTTP操作,那么在模拟器上的程序退出后会产生CONE 36的panic,通过SDK可以找到对应的说明“Open handles were found during application shutdown”也就是说程序在退出时还有系统资源没有释放(R类),那么产生问题原因是什么呢?分析程序的整个流程可以发现:应用程序首先通过RHTTPTransaction::SubmitL()提交第一次请求后系统会弹出接入点选择的对话框,在我们选择一个接入点后系统开始我们的应用建立网络的初始连接,其实这个过程就是通过RConne 阅读全文
posted @ 2011-09-16 12:42 zziss 阅读(194) 评论(0) 推荐(0) 编辑
摘要:参考资料:http://www.devdiv.net/viewthread.php?tid=2667&highlight=Grid 步骤:1、*Ui.cpp源文件在构造函数ConstructL()中:BaseConstructL(EAknEnableSkin),让程序支持皮肤功能。 2、MMP文件STARTBITMAPbg.mbmHEADERSOURCEPATH..iconsSOURCEc12bg.bmpEND在项目的文件目录下新建一个icons文件夹,里面添加想要的背景图片,这里是bg.bmp;当然,这个可以自己定制。3、Container.h头文件//FORWARDDECLARAT 阅读全文
posted @ 2011-09-14 11:47 zziss 阅读(283) 评论(0) 推荐(0) 编辑
摘要:void CProfileListBox::ConstructL(const TRect& aRect, const CCoeControl* aParent, MEikCommandObserver* aCommandObserver) { ... TFileName iMFileName; iMFileName.Copy(KMifFileName); CompleteWithAppPath(iMFileName); setBackground(); iBgContext = CAknsBasicBackgroundControlContext::NewL(aSkinItem, aR 阅读全文
posted @ 2011-09-14 11:44 zziss 阅读(173) 评论(0) 推荐(0) 编辑
摘要:The CImage_Reader implementation illustrates how to use CImageDecoder to open and read different types of images (jpeg, png, depending on the device) and how to convert them to the Symbian bitmap format, which then can be used to draw the image to the screen. Tip:This is a basic example. There is mo 阅读全文
posted @ 2011-09-05 15:52 zziss 阅读(243) 评论(0) 推荐(0) 编辑
摘要:转贴:本文作者三年间从四级勉强及格到高级口译笔试210,口试232。找工作面试时给其口试的老外考官听了一分钟就说你的英语不用考了。虽不敢说方法一定是最好的,但从现在开始随便谁不要再去找学习资料,每天花两个钟头照说的做,坚持三个月的提高会超过你过去三年。听:网上比较有代表性的论坛是普特www.putclub.com上面的听力资源很丰富,沪江www.hjenglish.com和旺旺www.wwenglish.com上一些材料的也很不错,从中间随便挑一个网站坚持即可。但是千万不要一个个都听过来。记住,开始阶段100篇文章听一遍,不如一篇文章听100遍。如果基础比较弱,那么每天慢速VOA(大概比四级听 阅读全文
posted @ 2011-09-01 11:19 zziss 阅读(254) 评论(0) 推荐(0) 编辑