windows-phone-7

Use an External ResourceDictionary in a WindowsPhone 7 app

Hello, I am trying to create an ResourceFile Called DataTemplate.xaml in an external dll and use that in a WP7 page. When I do the following in the header of my Page I get an error <ResourceDictionary Source="pack://application:,,,/WP7SharedClassLibrary;component/DataTemplate.xaml" /> The error is "Current project does not support ...

Windows Phone 7 emulator on a VM?

It seems that the Windows Phone 7 SDK doesn't support running inside a VM. On Parallels, the entire VM simply crashes when the emulator is starting up. Around the web, though, a few people have reported that they were able to use it by changing a lot of the VM settings. What do I have to change to be able to run it? I'm specially int...

Using webcam to simulate phone camera in WP7 emulator

Does anyone know if it's possible to use a webcam to simulate the phone camera in the Windows Phone 7 emulator? This seems like it would be useful for creating augmented reality applications with the current tools. ...

Why Android for enterprise applications?

Recently one of our clients is considering the posibility of picking up an old WinMobile 5.0 project. Several features are to be added to the point it will be a major version update. The client is worried about the mobile market, and thinks there's a chance all the effort put in this development will have to be thrown away in a couple ...

Can I use different templates for different types of items in a ListBox?

Picture a listbox in Silverlight that is similar to the "feed" on facebook. Each item might be 1) a status update with an image on the left, 2) a photo thumbnail with a title, 3) a youtube video, or 4) a blog entry. Each item uses a different template. How would you accomplish this? I had planned on all my item types implement a common ...

How do I send user to a URI on MouseLeftButtonUp?

This question is for Windows Phone 7. I'd like to send the user to a specific external URI when the entire ListBox item is clicked (not HyperLinkButton). I already have a MouseLeftButtonUp event handler for the item. At this point, I can't find a way to navigate the user to the URI. ...

Does Windows Phone 7 have a YouTube player similar to iPhone?

I want to allow my phone app users to be able to click a YouTube video and be sent to the phone's YouTube player. Does Windows Phone 7 have that option? ...

Getting UI button's event in Windows Phone 7

Hello. I'm currently making a game in XNA4 for Windows phone 7, and I'd like to know if it were possible to get the event of the return button, or even the windows button that are basically present on the phone's interface. If so, how can i do that? thanks, KiTe ...

Convert object to enum C#

I have binded a list of enum to a combobox. Now I want to get the SelectedItem return the enum, which currently returns it as type object. How do I convert this object to my enum? My framework is silverlight on windows-phone-7 ...

Is it possible to use the WP7 Panorama or Pivot in SL4?

I'm making pretty heavy use of the Panorama and Pivot controls in my WP7 applications. Is it possible to use these same controls in a standard Silverlight (4) application? http://phone.codeplex.com/ I added the dll's, was able to compile and create the controls in my views. However; I was not able to "Scroll". I thought they used the "...

Windows phone 7 grouped list

I am new to silverlight and windows phone 7 development and am having some trouble working out the best way to do a "grouped list". Essentially what I would like to do is group a list of event details by date into something like this: Monday 5/6/10 event 1 event 2 Tuesday 6/6/10 event 3 I tried using nested listboxes whi...

Shouldn't this cause an Overflow? It doesn't!

What's up with this, anyway? I do a simple multiplication: Int64 x = 11111111111; Int64 y = 11111111111; Int64 z = x * y; And at the end of the multiplication, z shows a value of: -5670418394979206991 This has clearly overflowed, but no exception is raised. I'd like one to be raised, but... Note that this is on Windows Phone 7, b...

Real Silverlight Support on Windows Embedded Compact 7?

So Windows Embedded Compact 7 (another classic from the naming department) supports Silverlight for Windows Embedded. http://www.microsoft.com/windowsembedded/en-us/products/windowsce/compact7.mspx But this is a C++ only stripped down version of Silverlight 2 XAML. Does anybody know if Windows Embedded Compact 7 will support real Silver...

Is Windows mobile 7 User interface based on silverlight?

I've heard that windows mobile 7's user interface (UI) is completely based on silverlight. can anybody confirm this? or it is implemented by other frameworks? thank you ...

Possible to use zxing in Silverlight (for windows phone)

Hello, is it possible to use the c# port of zxing in a Windows Phone 7 project? I've tried a couple of things but zxing makes use of System.Drawing.Bitmap while that doesn't exist in Silverlight. ...

What is the best scalable architecture to build services for Windows Phone 7 apps to connect to?

I want to build my first Windows Phone 7 application and I'm going to need a service backend. Should I be using something like NServiceBus? WCF? Any suggestions would be helpful. I'm guessing the Cloud (Azure) would be the best place to host this service? ...

Windows Phone 7 without db support

Hello, I'm disappointed in seeing that no DB support has been added to the new MS mobile platform ... what do they think about great and full Sqlite integration in iPhone and/or Android?? I think that in a mobile app a local db is a good good thing. ...

Silverlight Binding to TranslateX

I have a simple winphone7 application, but I think this would apply to any silverlight. Basically I have an ellipse and I would like to move it with the translate X and Y properties. Here is my attempt: <Ellipse Fill="#FFF4F4F5" Margin="0,0,-3,-3" Stroke="Black" RenderTransformOrigin="0.5,0.5" > <Ellipse.RenderTransform> ...

Windows Phone: Updating backend datastore (via web service) while keeping UI very responsive

I am developing a Windows Phone app where users can update a list. Each update, delete, add etc need to be stored in a database that sits behind a web service. As well as ensuring all the operations made on the phone end up in the cloud, I need to make sure the app is really responsive and the user doesn’t feel any lag time whatsoever....

Windows Phone 7 ListBox uncustomizable?

I've just recently started development using Visual Studio 2010 Express for Windows Phone and I put in a ListBox. I can't seem to manipulate the formatting. No matter what I do, the background is black/gray, the selected items have a blue border, and there is padding between the items in the listbox (i'm using images). Here is my code:...