windows-phone-7

How do I find out if a dll created in .Net will work in Silverlight?

How can I find out if a DLL that was created for a desktop application (in .Net) will work in a Silverlight application? Bonus question: As SilverLight for Windows Phone 7 is a subset of Silverlight, how do I determine if the dll will work in a app created for a Windows Phone 7? note: As WP7 does not support P/Invoke - it would mean tha...

Moving Keyboard above control

Is there a way to move the on screen keyboard above a control with Windows Phone 7? I'm planning on having action buttons at the bottom of my pages, but I think they will be hidden by the soft keyboard. I'm trying to emulate how WP7 OS does it in the settings section (you can use an unlocked emulator to see what I'm talking about). Setti...

How do I write automated tests for the UI of a Windows Phone 7 application?

It is hard enough to drive a normal app var it’s UI, however when the app is not running on your development platform it is even harder. So what tools will help me test the UI of a Windows Phone 7 application? See also "Are there any issues I should know about with unit test of Windows 7 Phone code?" ...

Are there any issues I should know about with unit test of Windows 7 Phone code?

I am assuming that as the code is standard C#, I can just use nUnit, TestDriven.net etc. Have I missed something? What “traps” have other people hit trying to do this? ...

Performance problem with multiple ItemsControl inside a ScrollViewer

I need a single scrollable surface that contains two bound lists. At first, I used a ScrollViewer with two ListBox inside, each having their scrolling disabled, so I could still have item selection. Seeing the poor loading time performance, I changed my ListBoxes to ItemsControl, but the performance is still terrible. In total, my two li...

How to get app version in Windows Phone?

In C# one can use System.Version.Assembly to get the version of a running app. However this doesn't appear to exist in Silverlight for Windows Phone. Is there an alternative? ...

How to get the installer of Windows Phone 7 Developer Tool without downloading all the program?

is there anything that I can do? I download the installer, and then the installer start downloading the thing, but it's 300mb, I would like to download and direct install, so I can get my pendrive and install in a lot of machines. The link is this one: http://go.microsoft.com/?linkid=9713250 ...

Silverlight Http Post to upload images

I have been trying to perform an HTTP Post request to upload an image in a silverlight application for a windows phone 7 application. The sample codes online do not get me the desired response from the API. Could anyone please provide a working code which does this? By desired response I mean that the API responds saying that the upload...

How do I attach to an app running inside the Windows Phone emulator?

I'm trying to debug an app running inside the windows phone 7 emulator, but I can't connect to it from visual studio - 'Attach to Process' -> selecting 'Windows Phone 7 Emulator' transport displays a "Unable to connect to 'Windows Phone 7 Emulator'. Not implemented" error. What am I missing? ...

What are the requirements to install Windows Phone Developer Tool?

I can't find it. By requirements, I mean like: Windows 7 Visual Studio 2010... ...

WP7 RTM Emulator is displaying the framecounter and dx info on the rightside - is this the default?

Any application I create in the RTM version of the Windows Phone 7 tools displays the framecounter,memory and gpu diagnostic info along the right side of the emulator screen. I did change any settings/preferences - is this the default behavior of the RTM emulator? thanks Michael ...

Listbox binding - delayed by one source

hey. I'm trying to maintain an MVVM model, but am tripping up somewhere when trying to bind to a listbox. The first time I run the application, I set ItemCatalog (ObservableCollection) to be a certain ObservableCollection list. The listbox is empty, but if I try again it works. However, there is a lag between the datasource and the displ...

How to interact with sites in wp7?

I need to send and receive get post requests ...

Async calls in WP7

Hi all, I have been experimenting with WP7 apps today and have hit a bit of a wall. I like to have seperation between the UI and the main app code but Ive hit a wall. I have succesfully implemented a webclient request and gotten a result, but because the call is async I dont know how to pass this backup to the UI level. I cannot seem t...

Is there an alpha value that makes white go invisible?

If I use the following for(int i = 255; i > 0; i--) { Color transparentBlack = new Color(0, 0, 0, i); } I have the effect of the object using this color to draw with going from black to a light grey and then invisible when the alpha value goes to zero. However if I start with a white value: new Color(255, 255, 255, i); The obje...

Should I rely on the local phone's time for time sensitive app (Windows Phone 7)

I'm building an app where my users will post content. The exact time of the post is an important data point - I need to know exactly when the user hit the "Post" button. Once the post has been captured I'll upload that posting to my web server. My app should still work in offline mode, meaning when there is no internet connectivity th...

Silverlight - How should I implement drag in canvas?

I am building a little app for the Windows Phone 7 (Silverlight 3) which allows the user to add objects to the screen and drag them around. My class is defined as the following: public class Frame { public double Height{ get; set; } public double Width { get; set; } public Uri Image { get; set; } pub...

What are the main pain points, when learning Windows Phone 7 programming?

I was wondering what are the pain points for other developers when learning Windows Phone 7 programming. For me is switching between application pages and the MVVC. If you have any hints or resources helping to overcome these pain points, please share it. ...

Wide tile notifcation on WP7?

Any ideas how to create a wide tile on WP7? ...

Silverlight Line shape with image on top of it.

Is it possible to keep a skin on a Line in Silverlight. I have a Line shape, and an image file of a cool looking line Is it possible to keep this image on top of the Line where ever I draw? ...