
WP & Win8 Dev
MrSimp1e
这个作者很懒,什么都没留下…
展开
-
Silverlight之控件应用总结(一)
Silverlight之控件应用总结(一)代码都是测试通过的,环境Silverlight4+VS2010企业版。1. 控件总览2. 功能概述Silverlight控件一览表 序号控件名主要作用1. AutoCompleteBox转载 2012-04-03 23:03:22 · 1562 阅读 · 0 评论 -
Windows Phone 8获取本机位置
private Geolocator mMyGeolocator = null; // 这里给出完整的命名空间 private System.Device.Location.Geocoordinate mMyGeoCoordinate = null; /// /// 定位到本机位置 /// private async void getMyLo原创 2013-03-25 16:01:30 · 1806 阅读 · 0 评论 -
Async 编程简介
Async 编程简介ASYNC是什么?Async是下一代异步编程模型,Windows RT中包含了一些Asynchronous APIs来确保你的应用在等待的过程中能保持响应性的工作。从代码上看,可以理解为异步同步化,用写同步代码的方式完成异步的工作,省去了以往处理异步事件回调函数的繁琐工作。一般来说,异步的方法在命名时都会以“Async”结尾。转载 2013-03-25 14:49:16 · 1938 阅读 · 0 评论 -
Windows Phone的录音与回放实现(个人记录)
// 麦克风实例 Microphone mMicrophone = Microphone.Default; MemoryStream mStream = new MemoryStream(); /// /// 页面构造 /// public ChatPanoramaPage() {原创 2013-03-18 12:57:44 · 1572 阅读 · 0 评论 -
Windows Phone 强制隐藏输入法面板
在做一个注册页面时,输入完所需要的信息后直接点击提交按钮,但是这个时候输入法却没有自动隐藏掉,感觉很不爽,又没有去掉某个控件所取得的焦点的函数。那么如果我们想在Windows Phone页面中隐藏强制SIP该怎么办呢,比如说我们已经在文本框中输入一些文本,这时候我们点击Appbar,我们想让输入法隐藏后进行页面跳转或者其他操作,这时候我们应该怎么做呢?有个小技巧就是:在AppBar按钮的C原创 2013-03-30 14:26:49 · 1602 阅读 · 0 评论 -
Android或者Windows Phone在HTTP调用Google Map Api时返回英文结果的解决方法
比如要提交的是地址 : http://maps.googleapis.com/maps/api/directions/json?origin=大连理工大学&destination=大连大学&sensor=false,如果返回的结果为英文的话,在后面加上一个&language=zh-CN参数即可,即整体看起来是这样的 : http://maps.googleapis.com/maps/api原创 2013-03-11 19:29:13 · 2220 阅读 · 0 评论 -
Windows Phone 8 的邻近感应(NFC)
Windows Phone 8 的邻近感应此主题尚未评级 - 评价此主题2012/11/14适用于:仅限于 Windows Phone 8。邻近感应指 Windows 运行时(支持近距离内设备之间的连接)中的类的集合。通过使用此 API,您的应用可以通过点击或通过浏览查找无线范围内运行您的应用(对等方应用)的其他设备来建立连接。例如,这其转载 2012-12-09 12:44:06 · 2336 阅读 · 0 评论 -
如何为 Windows Phone 保留和还原页面状态
如何为 Windows Phone 保留和还原页面状态其他版本此主题尚未评级 - 评价此主题2012/11/14适用于: Windows Phone 8 | Windows Phone OS 7.1 在 Windows Phone 中,当用户向前导航离开应用时,应用通常会处于休眠转载 2012-12-09 12:18:39 · 1225 阅读 · 0 评论 -
如何在 Windows Phone 8 中的地图中显示路线和方向
如何在 Windows Phone 8 中的地图中显示路线和方向此主题尚未评级 - 评价此主题2012/11/14适用于:仅限于 Windows Phone 8。本主题介绍如何能够显示从手机的当前位置到 Windows Phone 8 地图中的指定位置的线路和方向。获取手机的当前位置在 Visual Stu转载 2012-12-09 12:05:42 · 1560 阅读 · 0 评论 -
Windows Phone 的通信
Windows Phone 的通信其他版本此主题尚未评级 - 评价此主题2012/11/14适用于: Windows Phone 8 | Windows Phone OS 7.1本主题介绍 Windows Phone 应用如何能够使用远程数据存储与其他应用进行通信。了解用于近场通信转载 2012-12-09 12:37:45 · 1577 阅读 · 0 评论 -
如何保留和还原 Windows Phone 的应用状态
如何保留和还原 Windows Phone 的应用状态其他版本此主题尚未评级 - 评价此主题2012/11/14适用于: Windows Phone 8 | Windows Phone OS 7.1 Windows Phone 执行模型一次仅允许一个应用在前台运行。当用户导航离开转载 2012-12-09 12:24:02 · 1419 阅读 · 0 评论 -
What's new in Windows Phone SDK 8.0
What's new in Windows Phone SDK 8.026(共 28)对本文的评价是有帮助 - 评价此主题November 08, 2012Welcome to Windows Phone SDK 8.0. Windows Phone 8 brings a number of new and updated features to app转载 2012-11-30 23:39:51 · 2245 阅读 · 0 评论 -
Windows Phone Toolkit overview
The Toolkit team is proud to announce the release of the Windows Phone 8 version of the Windows Phone Toolkit. Here’s what’s new:New toolkit download from CodePlexInstallation exclusively through转载 2012-11-30 18:21:18 · 2308 阅读 · 0 评论 -
Coding4Fun WP7 Message Prompt in depth
In this article I am going to talk about the MessagePrompt control from the Coding4fun Toolkit in details. I will explain everything about the main features, available public API, and will give lot转载 2012-11-30 18:20:04 · 1821 阅读 · 0 评论 -
Building Windows Phone Applications Using Windows Azure
Windows Phones provide many opportunities for developers to build great applications. Nevertheless, in some cases a developer is limited by the attributes specific to any mobile device – constrained p转载 2012-05-06 13:02:30 · 1362 阅读 · 0 评论 -
windows phone 页面之间传值方式
这里介绍页面间导航时传递参数的2种方式,QueryString和全局变量。一.QueryString方式在页面1中的Button事件处理程序中添加了如下代码:如果要传递多个参数,可以用&来合并,例如:”//Pages/writingPage.xaml?myValue=Hello&Name=Zhang Yin”。并且我在目标中重写了OnNavigatedTo方法。原创 2012-03-22 17:57:49 · 1452 阅读 · 0 评论 -
Windows Phone 读取文本文件
应用程序中读取工程目录下的txt文本文件方法,将TXT添加到资源,设置属性为content,读取方法为: string fileName = "123.txt"; StreamResourceInfo resourceInfo = Application.GetResourceStream(newUri(fileName, UriKind.Relative原创 2012-03-21 18:12:34 · 2284 阅读 · 0 评论 -
WPF实现录音和语音识别的两种方案
开发环境: Windows 7工具 : VS2012前言 : 最近在做微软的一点小项目需要用到语音识别,但是微软的语音识别真的太不给力了,其中遇到很多麻烦。偶然听到大熊说google的语音识别接口,于是搜索资料弄了一个,整理出来,希望能帮助需要的朋友,大神别喷就好。一、使用Google Speech API思路解析: 1、首先通过WPF录音,这里注意码率必原创 2013-03-21 14:14:42 · 7997 阅读 · 6 评论