windows-phone

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

How to capture screen programatically in windows phone 8.1 SDK?

梦想的初衷 提交于 2019-12-29 07:07:02
问题 Any Idea how to capture screen in SDK 8.1 windows phone from code? For windows phone 7.5 i have seen the code and tried to use, but it failed. :( 回答1: You can use a RenderTargetBitmap and pass it a FrameworkElement that represents the page and then render a bitmap from that. private async Task<RenderTargetBitmap> CreateBitmapFromElement(FrameworkElement uielement) { try { var renderTargetBitmap = new RenderTargetBitmap(); await renderTargetBitmap.RenderAsync(uielement); return

How to capture screen programatically in windows phone 8.1 SDK?

一世执手 提交于 2019-12-29 07:06:24
问题 Any Idea how to capture screen in SDK 8.1 windows phone from code? For windows phone 7.5 i have seen the code and tried to use, but it failed. :( 回答1: You can use a RenderTargetBitmap and pass it a FrameworkElement that represents the page and then render a bitmap from that. private async Task<RenderTargetBitmap> CreateBitmapFromElement(FrameworkElement uielement) { try { var renderTargetBitmap = new RenderTargetBitmap(); await renderTargetBitmap.RenderAsync(uielement); return

windows phone 7 database [closed]

余生长醉 提交于 2019-12-29 00:47:31
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am developing a windows phone 7 app which will need some basic database functionality. I came across the following projects on

How to open a new window or tab via javascript in windows phone 7 browser

元气小坏坏 提交于 2019-12-28 06:01:07
问题 Is it possible to open a new window or tab via javascript in Windows Phone 7 browser? window.open does not appear to be supported nor does target='_blank' . Am I missing something here? This basic feature works just fine on iphone and android. Any ideas on how I can get this working in Windows Phone 7? 回答1: On Windows Phone 7 this is not possible programmatically. It's all in the users hand. To cite a Microsoft employee: "A user can open a link in a new Tab by tapping and holding the link to

Increase size of Dots in Progress bar windows phone 8

微笑、不失礼 提交于 2019-12-25 17:14:11
问题 I wanted to display Progress bar Ellipse more that its Default size like this : increase height of indeterminate progress dot size. I have gone through goggling and many Questions and Post of blogs but could not find any Solution Already seen this also but not working in my case: The high performance ProgressBar for Windows Phone (“PerformanceProgressBar”) A thicker ProgressBar in WP7, how? 回答1: If you don't mind a few Overrides :) I've heavily modified most of the common controls to get the

Open here map url from mobile

試著忘記壹切 提交于 2019-12-25 17:03:39
问题 I'm developing hybrid application and want to access to HERE map url from any device (android / ios / windows phone / web) I tried to follow this answer : Create URL to here.com But It's not working in all cases. In my case, i tried this url : https://www.here.com/directions/drive/start:48.85,2.35/end:52.51,13.38 Android without Here map app installed : open m.here.com -> ok Android with Here map installed : open m.here.com but do not find app installed -> failed iOS without Here map app

Add Hubtile control to xaml programatically with device screen width Windows Phone

女生的网名这么多〃 提交于 2019-12-25 16:58:12
问题 I have started working With the Hubtile. I'm trying to add a hubtile to a list, with the Hubtile filling the device screen width. I am adding it to a ContentPanel, however i think this is wrong - i need to show the tiles as a list, inside the app with wide tile(max screen width) property, how can i achieve this? Have a look at my code so far: //Project 1 HubTile project1 = new HubTile(); project1.GroupTag = "projects"; project1.Title = "RLE Kunnskap til andre prøve"; project1.Message =

Add Hubtile control to xaml programatically with device screen width Windows Phone

こ雲淡風輕ζ 提交于 2019-12-25 16:58:00
问题 I have started working With the Hubtile. I'm trying to add a hubtile to a list, with the Hubtile filling the device screen width. I am adding it to a ContentPanel, however i think this is wrong - i need to show the tiles as a list, inside the app with wide tile(max screen width) property, how can i achieve this? Have a look at my code so far: //Project 1 HubTile project1 = new HubTile(); project1.GroupTag = "projects"; project1.Title = "RLE Kunnskap til andre prøve"; project1.Message =

The IsolatedStorageSettings.Save method in Windows Phone: does it save the whole dictionary?

回眸只為那壹抹淺笑 提交于 2019-12-25 12:12:39
问题 Does the IsolatedStorageSettings.Save method in a Windows Phone application save the whole dictionary regardless of the changes we made in it? I.e. if we have say 50 items in it, and change just one, does the Save method saves (serializes, etc) the whole dictionary again and again? Is there any detailed documentation on this class and does anybody know what data storage format is used "under the hood"? 回答1: I've managed to find the implementation of the IsolatedStorageSettings.Save method in