救命,怎样在窗口应用程序中设置linux共享内存设置来

随笔分类 - 移动开发系列
Windows Phone开发, Windows Mobile开发, Wince(Windows Embedded CE)开发, .NET Compact Framework开发, Native C++开发
摘要: 使用了LLVM以后,终于可以定义私有的成员变量了。@interface RadioViewController (){@private UIBackgroundTaskI}@property (strong, nonatomic) AVPlayer *audioP@end请注意,在m文件的categories需要使用花括号({})@property还是需要定义在花括号的外面。这样在@implementation RadioViewController@end中间就可以自由的使用这个成员变量(field)task了。
Jake Lin 阅读(3301) |
摘要: 讲述Android开发的一些个人想法。
Jake Lin 阅读(3963) |
摘要: 之前使用TableView的时候都是继承UIViewController,然后继承两个delegate,如下面的代码。@interface SomeViewController : UIViewController &UITableViewDelegate, UITableViewDataSource&这篇文章《如何使用UITableView》讲述了我怎样使用TableView。最近想使用iOS6的 UIRefreshControl,不幸的是这个UIRefreshControl 只能使用在UITableViewController里面,不能支持UIViewController。Th
Jake Lin 阅读(6478) |
摘要: http://cocoapods.org/ 是一个用来管理Objective-C库的工具。可以通过http://cocoapods.org/看到如何安装和使用,只需要3步就可以开始使用,使用了cocoapods,我们就不用从github上分别下载不同的库。只需要在Podfile文件上编写需要使用的库就可以了。例如以下的文件。platform :iospod 'JSONKit', '~& 1.4'pod 'Reachability', '~& 3.0.0'但有时候会发现有些Pods的版本会低于github上的最新版本,可
Jake Lin 阅读(6186) |
摘要: 在iOS5或者以上修改Navigation bar的颜色在AppDelegate.m里面的didFinishLaunchingWithOptions:方法加入以下的语句。- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // Override point for customization after application launch. [[UINavigationBar appearance] setTint...
Jake Lin 阅读(905) |
摘要: 如果使用Xcode 4.5来新建项目,默认是支持AutoLayout的,但是AutoLayout是iOS 6的新特性,如果在iOS 5的simulator上运行程序,会出现Could not instantiate class named NSLayoutConstraint问题。解决方法是打开storyboard文件,去掉AutoLayout的选择。rob mayoff的神图一目了然。
Jake Lin 阅读(4818) |
摘要: Apple的文档表明storyboard只支持iOS5.0或者以上的版本,网上有好多关于如何在iOS4.3或者以下的版本上使用storyboard的提问,反正看了这个文档可以死心了。Do you want your app to use storyboards?Storyboards simplify the design process by showing both the views and view controllers of your user interface and the transitions between them. Storyboards are supported
Jake Lin 阅读(1459) |
摘要: 在Xcode4.4和Xcode4.5里面如果使用@property定义属性,可以不需要在m文件里面写@synthesize,编译器会帮忙自动生成。http://raptureinvenice.com/an-open-letter-to-apple-please-kill-synthesize-in-ios-6/描述了一封至Apple的公开信,Apple还是在聆听社区的声音,Good。
Jake Lin 阅读(1085) |
摘要: 在iOS6以后Orientation可以在plist文件里面进行设置。设置项是“Supported interface orientations”。如果在iOS5或者一下版本UIViewController类默认支持Portrait only,要支持其他Orientation,需要重写shouldAutorotateToInterfaceOrientation:方法。- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) orientation{ return UIInterfaceOrientati.
Jake Lin 阅读(925) |
摘要: 显示图片也有点绕,代码如下://生成一个NSURLnextDraw.imageUrl=[NSURLURLWithString:@&ddddd.png&relativeToURL:[NSURLURLWithString:@&http://ggggggggg.com/&]];//获取UIImage控件,可以是IBOutletUIImageView * imageNextDraw = (UIImageView *)[cell viewWithTag:103];//同步下载到NSDataNSData* data = [NSData dataWithContent
Jake Lin 阅读(3234) |
摘要: 使用UITableView,可以直接拖动Table View Controller,这样会生成一堆模板代码,往你们填就行了,但是有时候不能直接这样拉,例如已经有一个UIView(可能在Navigation View或者Tabbed View里面)想在上面添加Table View。下面是步骤。1.先把Table View控件拉到UIView中。2.做一个connection绑定,把这个Table View绑定到UIOutlet。确认h文件包含了@property,而m文件包含@synthesize。3.把tableview的dataSource和delegate绑定(connections)到U
Jake Lin 阅读(1339) |
摘要: iOS的程序是通过MVC来解耦的,因此界面(nib或者storyboard)与Controller直接是通过connection来进行连接,例如一个按钮连接IBAction,一个Label连接IBOutlet等等,但是这样导致修改(或者说重构的改名)不方便,最后还是把connection删掉重写再建一个,步骤很简单,但是没有人告诉的情况下还是找了一阵子,记下来免得以后不记得。1.打开storyboard,然后在connection inspector,点击删除X按钮删掉。2.删掉相关Controller.h的property的定义。3.删除相关Controller.m的@synthesize(
Jake Lin 阅读(1814) |
摘要: 为不同的列设置间隔颜色(alternate color),可以方便用户观看app的内容,在UTTableView中设置间隔颜色需要重写下面的willDisplayCell:forRowAtIndexPath方法- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { if( [indexPath row] % 2) { [cell setBackgroundColor:[UIColorwhi...
Jake Lin 阅读(538) |
摘要: 下面是三种语言的写法,Objective-C和JavaScript是一样的,与C#不一样。JSfor(var property in object) object[property];C#foreach(var o in dictionary) o.Value, o.KObjective-Cfor(id key in dictionary) dictionary[key];Objective-C与C#的区别是一个是key,一个是pair;其实了解了以后操作都非常简单,但是一开始有点绕。
Jake Lin 阅读(538) |
摘要: 尝试Agile的方式来写博客。本文主要覆盖以下两个故事。故事一:作为一个没有开发过云计算平台的读者,我希望通过阅读本文可以了解云计算的概况。故事二:作为没有开发过Azure的读者,我希望通过阅读本文可以创建第一个Azure Web Role应用。
Jake Lin 阅读(3482) |
摘要: 之前做了一个MSDN中文Webcast app。当时是为了参加Windows Phone Mango大赛而编写的,因此设想很多Mango的新功能,后来给炮灰了。第一个版本大概花了10到15天的业余时间进行开发。后来又用了大概2,3周业余时间更新,完成了基本功能。这个app提交了以后一直没有怎么维护,也没有做推广。这里的推广是指连论坛发贴神马的,不是指刷榜什么的。如果对app store有了解,中国区好多app都是靠刷榜什么的,国外的app dev聚会的时候一般聊聊创意,开发的问题什么的。国内的app开发者大会,有些演讲者直言不讳的说要了解app store的排名算法,花多少钱推广神马的。当然国外的app也推广,而且刷榜这事绝非中国人发明的,但在中国发挥到极致。我当时做这个app是想借参赛的机会学习和大量应用mango的新功能,后来发现还是能帮到别人,也有一些人下载使用的。
Jake Lin 阅读(3319) |
摘要: 本文讲述本人在开发Windows 8 Metro app过程中的一些想法与经验。C#, XAML, C++, HTML5神马的。
Jake Lin 阅读(27181) |
摘要: 在我看来数据绑定是XAML类程序(WPF,Silverlight,WP7,Windows8)最最关键的概念,也是MVVM模式的基础,如果一位开发者在开发XAML类程序时并没有用上数据绑定,那么我觉得他/她还没有掌握开发XAML类程序的能力。数据绑定可以说每个XAML类程序开发者必须掌握的基本技能之一。下面是《数据绑定》样章的一部分,如果觉得翻译的不错而且条件许可,请购买正版书,谢谢您为中国文化事业的贡献。如果觉得有问题请指出,我们会总结堪错列表,谢谢!
Jake Lin 阅读(4236) |
摘要: 本文讲述Windows Phone在空闲状态下是否保持网络链接,有哪些情况会保持链接。
Jake Lin 阅读(4341) |
摘要: 期待已久的Windows Phone 7.1 Mango ROM 终于有了developer测试版。本文讲述安装方法。
Jake Lin 阅读(6145) |
摘要: 本文讲述如何通过最简单的方法更新Windows Phone的NoDo Update
Jake Lin 阅读(3308) |
摘要: 本文讲述计算地球上两点的直线距离。
Jake Lin 阅读(2513) |
摘要: 本文讲述Windows Phone Developer Tools January 2011 Update新功能介绍。
Jake Lin 阅读(3011) |
摘要: Windows Phone Marketplace免费app的上传数量增加到100个,有利于广告app的发展。
Jake Lin 阅读(1336) |
摘要: 本文讲述如何把Windows Phone的debug信息输出到Visual Studio的Output窗口
Jake Lin 阅读(3247) |
摘要: 本文讲述Windows Phone第一更新。
Jake Lin 阅读(4113) |
摘要: 作为第一季度的延续,这一季度讲述一些Windows Phone中文社区讨论相对较少的进阶话题,例如应用程序的生命周期,启动器与选择器,推送通知服务,Panorama与Pivot控件,地理位置服务与反应性扩展框架,Bing Maps Silverlight控件以及Windows Phone Marketplace,一共16个教程,超过20小时的内容。
Jake Lin 阅读(6319) |
摘要: 还在犹豫购买那个Windows Phone设备,或者下面的图能帮到你,该图把目前所有的Windows Phone设备做了详细的比较。
Jake Lin 阅读(1791) |
摘要: 江湖中一直传闻参加PDC10能拿到一台微软倾力打造的Windows Phone 7,我用亲身经历证实了那个传言,详情看原文,有图有真相。
Jake Lin 阅读(4764) |
摘要: 经过漫长漫长的等待以后,终于注册成功Windows Phone Marketplace,把经验分享一下。
Jake Lin 阅读(10659) |
摘要: 本文介绍MSDN webcast系列视频-《Silverlight for Windows Phone开发》,随着Windows Phone 7的强势推出。现在是学习Windows Phone的良机。如果您想参与,《Silverlight for Windows Phone开发》将会是您不错的选择。通过本系列课程的学习,您会具备使用Silverlight开发Windows Phone应用程序的能力,同时具备在Marketplace上销售应用的能力。心动不如行动,一起来学习Windows Phone开发吧。
Jake Lin 阅读(20260) |
摘要: 本文讲述连接Windows Phone以后不能调试Windows Mobile程序的问题
Jake Lin 阅读(1268) |
摘要: Windows Phone Developer Tools October 2010 Update发布了。
Jake Lin 阅读(1195) |
摘要: 如何检查DirectX的版本(用于Windows Phone Developer Tools的安装检查)
Jake Lin 阅读(3463) |
摘要: 如何在Windows XP上安装Windows Phone Developer Tools
Jake Lin 阅读(2989) |
摘要: Windows Phone 7发布了
Jake Lin 阅读(938) |
摘要: 下载过Windows Phone Developer Tool的同学都知道,官方自带的Emulator是不完整的,只显示IE。但是我们做开发的手头上没有真机,想体验一下Windows Phone完整的功能怎么办呢?文章提供安装完整ROM的方法。
Jake Lin 阅读(6404) |
摘要: 本文讲述OneNote Mobile在Windows Phone的使用,以及OneNote Mobile与OneNote 2010的同步过程。
Jake Lin 阅读(3566) |
摘要: Windows Phone 开发支持VB和F#了
Jake Lin 阅读(1387) |
摘要: 最近在选择Windows Phone 7的本地数据库,把经验记录下来。数据库的选择,我考虑以下几点: 性能, 稳定性, footprint(占用文件和内存大小),费用(许可证类型),易用性(访问方式,是否提供管理工具等)。下面讲述Windows Phone下我所了解到的一些数据库实现以及其优缺点。
Jake Lin 阅读(4448) |
摘要: Silverlight for Windows Phone 7开发系列文章,从简单到深入的讲述Silverlight for Windows Phone 的开发。这个系列主要讲述一个网络收音机的开发过程,这一网络收音机程序涉及到Silverlight控件的使用,图片的操作与使用,图片的变形 (transform)和动画(animation),网络媒体的播放等等多个方面。与此同时,我还会讲述Silverlight for Windows Phone与Silverlight 3/4的一些区别,移动智能手机开发时候的注意点。读者通过学习这个系列的文章,在完成系列文章的所有步骤后,可以入门Silverlight for Windows Phone的开发,制作出可以在Windows Phone Market Place出售的应用程序(App)。
Jake Lin 阅读(3053) |
摘要: 上一篇文章讲述了如何使用MediaElement控件来播放网络电台,讲述了MediaElement控件支持的媒体文件格式以及其一些限制性,同时讲述了Slider控件的使用和数据绑定的方法。这篇文章讲述如何使用Silverlight进行动画的开发。
Jake Lin 阅读(1927) |
摘要: 在上篇文章讲述了如何新建一个Silverlight for Windows Phone的应用程序,这篇文章讲述如何在Windows Phone上进行多媒体应用的开发。同时介绍当前Windows Phone Beta版本所支持媒体文件格式,以及讲述Windows Phone多媒体开发的一些限制性和注意点。
Jake Lin 阅读(2611) |
摘要: 上一篇讲述了Windows Phone 7开发环境的搭建,这篇文章讲述如何创建,部署,调试以及运行Silverlight for Windows Phone应用程序,同时介绍如何Microsoft Visual Studio 2010 Express for Windows Phone和Windows Phone Emulator(模拟器)的使用。在文章中会建立一个叫做SilverRadio的Silverlight for Windows Phone应用程序,我把这个程序取名为银光收音机,这个程序用于收听网络电台节目。
Jake Lin 阅读(2476) |
摘要: 随着Windows Phone设备发售日期的临近,作为微软的全新智能设备平台越来越受到关注。我也把重点从Windows Mobile与Windows Embedded CE慢慢转向Windows Phone的开发。因此编写Silverlight for Windows Phone 7开发系列文章,从简单到深入的讲述Silverlight for Windows Phone 的开发。这个系列主要讲述一个网络收音机的开发过程,这一网络收音机程序涉及到Silverlight控件的使用,图片的操作与使用,图片的变形 (transform)和动画(animation),网络媒体的播放等等多个方面。与此同时,我还会文章中讲述Silverlight for Windows Phone与Silverlight 3/4的一些区别,移动智能手机开发时候的注意点。希望读者通过阅读这个系列的文章,在完成文章的所有步骤后,可以入门Silverlight for Windows Phone的开发。
Jake Lin 阅读(2643) |
摘要: 最近在调试C# Sqlite for Windows Phone 7,了解了一下Silverlight的本地文件操作,把想法记录下来。
Jake Lin 阅读(3707) |
摘要: 这是我写的银光收音机程序,使用Silverlight for Windows Phone 开发,还在不断完善中。
Jake Lin 阅读(1492) |
摘要: 报告一个Windows Embedded CE 6 msmqadm工具的bug
Jake Lin 阅读(478) |
摘要: 本文讲述如何在Silverlight如何内嵌资源,适用于Windows Phone.
Jake Lin 阅读(1157) |
摘要: 本文讲述微软发布的Windows Phone设计资源.
Jake Lin 阅读(1221) |
摘要: 感谢大家的支持,以及微软社区精英计划团队的肯定,我被邀请在微软MSDN网络建立个人主页,由于第一次建立主页的时候,需要提交相关博文的信息,为了实现该需求,我用PowerShell来完成博文的采集。本文讲述如何使用PowerShell来采集博客园上的博文信息。
Jake Lin 阅读(12382) |
摘要: 最近在学习Windows Phone 7以及Silverlight的开发,介绍一些相关书籍,以及个人的学习感受。
Jake Lin 阅读(3671) |
摘要: 本文讲述升级到Windows Phone Developer Tools Beta的一些经验。
Jake Lin 阅读(1116) |
摘要: 您是高效程序员吗?您每天都在做重复的操作吗?不要为琐事而忙碌。Save your time, enjoy your life.本文讲述如何使用Powershell通过RAPI来控制Windows Embedded CE和Windows Mobile设备。
Jake Lin 阅读(3849) |
摘要: How to target the existing project to new platform
Jake Lin 阅读(725) |
摘要: 通过视频的方式讲述Silverlight for Windows Phone 7基本开发过程以及Push Button控件的使用,同时讲述Silverlight for Windows Phone与标准Silverlight 3以及Silverlight 4的一些区别。由于本人也是Silverlight的新手,有不对的地方请大家指出,谢谢!
Jake Lin 阅读(2520) |
摘要: How to set up Window Mobile 6.5.3 Development Environment
Jake Lin 阅读(677) |
摘要: How to separate the implementation and definition for template function in c++
Jake Lin 阅读(537) |
摘要: Consideration when use Template sepecializations
Jake Lin 阅读(584) |
摘要: Boot loader update sequence
Jake Lin 阅读(524) |
摘要: Boot loader startup sequence
Jake Lin 阅读(716) |
摘要: 本文讲述Windows Phone 7的UI框架,包含了屏幕方向,框架和网页构造,滚动查看器以及主题等内容。
Jake Lin 阅读(4142) |
摘要: 本文用于解答来自于JiabaoET的问题“在Windows Phone发布以后是否还需要学习Windows Mobile?”,从作者本身的想法出发,讲述是否需要学习Windows Mobile,还是直接学习Windows Phone,如果需要学习,那应该怎么学习。本文使用英文编写,好听点是简单英语,不好听是中式英语,对e文不感冒的同学,请无视之。也欢迎挑错,谢谢。
Jake Lin 阅读(1958) |
摘要: We cannot use
ActiveSync Remote Display on Windows Embedded CE 6 straight forward. Some trick thing need to be handle.
Jake Lin 阅读(1447) |
摘要: How to fix the aygshell.h missing issue in Windows Embedded CE 6 SDK
Jake Lin 阅读(1921) |
摘要: 本文通过step by step的模式讲述如何从0开始搭建Window Phone 7开发环境,如果开发简单的Windows Phone 7程序。只是一篇介绍性的文章,但是迈进Windows Phone 7开发之路其实就那么简单,一起来开发Windows Phone 7吧。
Jake Lin 阅读(30802) |
摘要: 本文讲述一个Windows Mobile, Windows Embedded CE工程师在海外找工经验。包括一些技术面试和Soft skills面试经验。
Jake Lin 阅读(3513) |
摘要: 几个星期以前发邮件问Charles 是否能翻译他的书《Programming Windows Phone 7 Series》,可能他太忙,也没有得到回复,我试着翻译一下,作为学习之用,如果以后有版权问题,我会把文章删掉。翻译以意译为主,我尽力保留原意,由于个人能力问题,不能保证完全表达原意,欢迎阅读原著和帮忙挑错。同时我会在文章中补充一些截图,以及表达我对Windows Phone,Windows Mobile和Windows Embedded CE的一些个人想法,希望能对原著能作一点点补充。
Jake Lin 阅读(3128) |
摘要: 对国内GPS方案厂商了解的同学会知道,国内卖那么多GPS系统,除了国际品牌例如Garmin和MIO以外,所有GPS系统基本来源于3家方案厂家,他们分别是爱培科,远峰和掌讯。过年的时候从国内带来了一台爱培科963方案的GPS,可是运行Tomtom和iGo 8的时候均提示内存不够,只好升级ROM才能使用。
Jake Lin 阅读(5514) |
摘要: 在Good Friday那天收到微软的邮件说我获得2010年Windows Mobile的MVP,这是我第一次获得微软的奖项,非常高兴。
Jake Lin 阅读(1568) |
摘要: 本文讲述作为一个Windows Mobile, Windows Embedded CE工程师漫长而且艰巨的找工作过程。
Jake Lin 阅读(4048) |
摘要: Oracle Berkeley DB 11gR2于日发布,首次引入SQL支持,完全兼容SQLite的SQL API。
Jake Lin 阅读(822) |
摘要: 在Unix-like系统进行IPC(Inter-process communication)通信,Shared memory是效率最高的,我称之为IPC的王中王。本文讲述在Windows Mobile和Windows Embedded CE下如何使用Shared Memory(共享内存)进行IPC(进程间通信)。演示如何使用Shared Memory共享数据,使用Named Event唤醒其他进程和使用Named Mutex去为共享数据加锁。
Jake Lin 阅读(3879) |
摘要: 上一篇文章 Windows Mobile使用.NET Compact Framework开发多线程程序 讲述了如何使用.NET Compact Framework进行多线程程序的开发,这篇讲述Native C++开发多线程程序的方法。
Jake Lin 阅读(2657) |
摘要: 虽然说经济危机过去,经济开始回暖,失业率下降,可是工作还是不太好找,特别是Windows Embedded CE和Windows Mobile等相关嵌入式和移动智能设备的工作买少见少。在最近零星的面试中问及比较多的其中一个问题是多线程的开发。因此这个long weekend把多线程的程序总结一下,为后续的面试做准备。
Jake Lin 阅读(4033) |
摘要: 在Windows Mobile和Windows Embedded CE开发过程中遇到路径问题的处理方法。
Jake Lin 阅读(2466) |
摘要: 关于Oracle for Windows Embedded CE
Jake Lin 阅读(1015) |
摘要: 本文讲述Singleton模式的.NET实现。
Jake Lin 阅读(922) |
摘要: 日志管理是程序不可以缺少的一个重要组成部分,对于长期运行的后台程序尤为重要,尽管经过了大量的测试,但是在实际运行环境下,程序未免有出错的时候。有时候由于第三方原因导致的,例如电信网络质量下载,掉包等等。在一些看似莫名其妙的问题下,日志文件很多时候就成了救命绳。bug free是我们一直追求的目标,但是我永远不能保证bug free,每次我在面试中说这句话,做销售出生的人会翻白眼,做技术的人会会心一笑。我能保证的是如何尽快的trouble shooting,提高质量,日志文件在这过程中又是最重要的手段之一。下面文章讲述使用Native C++对Windows Embedded CE和Windows Mobile日志文件类的封装。
Jake Lin 阅读(2698) |
摘要: 介绍一个Windows Phone 7和Windows Moible 6.5功能比较表格。
Jake Lin 阅读(1565) |
摘要: 从Windows Mobile和Windows Embedded CE开发者的角度看,关于微软刚刚发布的Windows Phone 7 series的一些猜想,欢迎讨论。
Jake Lin 阅读(2392) |
摘要: 从开发者的角度讲述Windows Mobile 7的新特性以及一些想法。
Jake Lin 阅读(3119) |
摘要: 随着iToday项目的发展,人员的扩展,需要一定的项目管理流程来保证项目不会流产。一个具有一定规范的开源项目,单靠个人激情和能力来完成项目的几率非常的低,没有项目管理流程,后续开展会变得困难,项目的可延续性也得不到保证。因此需要想办法实施有效的项目管理。本文讲述如何使用CodePlex进行开源项目的管理。
Jake Lin 阅读(4179) |
摘要: 本文讲述iToday总体设计的第一版本。
Jake Lin 阅读(2826) |
摘要: 关于iToday开源项目计划。
Jake Lin 阅读(3580) |
摘要: 本文讲述Windows Mobile开始菜单的发展历史,进化和优缺点。
Jake Lin 阅读(5244) |
摘要: 本文讲述一个Windows Embedded CE链接RNDIS的奇怪问题
Jake Lin 阅读(1112) |
摘要: 本文讲述我对开源的一些想法,包括接触开源的过程,如何使用开源项目,常用的开源license,如何参与开源项目的想法和实践。
Jake Lin 阅读(7604) |
摘要: 关于An error message cannot be displayed because an optional resource assembly containing it cannot be found 异常问题处理
Jake Lin 阅读(992) |
摘要: 用过Windows Mobile的人大概都有使用USB线链接手机到PC的经历,这一般由ActiveSync来完成软件功能。ActiveSync在Windows Embedded CE以及Windows Mobile 和PC的互操作中扮演重要的角色,使用了ActiveSync,PC就可以检查 Windows Embedded CE以及Windows Mobile 设备的硬件,操作系统,内存等等版本信息,访问和修改注册表,增删改文件和传输文件,甚至调用设备的DLL。本文讲述ActiveSync的开发。
Jake Lin 阅读(3603) |
摘要: BeagleBoard有货了
Jake Lin 阅读(2408) |
摘要: 本文讲述如何延时Windows Embedded CE驱动的加载。
Jake Lin 阅读(808) |
摘要: 本文讲述Windows Embedded CE 下如何自动安装Cab文件的方法
Jake Lin 阅读(1219) |
摘要: Windows Mobile和Window Embedded CE下进行Native C++开发多线程的一般做法。
Jake Lin 阅读(1039) |
摘要: 关于在Windows Embedded CE开发Native C++时一个继承的误用。
Jake Lin 阅读(394) |
摘要: 关于移动Mobile-Market的那些事儿。
Jake Lin 阅读(807) |
摘要: 在开发3G应用的时候,程序退出了,需要自动关闭已经打开的链接。这样需要在Winform退出的时候把其分配的资源都dispose掉。本文讲述Winform Dispose资源的几种方法。
Jake Lin 阅读(2200) |
摘要: 在开发3G项目的是时候,发现尽管3G网络连接已经建立成功了,但是数据不能发送成功,查明原因,由于路由表的问题,导致数据往ActiveSync连接的对端,也就是PC发送,而不是发送到3G网络的拨号服务器去。本文讲述如何使用OpenNETCF来修改路由表。
Jake Lin 阅读(2836) |
摘要: Windows Embedded CE 6.0 R3已经包含了Silverlight for Embedded的功能,开发人员可以使用WPF的方式来开发Wince应用程序,但是关于Silverlight对Windows Mobile平台的支持一直没有消息,本文从微软的一个程序Bing(TM) for Windows phone 窥看一下Silverlight for Windows Mobile的应用。
Jake Lin 阅读(4141) |
摘要: 经常听到一些刚刚接触Windows Embedded CE和Windows Mobile开发的人会提出一些疑问。进行Windows Mobile开发,到底使用什么语言呢?C++还是C#?Java行不行?下面就我自己的想法讲述一下Native C++ 和 .NET Compact Framework的异同和选择。
Jake Lin 阅读(4824) |
摘要: 本文讲述在Windows Embedded CE下进行Native C++开发,一次错误使用多线程的经验教训。
Jake Lin 阅读(667) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下进行Native C++时间函数GetTickCount()和GetLocalTime()的运用。
Jake Lin 阅读(1343) |
摘要: 本文讲述Native C++ _isnan()函数的应用。
Jake Lin 阅读(8013) |
摘要: 本文讲述如何在Windows Mobile和Wince(Windows Embedded CE)下封装Native DLL的回调函数。
Jake Lin 阅读(839) |
摘要: 本文讲述查看PC和Windows Mobile以及Wince(Windows Embedded CE)下蓝牙(Bluetooth)Stack的方法。
Jake Lin 阅读(2607) |
摘要: 本文试图通过一篇文章讲清楚Windows Mobile和Wince(Windows Embedded CE) Native C++开发中字符集的转换问题。从字符集的概念入手,讲述Wince支持的所有字符串类型,以及各种类型的转换方法,最后给出使用建议。
Jake Lin 阅读(5665) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下进行Win32开发,取出窗口句柄的方法。
Jake Lin 阅读(1440) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下进行Win32开发,取出当前所有运行中进程信息的方法。
Jake Lin 阅读(1697) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下封装如何Native DLL给Native C++和.NET Compact Framework的程序进行调用。
Jake Lin 阅读(911) |
摘要: Widcomm是第一个为Windows编写蓝牙Stack的公司,后来给Broadcom收购了,由于他是第一个,所以目前很多蓝牙设备都是使用 Broadcom Statck的。下面讲述如何使用32feet.net对基于Broadcom Statck的蓝牙设备进行开发。
Jake Lin 阅读(8397) |
摘要: 本文讲述开发Windows Mobile和Wince(Windows Embedded CE)的部署项目(Deploy Project)时,如何修改注册表。
Jake Lin 阅读(942) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下进行Native C++开发,如何取出资源文件中的版本信息。
Jake Lin 阅读(792) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下进行WTL开发,如何加入超链接(HyperLink)的支持。
Jake Lin 阅读(1009) |
摘要: 进行移动设备开发,例如Windows Mobile或者Wince(Windows Embedded CE)的开发,有时候会使用到SQLite作为存储数据库。SQLite默认配置是不会自动回收空间,如何进行大量数据的删除以后,数据库文件大小不会自动减少,因此需要手工压缩SQLite的数据文件大小。
Jake Lin 阅读(8978) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下进行Native C++开发,如何取出当前执行文件的路径和调用模块的路径。
Jake Lin 阅读(1520) |
摘要: 开发Windows Mobile的程序,用户体验很重要,如果执行长时间的任务,使用等待图标可以大大提供用户体验,本文讲述在Windows Mobile下使用WTL进行Native C++开发,如何显示等待图标。
Jake Lin 阅读(1352) |
摘要: 在Windows Mobile和Wince(Windows Embedded CE)产品开发中,有时候会使用C++封装一些共用代码,例如在我们项目中使用了C++封装了一个对USB通信的公开代码库,这些共用代码编译成静态库,其他模式使用的时候,只需要include头文件,链接lib库就可以了,但是.NET Compact Framework的程序没有办法使用C++编译的静态库,所以产生封装Native DLL提供给.NET Compact Framework程序调用的需求。本文讲述在Windows Mobile和Wince(Windows Embedded CE)下如何封装Native DLL提供给.NET Compact Framework进行调用。
Jake Lin 阅读(3351) |
摘要: 本文讲述Windows Mobile下如何去掉WTL对话框的右上角的OK按钮。
Jake Lin 阅读(1107) |
摘要: 不像.NET Compact Framework, 使用Native C++开发开发对话框程序默认是没有菜单的,需要手工增加。本文讲述如何为对话框程序加入菜单。
Jake Lin 阅读(2185) |
摘要: 关于我自己和PB50博客的interview。
Jake Lin 阅读(1405) |
摘要: 本文讲述一些我对Windows Phone的想法。
Jake Lin 阅读(1237) |
摘要: 本文讲述在今日插件开发中整合WTL遇到的问题,以及解决方法。
Jake Lin 阅读(1093) |
摘要: Sqlite几乎成立移动设备开发领域数据存储方面的事实标准。Sqlite已经广泛被使用到Andriod,iPhone,WebOS以及Symbian等平台了,本文讲述在Windows Mobile平台下如何使用Native C++访问Sqlite,同时讲述一个封装类的实现和使用。
Jake Lin 阅读(5850) |
摘要: 智能手机市场竞争激烈,微软在内忧外患下也改变了Windows Mobile的发展策略。本文讲述Windows Phone改名事件,以及Windows Phone发展历史和今后发展策略的想法。
Jake Lin 阅读(6836) |
摘要: 本文讲述在Windows Mobile下通过蓝牙发送大文件的实现。
Jake Lin 阅读(4883) |
摘要: 本文讲述开发Windows Mobile部署项目时增加快捷方式到开始菜单的方法。
Jake Lin 阅读(2863) |
摘要: 本文以Windows Mobile Sensors API库为例子讲述在Windows Mobile下使用Native C++动态加载DLL的方法。
Jake Lin 阅读(3581) |
摘要: 本文讲述Windows Mobile和PC之间蓝牙文件传输的实现。通过使用32feet.net库对Obex的封装实现了Push文件的程序。Obex Push 的PC程序可以给所有支持Obex的设备传输文件,包括非Windows Mobile的设备。
Jake Lin 阅读(15544) |
摘要: 本文讲述Windows
Mobile Sensors API库中重力感应器部分(GSensor)的设计。讲述一个统一访问接口的Sensor库的设计方法和一些设计模式的应用。
Jake Lin 阅读(3000) |
摘要: 本文讲述Windows Mobile下C++取屏幕分辨率的方法。
Jake Lin 阅读(1570) |
摘要: 本文讲述在Windows Mobile和Wince下,Native C++访问SqlCe的封装类的实现。由于微软没有为C++提供像ADO.NET的封装,为Native C++访问SqlCe制造了一定的难度,因此对OleDB访问SqlCe进行封装,方便使用SQL语句对SqlCe进行操作。
Jake Lin 阅读(3831) |
摘要: 本文讲述如何在Windows Mobile下的Win32项目加入ATL支持。
Jake Lin 阅读(1139) |
摘要: 本文讲述如何在Windows Mobile下取版本信息。
Jake Lin 阅读(861) |
摘要: 本文讲述在Windows Mobile下如何使用c++的typeid操作符。
Jake Lin 阅读(794) |
摘要: 本文讲述Windows Mobile下使用CppUnitLite对native c++进行unit test的时候,如何把测试结果输出到文件的开发。使之支持Mobile Sensors API库。
Jake Lin 阅读(2205) |
摘要: 本文讲述OpenGL ES应用在Windows Mobile的一些介绍。
Jake Lin 阅读(2631) |
摘要: 本文讲述开发P/Invoke使用的工具与Website。
Jake Lin 阅读(863) |
摘要: 今天晚上看了一个关于Wince UI的webcast,印象很深刻,介绍给大家。
Jake Lin 阅读(1068) |
摘要: 在Windows Mobile和Wince开发中,直接在PC上操控相关设备是必不可少的步骤。本文讲述在PC上显示和操作Windows Mobile的方法,包括使用ActiveSync Remote Display和MyMobiler两种方法。
Jake Lin 阅读(5342) |
摘要: 本文讲述英文ROM显示和输入中文的方法。
Jake Lin 阅读(5049) |
摘要: 在上篇文章 Windows Mobile下GPS管理软件NavsGo之GPS监控功能的开发 概述了NavsGo项目以及讲述了GPS监控功能的开发,GPS.net控件的使用,这篇文章讲述侦测功能的开发。
Jake Lin 阅读(3272) |
摘要: 本文讲述一个GPS管理软件的开发,当前版本软件功能包括调用Google Maps,Tomtom,Garmin,iGO8,Route66等导航软件,调用GPS端口配置,AGP,split port等配置功能,基于GPS.net 3.0开发GPS诊断功能和GPS监控功能。界面上实现类iPhone菜单界面。在这篇文章中主要讲述GPS监控功能的实现。
Jake Lin 阅读(7798) |
摘要: Iphone之所以那么流行一部分归功于他的炫丽的界面,其实那些界面的实现主要由两大功能组成:画透明图片和画渐变效果。本文主要讲述windows mobile下画透明图片。
Jake Lin 阅读(2392) |
摘要: Compact Framework从执行文件取出Icon的方法。
Jake Lin 阅读(1040) |
摘要: 本文以图形文件为例子讲述.NET Compact Framework下如何访问内嵌的资源文件。
Jake Lin 阅读(943) |
摘要: 今天Vimpyboy 在codeplex发布了Windows Mobile Widget Emulator。这是一个用来调试Windows Mobile 6.5 Widget的工具。
Jake Lin 阅读(952) |
摘要: windows Mobile使用ActiveSync上网
Jake Lin 阅读(1750) |
摘要: Compact Framework 取执行文件版本号的方法。
Jake Lin 阅读(1029) |
摘要: 本文讲述如何在Windows Mobile和Wince(Windows Embedded CE)下使用.NET Compact Framework 取当前运行文件的路径。
Jake Lin 阅读(1651) |
摘要: 重力感应器(Gravitational Sensor, Accelerometer)已经被广泛应用于Windows Mobile设备上,可是由于MS没有官方定义和提供统一的API,为重力感应器的开发带来不便,本文讲述如何在HTC和Samsung设备上进行重力感应器的开发,实现统一访问了GSensor的类库,在实现过程中使用了Singleton,Simple Factory和Observer模式。
Jake Lin 阅读(8145) |
摘要: GPS.NET GeoFramework在今天开源了,从作者的表达看,看出一个技术创业者的无奈。但是对开源社区来说,这是good news。我在做GPS开发的时候,也参考了他的代码,开始公司也打算购买他的库,后来由于不想使用太多dll,才打算自己写了一个NMEA的分析器。这个库的代码写的十分好,对GPS开发很有益。
Jake Lin 阅读(3650) |
摘要: XML已经成为流行的数据保存和交换的格式,本文讲述如何使用TinyXML在Windows Mobile下进行XML的开发。TinyXML是简单,轻装,跨平台的原生C++ xml解释器,可以十分简便的整合到其他系统中。同时TinyXML提供完整的在线文档,方便开发和使用。目前,由于其简便性和稳定性,使用ZLib license(可以用于开源和商业)等原因,TinyXML已经广泛被用于开源社区和商业系统中。
Jake Lin 阅读(6757) |
摘要: 本文讲述如何使用32feet.NET实现Bluetooth的广播程序,同时演示了Broadcom stack在Windows Mobilie下的实现。
Jake Lin 阅读(4136) |
摘要: Json数据由于其轻装,易读和方便操作等优点已经被广泛应用于网络服务数据传输。本文从一个实例讲述如何把Json数据转换成XML格式。使用了JavaScript实现。
Jake Lin 阅读(4706) |
摘要: 看了TDD by example (1) -- 挑战,觉得有趣,实现一个Windows Mobile版本。很多年前我也有一台文曲星,也常常玩这个猜数字游戏,所以尝试在Windows Mobile下实现。Nick Wang (懒人王) 强调需要TDD,所以我的实现方案也是TDD。
Jake Lin 阅读(1885) |
摘要: 本文讲述了.NET Compact Framework下的注册表开发的基本概念,介绍在Windows Mobile和Wince下操作注册表的工具,同时使用C#实现了一个注册表导出工具。
Jake Lin 阅读(4219) |
摘要: 随着3G网络的普及,Windows Mobile在网络方面应用的需求会越来越大,本文讲述是网络多媒体播放应用的开发,讲述如何使用WTL在Windows Mobile和Wince下进行Windows Media Player的开发。
Jake Lin 阅读(4493) |
摘要: 本文通过一个Currency Converter(外汇兑换)例子,讲述Windows Mobile 新功能Widget开发的基本概念和步骤,同时讲述了Widget如何调用WebService。
Jake Lin 阅读(2925) |
摘要: 文本讲述了在.NET Compact Framework下ping功能的实现。 主要通过P/Invoke的方式调用ICMP相关的API来实现。 同时提供一个Windows Mobile的工具来调用Ping封装类。
Jake Lin 阅读(3177) |
摘要: 文本以一个Bluetooth耳机的配对作为例子讲述如何使用32feet.net库开发Bluetooth设备配对程序。
Jake Lin 阅读(6240) |
摘要: 这篇文章讲述在Windows Mobile 和 Wince(Windows Embedded CE) 使用 WTL(Windows Template Library) 下的界面开发。如何进行控件绑定和消息映射。同时比较了 MFC, WinForm, WebForm 和 WPF 等界面开发的方法。
Jake Lin 阅读(8832) |
摘要: 本文讲述了 .NET Compact Framework 下的 Web Service 开发,用一个 step by step 的例子讲述如何创建一个基于Web Service的应用。
Jake Lin 阅读(4039) |
摘要: 本文讲述Windows Mobile和Wince(Windows Embedded CE)下WTL开发的环境搭建,以及开发步骤。
Jake Lin 阅读(6566) |
摘要: 本文讲述在.NET Compact Framework下的HttpWebRequest开发,从一个实例讲述如何读取网页信息,提交请求,分析结果。
Jake Lin 阅读(7793) |
摘要: 本文讲述如何在Windows Mobile 模拟器(Emulator)建立网络连接,方便在emulator上进行测试。
Jake Lin 阅读(8119) |
摘要: 本文讲述Mileage Tracker(里程耗油计算程序)的实现,同时讲述了透明Label控件和NuericTextBox的用法。
Jake Lin 阅读(2191) |
摘要: 本文讲述了GPS指南针的实现,同时讲述了如何基于GPS Intermediate Driver开发GPS应用,最后讲述了FakeGps的使用。
Jake Lin 阅读(4476) |
摘要: 本文讲述了蓝牙管理器在windows mobile的实现。
Jake Lin 阅读(3325) |
摘要: 得到原作者 Chris Craft 的同意,本人可以翻译他的系列文章30 Days of .NET [Windows Mobile Applications]并在博客园里发表。这是一个十分趣味性很高的系列,通过这个系列的学习,可以掌握Windows Mobile开发很多技巧,包括GPS,Bluetooth,界面编程,多线程等等。
Jake Lin 阅读(2443) |
摘要: 本文讲述如何在.NET Compact Framework下进行Bluetooth Virtual Serial Port的开发。
Jake Lin 阅读(10559) |
摘要: 本文讲述了在.NET Compact Framework下使用32feet.NET进行Bluetooth的开发。实现了服务端和客户端的通信程序。
Jake Lin 阅读(12471) |
摘要: 本文讲述了在.NET Compact Framework下使用Windows Embedded Source Tools for Bluetooth进行Bluetooth的开发。实现了服务端和客户端的通信程序,同时讲述了该库在Windows Mobile和Wince下的一些区别。
Jake Lin 阅读(7900) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下使用.NET Compact Framework的GPS的开发,以及NMEA data数据分析器的开发。
Jake Lin 阅读(5391) |
摘要: 本文讲述了如何快速建立一个Sync Services for ADO.NET的应用进行数据同步。
Jake Lin 阅读(7840) |
摘要: 本文主要讲述SQL CE 3.0和SQL CE 3.5的兼容性问题。
Jake Lin 阅读(6567) |
摘要: 由于工作关系,现在专注于Windows Phone,Windows Embedded CE(WinCE)和Windows Mobile,.NET Compact Framework, Native C++领域的开发,把工作上的一些经验和知识进行总结,文章会不断完善。
Jake Lin 阅读(17421) |
摘要: 本文讲述.NET Compact Framework下的单元测试,NUintLite的使用。
Jake Lin 阅读(2257) |
摘要: 本文讲述.NET Compact Framework下SQL CE的使用,讲述SqlCEHelper类的封装。
Jake Lin 阅读(4477) |
摘要: 本文讲述.NET Compact Framework下的串口通信。
Jake Lin 阅读(5770) |
摘要: 本文讲述Wince和Windows Mobile下native
C++的单元测试以及CppUnitLite的开发。
Jake Lin 阅读(2876) |
摘要: WinCe和Windows Mobile下的Unicode和ANSI字符串转换的方法
Jake Lin 阅读(2140) |
摘要: 本文讲述Wince和Windows Mobile下的内存监控程序的开发。
Jake Lin 阅读(6167) |
摘要: 本文讲述.NET Compact Framework下的MSMQ开发。
Jake Lin 阅读(3691) |
摘要: 本文讲述Observer模式以及在Window mobile项目的应用。
Jake Lin 阅读(4534) |
摘要: 本文讲述.NET Compact Framework下使用Windows Message进行进程间的通信。
Jake Lin 阅读(4085) |
摘要: MS在SQL Server产品族里面提供两个免费的版本SQL Server Express和SQL Server Compact。用户可以免费下载,开发和部署这这两个版本,因此这是数据库方案的不错选择。
Jake Lin 阅读(14205) |
摘要: 本文讲述.NET Compact Framework 多线程环境下的UI异步刷新
Jake Lin 阅读(4190) |
摘要: 本文讲述.NET Compact Framework 多线程下的等待事件
Jake Lin 阅读(2890) |
摘要: 本文讲述在Windows Mobile和Wince(Windows Embedded CE)下如何使用.NET Compact Framework开发进程管理程序。
Jake Lin 阅读(4213) |
摘要: 本文讲述.NET Compact Framework 下Win32 API P/Invoke 的使用。
Jake Lin 阅读(4490) |
摘要: 本文讲述WinCe和Windows Mobile下的MSMQ安装
Jake Lin 阅读(3250) |
摘要: 本文讲述.NET Compact Framework 下的3G应用
Jake Lin 阅读(7536) |

我要回帖

更多关于 设置共享内存 的文章

 

随机推荐