??Windows Phone 环境中模??GPS 位置信息

来源:本网整理

Windows Phone(简称:WP)是微软发布的一款手机操作系统,它将微软旗下的Xbox Live游戏、Xbox Music音乐与独特的视频体验集成至手机中。微软公司于2010年10月11日晚上9点30分正式发布了智能手机操作系统Windows Phone,并将其使用接口称为"Modern"接口。2011年2月,"诺基亚"与微软达成全球战略同盟并深度合作共同研发。2011年9月27日,微软发布Windows Phone 7.5。2012年6月21日,微软正式发布Windows Phone 8,采用和Windows 8相同的Windows NT内核,同时也针对市场的Windows Phone 7.5发布Windows Phone 7.8。现有Windows Phone 7手机因为内核不同,都将无法升级至Windows Phone 8。2014年,微软发布Windows Phone 8.1系统;发布时有说到Windows Phone 8.1可以向下兼容,让使用Windows Phone 8手机的用户也可以升级到Windows Phone 8.1。2014年4月Build2014开发者大会发布Windows Phone8.1。在2014年6月份,Windows Phone8手机部分用户将能收到Windows Phone8.1预览版更新www.zgxue.com防采集请勿采集本网。

http://www.eugenedotnet.com/2011/11/simulating-gps-position-changes-using-reactive-extensions-in-windows-phone-environment/ scrolltotop.offset(100,120); scrolltotop.init();

[1].[代码] [WPF/SliverLight]代码 跳至[1]

private readonly GeoCoordinateWatcher _gcw = new GeoCoordinateWatcher(); private readonly Random _random = new Random(); public GpsSamplePage(){ InitializeComponent(); bool isSimulation = true; if (!isSimulation) { _gcw.PositionChanged += (s, e) => GcwPositionChanged(e); _gcw.Start(); } else { Observable.Timer(TimeSpan.FromSeconds(0), TimeSpan.FromSeconds(4)) .Select(x => new GeoPositionChangedEventArgs<GeoCoordinate>( new GeoPosition<GeoCoordinate>(DateTime.Now, new GeoCoordinate() { // -90 <= latitude <= 90 Latitude = (_random.NextDouble() * 180.0) - 90.0, // -180 <= longitude <= 180 Longitude = (_random.NextDouble() * 360.0) - 180.0 } ))).ObserveOnDispatcher().Subscribe(GcwPositionChanged); }} void GcwPositionChanged(GeoPositionChangedEventArgs<GeoCoordinate> e){ Dispatcher.BeginInvoke(() => { // thread safe tbLatitude.Text = e.Position.Location.Latitude.ToString(); tbLongitude.Text = e.Position.Location.Longitude.ToString(); });} SyntaxHighlighter.autoloader( 'applescript/js/sh309/scripts/shBrushAppleScript.js?t=1451961936000', 'actionscript3 as3/js/sh309/scripts/shBrushAS3.js?t=1451961936000', 'bash shell/js/sh309/scripts/shBrushBash.js?t=1451961936000', 'coldfusion cf/js/sh309/scripts/shBrushColdFusion.js?t=1451961936000', 'cpp c/js/sh309/scripts/shBrushCpp.js?t=1451961936000', 'obj-c objc/js/sh309/scripts/shBrushObjC.js?t=1451961936000', 'c# c-sharp csharp/js/sh309/scripts/shBrushCSharp.js?t=1451961936000', 'css/js/sh309/scripts/shBrushCss.js?t=1451961936000', 'delphi pascal/js/sh309/scripts/shBrushDelphi.js?t=1451961936000', 'diff patch pas/js/sh309/scripts/shBrushDiff.js?t=1451961936000', 'erl erlang/js/sh309/scripts/shBrushErlang.js?t=1451961936000', 'groovy/js/sh309/scripts/shBrushGroovy.js?t=1451961936000', 'haxe hx/js/sh309/scripts/shBrushHaxe.js?t=1451961936000', 'java/js/sh309/scripts/shBrushJava.js?t=1451961936000', 'jfx javafx/js/sh309/scripts/shBrushJavaFX.js?t=1451961936000', 'js jscript javascript/js/sh309/scripts/shBrushJScript.js?t=1451961936000', 'perl pl/js/sh309/scripts/shBrushPerl.js?t=1451961936000', 'php/js/sh309/scripts/shBrushPhp.js?t=1451961936000', 'text plain/js/sh309/scripts/shBrushPlain.js?t=1451961936000', 'py python/js/sh309/scripts/shBrushPython.js?t=1451961936000', 'ruby rails ror rb/js/sh309/scripts/shBrushRuby.js?t=1451961936000', 'scala/js/sh309/scripts/shBrushScala.js?t=1451961936000', 'sql/js/sh309/scripts/shBrushSql.js?t=1451961936000', 'vb vbnet/js/sh309/scripts/shBrushVb.js?t=1451961936000', 'xml xhtml xslt html/js/sh309/scripts/shBrushXml.js?t=1451961936000' ); SyntaxHighlighter.all();

你说的是windows phone 7 吧 目前还没上市呢 不过不支持多任务已经是很早的新闻了 最近的新闻 已经得知可以支持多任务 只不过比WM6.5还有差距 根据国外媒体报道,Windows Phone 7系统对于多任务

不啊,是个垃圾系统内容来自www.zgxue.com请勿采集。

免责声明 - 关于我们 - 联系我们 - 广告联系 - 友情链接 - 帮助中心 - 频道导航
Copyright © 2017 www.zgxue.com All Rights Reserved