windows-phone

Customize Windows Phone 8 Emulator startup state

别来无恙 提交于 2019-12-10 11:46:07
问题 In developing a new Windows Phone app, we often install a custom certificate into the device to enable SSL proxying with Fiddler. Is there any way to customize the starting device image so that we can start with the certificate installed instead of having to install the certificate every time the emulator launches? I've found the xde.exe application where you can specify a device image and snapshot to use, but when launching the emulator from Visual Studio I can't find how to customize the

Using Youtube v3 Api key

末鹿安然 提交于 2019-12-10 11:44:51
问题 I'm trying to build an youtube based app, and I'm using version 3.0 of Youtube Data API, I did register the app in Google Cloud Console and I did obtain an API Key. After that I tried to test it in a console application in Visual Studio 2010, I used a WebClient to retrieve a video search using this URL "https://www.googleapis.com/youtube/v3/search?part=snippet&q=YouTube+Data+API&type=video&key={MY API KEY}" I learned this from here. I used both a Browser key and a Server key, but the server

Launch application automatically from an SMS on Windows Phone 8

拟墨画扇 提交于 2019-12-10 11:43:29
问题 I would like to launch an application using parameters provided from an SMS. The behaviour I wish to achieve is that as soon as the user receives an SMS, the application will be launched with the parameters provided in the SMS. I.e. seamlessly present the SMS in a more user friendly way. I have experimented with URI protocol associations and so far I can send an SMS to the test phone with text unleashed:param=test (protocol is taken from book “Windows Phone 8 Unleashed”, code is in

Phonegap Windows Phone gap space bottom

 ̄綄美尐妖づ 提交于 2019-12-10 11:28:10
问题 I developp with phonegap and I have got a problem with the style. I just want to place a footer at the bottom. Here is my index.html <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="format-detection" content="telephone=no" /> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> <link rel="stylesheet" type="text

Windows Phone 8.1 - Data virtualization with pictures library images on gridview

こ雲淡風輕ζ 提交于 2019-12-10 10:35:32
问题 I'm building a Windows Phone 8.1 app which requires me to display all images in the pictures library in a GridView. I have built a class named VirtualList which is a list that supports IncrementalLoading, and I have added all the images from pictures library to that list. When there are a reduced number of images (less than 80 photos), everything works fine, but when there are more than 80 photos, the app shuts down due to an OutOfMemoryException. I suppose that the items that aren't

Updating a previously trial+paid WP7 app to WP8 free+in-app-purchases

依然范特西╮ 提交于 2019-12-10 09:45:48
问题 I have an app which is paid with free trial . I'm thinking of updating it to Windows Phone 8 and making it free with in-app purchases . I want to make it so that all the customers who paid for previous version will have all the features available in the new version. When a user updates to the new free version, is there any way to check if the user had previously paid for the app or if she was using the free trial? In other words, does the platform offer me class & method which tells me if the

Using CallerMemberName attribute in a portable library

扶醉桌前 提交于 2019-12-10 06:47:59
问题 I have a portable library that targets Windows Phone 7.1+ and Windows Store apps (for WinRT), which uses the .net 4.5 framework. I would like to use the new [CallerMemberName] attribute in it. However, VS2012 told me that this attribute is not available in my portable library (that seems normal because it's not available in a WP7.1 project). Yet, I have found out that I can create my own attribute and the compiler will understand it like the real one, by using this snippet: namespace System

Best way to store the configuration values/settings in Windows Phone 8

故事扮演 提交于 2019-12-10 05:59:57
问题 Since there is no default configuration file In a WP8 app, what is the best way to store the configuration values, e.g. WCF service URL, User Name and Password. I want these values to be available and updatable when phone restarts and app is closed. Thanks in advance. 回答1: You should use IsolatedStorageSettings.ApplicationSettings . Save a value: IsolatedStorageSettings appSettings = IsolatedStorageSettings.ApplicationSettings; appSettings.Add("email", "someone@contoso.com"); appSettings.Save

windows Phone 7 - Contact and Calendar UniqueID

流过昼夜 提交于 2019-12-10 04:38:57
问题 I need to get UniqueId of Contact and Calendar from Windows Phone 7. I am able to get various properties (e.g. Name, Address etc) but don't get any property to uniquely identify contact and calendar. Is there any property that can be used to uniquely identify contact and calendar? 回答1: There is no property which exposes a unique Id. Can you use the HashCode instead? What would be considered a unique contact anyway? Because of the way contacts can be created from multiple linked accounts the

Windows Phone Phonecall with dtmf

房东的猫 提交于 2019-12-09 22:14:11
问题 I know using phonecalltask we can make a call programmetically by filling the phonenumber field . A sample code may be PhoneCallTask phn = new PhoneCallTask(); phn.PhoneNumber = "9807689,657"; phn.show (); But my question is,is it possible to send dtmf right at the point when we are initiating calls ? like in android and iphone we can send dtmf by dividing the number with ",". EX: 9876543,123 Is it also possible in windows phone? if possible is windows phone uses the same format to separate