windows-phone

how to navigate the particular pivot item in windows

妖精的绣舞 提交于 2020-01-17 04:13:08
问题 In my windows application, I am using 4 pivot items for example cash,change password, items,profile. whenever i click the any pivot item the page navigate to profile pivot item only. But i need to go to particular pivot item only. Please any one help me out. code: private void changepassword_Click(object sender, RoutedEventArgs e) { //Frame.Navigate(typeof(profile), uuid); Frame.Navigate(typeof(profile)); } 回答1: Navigate with pivot tab index as parameter Frame.Navigate(typeof(profile), 1) In

Impossible to pick video from gallery/library - phonegap/cordova

笑着哭i 提交于 2020-01-17 01:39:07
问题 I am using windows phone, cordova/phonegap. How is possible to pick a video from gallery as it was a picture? The official plugin seems to work for picture only. Here is the code: function getVideo() { var options = { quality: 80 }; options["sourceType"] = 0 | 2; options["mediaType"] = 1; navigator.camera.getPicture(onVideoSuccess, onFail, options); } var onVideoSuccess = function (fileuri) { console.log("fileuri " + fileuri); } var onFail = function (err) { console.log("onFail"); } This way

Show and Navigate the user to a different PanoramaItem

三世轮回 提交于 2020-01-16 05:06:07
问题 I am developing a Panorama application. In one of the Panorama item, I have a list of categories. On Selecting one of the list item, I have display all the feeds under that category in a new Panorama Item. So I decided to use a Panorama item say item 4, initially set to collapsed. And then when the user select a category, make that item 4 visible to true and navigate the user to that item 4. and change the title of that item to the category they selected. Is this the right way to do it? If So

Windows Phone keyboard comma - dot conflict

只愿长相守 提交于 2020-01-16 00:46:44
问题 I would like to use Numeric keyboard ( InputScope=Number ) but want to display ',' instead of '.' on the lower-left hand corner because it is the decimal separator in Turkish language. The keyboard layout appears depending on the phone language even if I force the Culture in code like this: System.Globalization.CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("tr-TR"); System.Globalization.CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("tr-TR"); How can I force numeric

Http Post Get Response Error for Windows Phone 8

被刻印的时光 ゝ 提交于 2020-01-15 11:49:09
问题 I am reposting this second question from my original post (Http Post for Windows Phone 8) because my primary question was alreayd answered. This is my updated code with the help of @Hunter McMillen.. I am now trying to get a responseCallback from the server. The problem is the GetResponseCallback => (HttpWebResponse)httpWebRequest.EndGetResponse(GetResponseCallback) line in the second using statement, it is displaying An exception of type 'System.Net.WebException' occurred in System.Windows

How to get store certificate for Win phone 8.1 app?

梦想的初衷 提交于 2020-01-15 09:52:05
问题 i have a question about certificate for windows phone 8.1 Universal app. I passed these steps but certificate wasn't appeare in project: I open it in Visual Studio 2015. Right click project and choose Store=>Associate app with store I log in my microsoft developer account and choose app from the list I checke information about Publisher, Package and so on and press next After these steps Package.StoreAssociation.xml is created, but AppName_StoreKey.pfx isn't. Please, help me. What should I do

How to get store certificate for Win phone 8.1 app?

折月煮酒 提交于 2020-01-15 09:50:07
问题 i have a question about certificate for windows phone 8.1 Universal app. I passed these steps but certificate wasn't appeare in project: I open it in Visual Studio 2015. Right click project and choose Store=>Associate app with store I log in my microsoft developer account and choose app from the list I checke information about Publisher, Package and so on and press next After these steps Package.StoreAssociation.xml is created, but AppName_StoreKey.pfx isn't. Please, help me. What should I do

FormatException with IsolatedStorageSettings

≡放荡痞女 提交于 2020-01-15 09:22:10
问题 I have a problem when serializing a Dictionary<string,Person> to IsolatedStorageSettings. I'm doing the following: public Dictionary<string, Person> Names = new Dictionary<string, Person>(); if (!IsolatedStorageSettings.ApplicationSettings.Contains("Names")) { //Add to dictionary Names.Add("key", new Person(false, new System.Device.Location.GeoCoordinate(0, 0), new List<GeoCoordinate>() { new GeoCoordinate(35.8974, 14.5099), new GeoCoordinate(35.8974, 14.5099), new GeoCoordinate(35.8973, 14

WebBrowserTask for Windows Phone 8.1

ぃ、小莉子 提交于 2020-01-15 08:07:45
问题 I may sound like a noob, but this problem is really not getting out of my mind, you should try it too. whenever i add Microsoft.Phone.dll to a new project of Windows Phone 8.1 for the WebBrowserTask control, i get the following error. And i have really no idea how to solve this. http://2.bp.blogspot.com/-esfQ3c5cZ80/U2KBD5JRDyI/AAAAAAAAAiQ/HyorukOc_a4/s1600/Screenshot+(6).png In previous versions (Windows Phone 8) it is fully functioning, but as we all know there are many changes in the WP8.1

WebBrowserTask for Windows Phone 8.1

99封情书 提交于 2020-01-15 08:06:49
问题 I may sound like a noob, but this problem is really not getting out of my mind, you should try it too. whenever i add Microsoft.Phone.dll to a new project of Windows Phone 8.1 for the WebBrowserTask control, i get the following error. And i have really no idea how to solve this. http://2.bp.blogspot.com/-esfQ3c5cZ80/U2KBD5JRDyI/AAAAAAAAAiQ/HyorukOc_a4/s1600/Screenshot+(6).png In previous versions (Windows Phone 8) it is fully functioning, but as we all know there are many changes in the WP8.1