windows-phone-8

Cancel command on button click

喜欢而已 提交于 2019-12-25 02:28:07
问题 I currently have a windows phone 8 application that has a user control that is bound to some view model. In the view model I a have a command property that binds to a button on the view. I want to popup a message box in the view that asks "Are you sure you want to do X?". If Yes it needs to fire the command that is bound to the button else it needs to not fire the command. I obviously do not want to fire the MessageBox from the view model since this is view logic. So how do I show the

Multi Device Hybrid App for Windows Phone: How to set the logo?

浪尽此生 提交于 2019-12-25 02:25:25
问题 I am trying to figure out, how to set the app logo as well as the splashscreen using the preview for cordova apps (or Multi-Device Hybrid Apps) in Visual Studio 2013. I tried adding <platform name="wp8"> <icon src="img/logo.png" width="99" height="99" /> <!-- tile image --> <icon src="img/logo.png" width="159" height="159" /> </platform> However this won't do the trick. It's a pretty new thing so finding informations on this topic is kind of hard. It was pretty easy, using the old method. Any

Specific value from azure mobile services table

有些话、适合烂在心里 提交于 2019-12-25 02:22:22
问题 I have a data table which looks like id name age emailId X bill 20 bill@abc.com y john 19 bob@abc.com on client side application public class myTabble { public string Id { get; set; } [JsonProperty(PropertyName = "name")] public string name { get; set; } [JsonProperty(PropertyName = "age")] public int age { get; set; } [JsonProperty(PropertyName = "email")] public string email { get; set; } I am trying to store the name of the user having email id bob@abc.com by var names = await todoTable

AmChart customization for Windows Phone 8

怎甘沉沦 提交于 2019-12-25 02:17:08
问题 I have working on Windows Phone 8 app and i am trying to implement Charting library. I have used the charting example given here :http://mobile.dzone.com/articles/mango-sample-chart-data Its good, but i am not able to customize it. 3 issues is : 1) Onclick of slice i need to get the value. 2) How to add Double tap ? 3) legends should be at the bottom aligned horizontally. Here is the screen shot. EDIT This is my XAML file: <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,0,0"> <charts

Image Control not displaying in Win Phone 8 Emulator

亡梦爱人 提交于 2019-12-25 02:07:43
问题 I'm familiar with C#, but this is my first Windows Phone application so I don't really know what I'm doing. I have a few images (I assume this is the picturebox equivalent from form applications?) on my designer, but when I run it in the emulator they do not show up. Here is my code: <Image HorizontalAlignment = "Left" Height= "14" Margin="10,42,0,0" VerticalAlignment = "Top" Width = "14" Source="/Resources/Blackbox.png" Visibility = "Visible"/> I'm probably missing something very obvious.

Windows Phone 8 In-App purchasing queries

一世执手 提交于 2019-12-25 01:47:13
问题 I am just setting up in-app purchasing within my app .. it will be a single 'Durable' item that I am allowing the users to purchase. I have got it going in testing with the MockIAP project, but it does raise some questions. My Durable purchase will be an 'upgrade to pro' so I named the key as 'ProUpgrade' within the mock initial setup. when I go to purchase the product within my app, the message asks if I want to buy (ProUpgrade). Is this the only name/description that is visible to the user?

PJSIP not running in Windows Phone 8 background process

烈酒焚心 提交于 2019-12-25 01:39:53
问题 I've studied the Windows ChatterBox sample app for Windows Phone 8 and I was able to write a small app to try out PJSIP. However I've run into a problem with the CallInProgressAgent. When creating an outgoing call, I create a VoipPhoneCall object by calling the RequestOutgoingCall method on the VoipCallCoordinator class, thereafter I create the pjsip call by using the pjsua api. It seems pjsip looses all rtp connectivity as soon as I call the RequestOutgoingCall method. My guess is that pjsip

Read HTML on Windows Phone 8

痞子三分冷 提交于 2019-12-25 00:41:31
问题 I have a Windows Phone 8 app that will read a lot of HTML source from a website. The HTML source contains quite a bit of information, however the information I need is all stored in tr and td tags within the HTML like so: <tr> <td class="first"> </td> <td > Origin </td> <td> Airline </td> <td> Flight Number </td> <td> 22 Feb 11:50 </td> <td class="last"> Arrived 12:35 </td> </tr> I intially thought about using the HTMLAgilityPack but it doesn't seem to be supported on Windows Phone 8, at

Change default tile image url

半腔热情 提交于 2019-12-25 00:08:40
问题 Is there any way I could change the Uris of the default tile images in the WMAppManifest.xml at runtime? For example I would like to enable an option for users to select the tile image in the settings of my app. This is not the problem because I can then update the main tile with the new image if the app is pinned to the start, but if the app is not pinned and the user wants to pin the app another time then the default image will be used, and this is not the behavior I want, I want the tile

Does RestSharp not support Windows Phone 8?

核能气质少年 提交于 2019-12-24 23:03:29
问题 I've always used RestSharp to handle async requests on Windows Phone 7 & 7.8 applications, but today, I was trying to add RestSharp to a Windows Phone 8 application and it wouldn't work. This is the error received: Install-Package: Unable to install the package "RestSharp 104.1". You are attempting to install this package to a will "WindowsPhone, Version = v8.0" as the target of the project, but this package does not contain any compatible with the framework assembly references 回答1: I got