MBL 327 Windows Mobile Demo NETJavaPythonPHP Ruby on
MBL 327 Windows Mobile开� 中的异构系 � 集成
Demo
异构平台 异构的技术架构:. NET、Java、Python、PHP、 Ruby on Rails etc… 异构的程序架构:Client/Server、 Browser/Server
Web. Browser Active. X控 件:驻留Web内容
Web. Browser Active. X控件:驻留 Web内容 Web. Browser控件能够无缝的将B/S应用整合到 C/S应用中. NET Compact Framework支持基本的桌面版的 Web. Browser控件功能
Web. Browser Active. X控件:驻留 Web内容 使用Web. Browser开发中的问题及技巧 Tricks 获取当前访问页面的HTML内容可以使用 Http. Web. Request,Http. Web. Response以及 Steam. Reader得到 Web. Request req = (Http. Web. Request)Web. Request. Creat(url); Web. Response res = (Http. Web. Response)req. Get. Response(); Stream. Reader reader = new Stream. Reader(res. Get. Response. Stream()); String output = reader. Read. To. End(); reader. Close(); res. Close();
其他技巧 在Win. Form中隐藏Tab. Page 启用Virtual Machine Network服务,连接本机网络 动态的webservice URL地址引用
其他技巧 在Win. Form中隐藏Tab. Page控件没有实现Hide()方法 • • • private Tab. Page saved. Page; private void hide. WFPage() { saved. Page = this. tab. Control 1. Tab. Pages[1]; this. tab. Control 1. Tab. Pages. Remove. At(1); } private void show. WFpage(){ if (saved. Page != null) { this. tab. Control 1. Tab. Pages. Add(saved. Page); } }
其他技巧 启用Virtual Machine Network服务,连接本机网络 安装Virtual Machine Network服务 在模拟器中设置NE 2000 PCMICA network adapter 在模拟器中设置 and bind to选项 连接到“ 作网络”
- Slides: 24