windows-phone-7

In what position does Microphone stand at Windows Phone 7?

I don't know that. ...

.NET How to find CivicAddress?

this code returns an empty string. What can I do to return something please? CivicAddressResolver civicResolver = new CivicAddressResolver(); CivicAddress c = civicResolver.ResolveAddress(new GeoCoordinate(39,77)); textBlock1.Text = c.City; ...

When to load textures?

I'm currently working on a couple of windows phone projects (Although the question may also fit iphone/android) and it got me thinking, when is the best time to load textures from the content manager. At first, I was loading them all up, from my Game base class, and passing them along as required. Quickly getting sick of this, I have cr...

Windows Phone 7 template not found in VS 2010

I have VS 2010 Professional installed on 64bit Windows 7. I installed the Windows Phone 7 developer tools, this ran fine without any hassle: I can start the emulator. However, when I try to create a project, I can't see the templates for phone development. I searched the installed templates, but they appear to be not installed. Any comme...

WP7 Toggle switch in a Pivot control?

Is there any way to control the threshold of the flick action to on/off a toggle switch so that it doesn't mess with the pivot control's navigation? ...

BitmapImage size restrictions in Silverlight

Hi, I'm making a Windows Phone 7 application which involves getting large images from the web and putting it in a ScrollViewer for the user to scroll through. I think I'm hitting a limitation of BitmapImage, though, as the image seems to get cut off at 2048 pixels in either height or width. Is this a known limitation of Silverlight Bit...

Does Windows Phone 7 already support Visual Basic?

I just know that it supports C#, but I read things showing in Visual Basic. Does WP7 already support or is it just users creating things? Thank you. ...

How do I change the startup page on a WP7 Silverlight app ?

I have added a new XAML page to my WP7 app and I need the application to startup on this new page. How do I do that ? I cannot find MainPage (which is the current / default start page) referenced anywhere in App.xaml or App.xaml.cs. ...

IPhone / Android / WP7 app?

Which one should I go after/learn? In terms of market share, prospect, market penetration, opportunity, learning curve etc. I am a .NET programmer myself. I really hope that Microsoft can do better this time. I hope I can make use of my little knowledge in Microsoft platform to achieve something in mobile apps. I am opened to any comme...

What's the fastest way to clear the isolatedstoragestore for a windows phone 7 application?

I'm currently working on an application which writes data to the IsolatedStorageStore. As part of the app, I'd like to implement a "clear all data/reset" button, but enumerating through all the files that exist and all the folders that exist is taking quite a bit of time. Is there a magic "reset" method or something I can use, or should ...

Windows Phone 7 Dev Tools: cannot see menu for device emulator

I have installed the dev tools. I have both visual studio 2010 and Visual Studio C# Express. After install it launched VStudio, I create a windows phone app, when running it says "Error 1 Zune software is not installed. Install the latest version of Zune software." I saw on the internet that I had to connect to emulator in tools men...

No mouse button up event when hovering on another element

I have a canvas with a mouse up and down event and there are normaly around 10-15 clickable objects on the screen. If I click down on an element or blank space I can catch the event, but when I release the mouse it its only caught if the mouse wasn't on another element (blank space is fine). Is there any way in Silverlight (for WP7) to...

Windows Phone Templates in VS2010 Professional

Hi, I installed Windows Phone Developer Tools. I can create the projects with Blend 4 or VS Express Edition. I want to use the templates in Visual Studio 2010 Pro. I can see the Windows Phone Game Template under XNA Studio but the other main templates are missing. I can see them at this directory: C:\Program Files (x86)\Microsoft Visu...

How to test windows phone 7 class library?

Is there any way to test a Windows Phone 7 Class library? Usually (for WinForms or WPF applications) I create separate class library and add reference to nunit.framework.dll and to a class library which I want to test. Here, if I create new Windows Phone class library it doesn’t allow me to add reference to NUnit framework assembly. I...

Save MediaElement file source to isolated storage

With a MediaElement using an external source -- is it possible to play an mp3 while it's downloading, and then when it's finished downloading, save it to isolated storage for future use? If not, what's the best way to accomplish this? ...

ListBox.ScrollIntoView() does not seem to work in WP7

Hey guys, I want to move the listbox scrollbar to the bottom whenever a new item is added to the itemssource, but ScrollIntoView() doesn't seem to do anything if I pass it either a reference to the newly added item, or the index of it. Has anyone gotten this to work, or have any other suggestions as to how I could scroll the listbox down...

WP7 Is it possible to have a two color background without using an image?

I'm looking to create a background with the top 48 pixels one color, and everything below it another color. I've created a style, but it crashes the phone with a "XamlParseException" when I try to use it. <Style x:Key="BackgroundStyle" TargetType="Grid"> <Setter Property="Background"> <Setter.Value> ...

windows phone 7 Error ON:System.Net

I have build an windows phone library,and i create a test project at the same time,but when i goes the test,ther comes an errror: System.IO.FileNotFoundException: Could not load file or assembly“System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e” But I did had adden the reference in the project,this is the cod...

Is it possible to hook the copy and paste of Windows Phone Designer and change its behavior ?

I like the windows phone 7 designer but the copy and paste of textbox is irritating. It just keep paste the textbox at the very top. It would be much more productive that it paste below the previous textbox. So would it be possible to change this behavior by hooking this with some IDE API ? ...

Is it possible to create a GetPreviousFocusedElement function for Windows Phone 7 ?

I want to call a generic handler function for all textBox on GotFocus and LostFocus. For GotFocus I could create: private void GotFocus() { TextBox textBox = ((TextBox)FocusManager.GetFocusedElement()); textBox.Text = ""; } and call it like this: private void textBox1_GotFocus(object sender, RoutedEventArgs e) { //Instea...