windows-phone-7

XAML Bindings not working in custom EventTriggers

Hey all, I am having this really annoying problem... I have the following EventTrigger below: using System.ComponentModel; using System.Windows; using System.Windows.Interactivity; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; namespace App.Common.Actions { public class SoundEffectAction : TriggerAction<Framew...

Is System.ServiceModel.Syndication.dll supported in the beta release of windows phone 7 series?

Does windows phone 7 series support the System.ServiceModel.Syndication.dll? ...

Performance profiling Windows Phone 7 apps (SL/XNA)

Is there performance profiler for Windows Phone 7 (SL/XNA)? I just want to measure execution time of calling methods. ...

How can I create a ListBox that only shows the selected item when not focused

I want to reproduce a ListBox used in the Windows Phone 7 calendar. When the list does not have focus, only the selected item is shown. When the list gets focused, it smootly grows (vertically) to show all items. My limited Silverlight and Blend talent is failing me. I thought I could achieve all this via the ItemContainerStyle, but the...

Are there any common techniques for validating form data on the view within a Windows Phone 7 Silverlight applications?

I am working on a Windows Phone 7 application and I'd like to know if there are any common ways to implement validation on the form. Some simple examples would be really helpful. I'd love to see something that uses data annotations, but I don't believe that's supported in Silverlight 3 (and thus WP7). To be clear, I'm looking for things...

Google Mobile Ads in Win Phone 7 Applications

I'm interested in using Google Ads in my Win Phone 7 Application. I've created a custom control that currently uses AdMob services to load ads, and I'm interested in incorporating a Google Ads provider (as well as any others I can). You can see the source for this control here: https://bitbucket.org/jacob4u2/moads/wiki/Home. The best c...

How can I programatically set the lock screen image in Windows Phone 7?

How can I programatically set the lock screen image in Windows Phone 7? If this is not possible how can I add an image to the camera roll programatically? ...

How to get a unique object reference as a string for items in a list

I'm working on a .NET phone application where I have a list of items in memory that are displayed to the user. When the user clicks on an item in the user interface, they'll be brought to the "details" view for that item in a second view. I'm currently using an identity property in my class to reference unique items in the list, but I'...

Windows phone 7 Logon Screen

What is the best way to make password/logon screen? Iread somewhere that it is better to use a popup control. If so where exactly do I need to create it, in App.xaml? ...

Windows Phone 7: Difficulty with app opening/closing events on emulator

I'm experiencing odd behavior in the wp7 emulator. I have a dead simple app that's mostly directly from the template generated by VS 2010. From App.xaml: <!--Required object that handles lifetime events for the application--> <shell:PhoneApplicationService Launching="Application_Launching" Closing="Application_Closing...

How to implement an AutoCompleteBox on Windows Phone 7

I have a Textbox on my WP7 GUI, which I would like to Bind to a generic list stored in IsolatedStorage. The aim would be, to supply a feature like the AutoCompleteBox in WPF, which seems to be missing in WP7 Silverlight. I want to provide suggestions based on the entries in the favorites list as the user types in text. Matching would be ...

How to use Dispatcher with async call in WP7?

I haven't been able to find an example like this, though I'm sure there must be a few out there. When the user clicks a button to log in, an event handler on the button click calls a function that logs the user in. Based on the user, they can be taken to one of many start screens. The information for which screen is returned from a serv...

NUnit with Windows Phone 7

I'd like to unit test my Windows Phone 7 libraries with NUnit. Is there a version of NUnit compatible with Windows Phone 7? ...

Silverlight and Windows Phone 7 dll compatibility

Is a library built for Silverlight compatible with a Windows Phone 7 application? ...

Windows 7 phone development

I am a C# dev with most of my experience with windows desktop app. I want to start development on windows 7 phone platform. Where to start with ? Will it work with VS2008 or i need to have VS 2010 ? how to add the template for phone app development and how to add the win 7 emulator ? What i need to install to start working on windows...

Silverlight/Windows Phone - EventToCommand DataContext Weirdness

I'm currently using MVVMLight for my WP7 app and have found that the datacontext for an EventToCommand is always the page datacontext. I'm also using the phone.codeplex.com panorama control and had set the datacontext for each PanoramaItem to a different ViewModel but this datacontext is ignored and the page data context is used instead...

Silverlight: Difficulty with ListBox and {Binding} syntax

I'm building a test Windows Phone 7 Silverlight app. (I've been following this tutorial.) I'm having a problem binding the list items to item properties. Get tweets for an entered username: private void button1_Click(object sender, RoutedEventArgs e) { WebClient twitter = new WebClient(); twitter.DownloadStringC...

Unable to invoke WCF service methods from Windows Phone 7 emulator

Hello, I am new to WCF and I am trying to create a Windows Phone 7 app which calls a self hosted WCF service. I have created WCF service hosted in a console app. I am unable to call the service from Windows 7 app running in emulator, but I am able to call it from another client console application running on the same machine the WCF ser...

What control to use to display larger image on Windows Phone 7

I would like to display a larger image on a windows phone 7 device. I need to be able to zoom in and out using multi-touch gesture. I was wondering if there is any control that can do this out of the box in the Windows Phone 7 SDK? ...

windows server Active Directory users data into windows phone 7 (windows mobile 7)?

How do I connect to windows server active directory using windows phone 7 without using a web service/ wcf. Microsoft didn't provide "System.DirectorySerice" namespace in windows compact framework. ...