windows-phone-8

Windows Phone: Log to console

丶灬走出姿态 提交于 2019-12-29 07:32:09
问题 Disclaimer: I'm quite new to the MSFT tech world and only started Windows Phone development a month or so ago. I am unable to figure out how to log information to the Visual Studio Output window from within a C# and C++ (Direct3D) Windows Phone 8 App. Is this possible? I am building in debug mode, targeting Windows Phone 8, running in the XDE emulator and my development machine is a Windows 8 box with VS2012 Ultimate installed. My App runs fine, my Direct3D scene renders normally, but I can't

Windows Phone 8 app does not contain a definition for InitializeComponent

折月煮酒 提交于 2019-12-29 07:03:34
问题 I have just downloaded the 14 CTP version of Visual Studio and created a blank app for Windows Phone. I tried to open the MainPage.xaml and the designer shows up the following errors: and for those who can't see the image: System.Exception Package failed updates, dependency or conflict validation. Windows cannot install package App.a5cd6ef3c.a895b.a4508.a96fd.af1634c30bb13 because this package depends on another package that could not be found. This package requires minimum version 0.0.0.0 of

How to get started with windows phone SDK 8.1?

﹥>﹥吖頭↗ 提交于 2019-12-29 06:53:30
问题 Situation: I am running windows 7 professional and I am trying to start developing windows phone 8.1 application. I have downloaded : VS2013_RTM_DskExp_ENU.iso that is Microsoft Visual studio 2013 Express RTM . Since this is RTM update and windows phone 8.1 developement needs 2 RC updated , I downloaded VS2013.2 RC.exe , which is online installer for the update mentioned. To download the full local installation package (3.43 GB), I ran E:/vs/"VS2013.2 RC.exe" /layout on command line. For

Load URL from txt File and load the URL in Browser Synchronous WebClient httpRequest

ε祈祈猫儿з 提交于 2019-12-29 02:01:12
问题 I started Windows Phone programming with this example from Microsoft: http://code.msdn.microsoft.com/wpapps/Hybrid-Web-App-75b7ef74/view/SourceCode The app only displays the browser and load a URL. Now I want to load an other URL directly from a .txt file. For example: http://www.test.de/appurl.txt and then I want to load the URL in the Windows Phone App. --> For example: http://anotherserver.de/index.html?mobileApp My problem is, that the URL have to load synchronous and not asynchronous. I

How to run application in background in Windows Phone?

安稳与你 提交于 2019-12-28 02:07:20
问题 I want to develop a background application in Windows Phone 8. Like there is a flash screen and after the flash screen starts, immediately it would be moved to back ground. But the timer present in the application should be active from being in background and keep doing the task assigned. So, in the fore ground user can continue using the device and in background the app will run a timer and continue with the tasks. I have tried using Periodic tasks, but they get triggered once in 30 minutes

How to run application in background in Windows Phone?

时光毁灭记忆、已成空白 提交于 2019-12-28 02:07:08
问题 I want to develop a background application in Windows Phone 8. Like there is a flash screen and after the flash screen starts, immediately it would be moved to back ground. But the timer present in the application should be active from being in background and keep doing the task assigned. So, in the fore ground user can continue using the device and in background the app will run a timer and continue with the tasks. I have tried using Periodic tasks, but they get triggered once in 30 minutes

How to Install Windows Phone 8 SDK on Windows 7

旧街凉风 提交于 2019-12-27 13:03:51
问题 I have all my workspace and everything set up on Windows 7 but I also want to develop Windows Phone 8 but as stated on Microsoft website that It can not be installed on Windows 7. Do anybody knows how to install in on Windows 7. I have found a crack but I don't know how to run this. You can get this from here Please tell me if anybody knows how to install it. here is a link to WP 8 ISO file Edit: There could be several reasons to install WP 8 in Windows 7. Like I have purchased a Wndows 7

Parsing all the doubles from a string C# [closed]

情到浓时终转凉″ 提交于 2019-12-26 18:22:06
问题 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 . I actually have strings formed like this one: { Desc = Marketcap, Val = 1,270.10 BTC 706,709.04 USD 508,040.00 EUR 4,381,184.55 CNY 425,238.14 GBP 627,638.19 CHF 785,601.09 CAD 72,442,058.40 JPY 787,357.97 AUD 7,732,676.06 ZAR } I'd need to parse out all the doubles in it, and I am actually stuck

Windows Phone 8 C# Load and Draw PNGs

倖福魔咒の 提交于 2019-12-26 06:09:38
问题 I'm making a music theory game with C# and XAML, where a note appears on the stave and you press the corresponding button, and then it spawns a new note in a new position and gameplay 'loops' from there until you run out of lives...etc Yet I can't find anything that tells me how to load and draw .png files for Windows Phone 8. The main issue is that the position is what changes, and all I want to do is make the note image appear at one of the defined positions when a new note is made. It

How to Delete Item from Observable collection in C#

孤者浪人 提交于 2019-12-25 21:44:27
问题 I am working on windows phone app and I want to delete item from listbox. I am using following code List numbers=new List(); ObservableCollection<string> myCollection = new ObservableCollection<string>(numbers); int indexPerson = listBox1.SelectedIndex; myCollection.RemoveAt(indexPerson); var my = (ObservableCollection<string>)listBox1.ItemsSource; listBox1.ItemsSource=my; and when I click on delete button one item is deleted based on index and then when I will delete another item the