windows-phone

Windows Phone 8 SDK Blog Announcement and XNA Confusion

丶灬走出姿态 提交于 2019-12-13 13:49:08
问题 In the Windows Phone 8 SDK announcement blog post, I saw this: XNA Game Studio – Enables you to continue developing games for existing Windows Phone 7.1 devices, along with desktop and Xbox 360. However, targeting anything other than Windows Phone for XNA Profile will result in a Visual Studio 2012 error of "Windows/Xbox is not a supported platform for this version of XNA Game Studio." So, am I reading the blog post incorrectly? Is it possible to target Windows and Xbox using the XNA Game

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

非 Y 不嫁゛ 提交于 2019-12-13 12:27:25
问题 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

c# HtmlAgilityPack Wrapp taking several images, titles and links Windows Phone [closed]

前提是你 提交于 2019-12-13 09:14:13
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . How to fetch the data on this page? I need to get the image and its corresponding title and display in a list box. Using class or not. I do not know how to do, please help me! Do not even know where to start! I've tried several things and none work, then turned into a mess, would someone guide me

Xml Parsing with Dictionary<string, List<MyObject>>

吃可爱长大的小学妹 提交于 2019-12-13 08:59:10
问题 I am working on Windows Phone 8 app development. i have a xml like the below: <array> <dict> <key>SubTopics</key> <array> <dict> <key>ID</key> <array> <string>CD1</string> <string>CD2</string> <string>CD3</string> <string>CD4</string> </array> <key>Title</key> <string>Miscellaneous</string> <key>Desc</key> <string> this is just a text</string> <key>HasItems</key> <true/> </dict> <dict> <key>ID</key> <array> <string>DDC1</string> <string>DDC2</string> <string>DDC3</string> <string>DDC4</string

Windows Phone 8 Service Call causes Error HRESULT E_FAIL has been returned from a call to a COM component

馋奶兔 提交于 2019-12-13 08:47:00
问题 When making a typical Service Call it is causing an error Error HRESULT E_FAIL has been returned from a call to a COM component var response = await ServiceManager.SendRequestAsync<GetOptionsResponse>(request); This error is only occurring when I make a service call from this page, if I call the same method from another page it works fine. The error causes the response to not be returned and the whole App crashes. Any ideas? 回答1: It turns out that it actually wasn't the Service Call, just any

Navigate directly into the app without logging in again Windows Phone? [closed]

与世无争的帅哥 提交于 2019-12-13 08:04:07
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I've got a WP8 music app where the user can login through his mobile number or either his/her email address for the first time. I don't the want the user to type in the login details once again when he/she logs in. What I need is to let the user directly navigate into the app's

Send HTML Content Via EmailComposeTask [closed]

余生颓废 提交于 2019-12-13 07:52:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm working with windows phone 8 application I need to send HTML contents using Email compose task, Any one can help me?. 回答1: As you can read here, you cannot use html formating using EmailComposeTask. To do that you will need to use a third party library line MailMessage or create a web service to send the

AUTOCOMPLETE SUGGESTIONS APPEARS ON TOP OF TEXT BOX -WINDOWS PHONE

夙愿已清 提交于 2019-12-13 07:47:08
问题 I am using auto complete textbox from windows phone toolkit.I need the list of suggestions below my textbox but it shows up above the text box .How do I make the suggestions appear below the text box..Here is my XAML. <Grid Margin="0,336,0,189" x:Name="editrow" Visibility="Visible"> <Grid.RowDefinitions> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="*"></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="220" ></ColumnDefinition>

NavigateTo() Function is being called before constructor?

浪子不回头ぞ 提交于 2019-12-13 07:31:49
问题 I am developing a Windows phone App and in my MainPage.xaml.cs file I have one private member that is being changed in the overrided method OnNavigateTo() . Although its value is changed, after that in the MainPage constructor its value resets to 0 (It's an int member). I guess that OnNavigateTo() method is being called BEFORE the constructor but if so I would have a nullReferenceException. What can cause that problem? The OnNavigateTo() Function: if (NavigationContext.QueryString.ContainsKey

How to perform Hold event in Windows Phonw 8?

早过忘川 提交于 2019-12-13 07:00:35
问题 I'm trying to deal with hold event on my Windows Phone 8 project. This is my list's tap event private void lstData_Tap(object sender, System.Windows.Input.GestureEventArgs e) { Bus selectedItemData = (sender as ListBox).SelectedItem as Bus; if (selectedItemData != null) { var num = selectedItemData.Number; var route = selectedItemData.Route; NavigationService.Navigate(new Uri(string.Format("/Details.xaml?parameter1=" + num + "&parameter2=" + route), UriKind.Relative)); } And this is Hold