Error with Windows Phone Emulator - visual-studio-2010

I am trying to get my windows phone development up and running again.
I am having serious issues with the emulator where it looks like this http://imgur.com/qM4uj
Here is my info. Running windows 8 on a computer with quad core proc and good video card.
Any ideas?
Thanks!

This page might help:
http://social.msdn.microsoft.com/Forums/en-US/wptools/thread/5b659eea-9a4f-45ce-8418-b9097d586197/
Emulator Video appears corrupted running XNA or Silverlight + XNA
game. The emulator images included in Windows Phone SDK 7.1.1 have a
compatability problem with some video cards or video card drivers. The
problem appears as corrupted display when using the XNA graphics
rendering engine in landscape orientation when system tray is visible.
To work around this problem: XNA games should either set the
orientation to portrait:
graphicsDeviceManager.SupportedOrientations = DisplayOrientation.Portrait;
-or- enable full screen mode:
graphicsDeviceManager.IsFullScreen = true;
Silverlight + XNA games which use landscape page orientation should
disable the system tray:
<phone:PhoneApplicationPage
SupportedOrientations="Landscape" Orientation="LandscapeLeft"
shell:SystemTray.IsVisible="False"

Related

How to "disable" HD screens for Windows Phone app Store?

When I started working on our company's Windows Phone app project there was no full HD resolution for WP. But now there is and I'm supposed to disable the app for full HD devices in the WP Store. How do I exactly do that?
The main reason for this is that the app has a thick black ribbon on top of the screen when used with a full HD device.
I have noticed that when you update or upload .xap file, the Store recognizes the requirements of the app. The Store says the app works on all screens. How do I set the requirements so that the app is disabled HD resolution screens?
The app is made to support WP versions 7.1 through 8. I eyed the Internet for help but it seems that because the app is WP 7 compatible I can't describe the resolutions in the WMAppManifest where the Store would easily to find it. Or can I?
It would be so great if I could do this some easy way instead of going through the whole app to make it work "better" on HD screens.
There is no way how you can prevent users with certain display resolutions from installing your app. A similar question was asked here, it was about installation prevention of apps for specific device types. What you can do is to do the check in code.
You could check the device's display resolution when starting the application. If the size exceeds your limit, you could inform the user about that and exit the application.
How can I get a screen resolution of Device (Windows Phone)
However, I don't know how this would affect the app certification.
Windows Phone 7.1 only supports 800 x 480 resolution and Windows Phone 8 supports multiple resolution.
The scaling used for Windows Phone 7x apps on Windows Phone 8 means that one 720p and 1080p devices, you will get a black band. There is nothing you can do.
You could recompile the app as Windows Phone 8 app and have both WP7x and WP8 xaps available and this will ensure that the space is consumed correctly and the black band isn't shown.

Do I need to add tile images to my Windows Phone 7.1 in order to target Windows Phone 8?

I have a Windows Phone app that targets OS 7.1 and I wish to be available for Windows Phone 8 devices as well. As I understand it I needn't do anything code-wise to make this possible. However, must I add new tile images to get it certified? According to App submission requirements for Windows Phone the XAP must include more images for Windows Phone 8 than for Windows Phone 7 (see Default Tile images under section 4.7.2), is this the case here or does it only apply to Windows Phone apps targeting OS 8.0 and higher?
I did not get your question what actually you want? but if you want to upload your .xap in app store than you have require
300x300 app icon
1000x800 back ground image
If your application support multiresolution than six WXGV(768x1280) screen shots else you need six single resolution screen shots
If you are talking about application icon than visit bellow link you got every thing
Tile size and resolution
Tile design Guideline
Multi resolution for windows phone
good. to know the requirements of your app or the window phone 8, i can assume you have been using Visual Studio 2010. i have had a similar experiance to one of my apps. i simply opened my project.snl file with visual studio 2012 and at the AppManifest page, i was able to add the stuffs (images for toast, tile and other images required which i provided in various sizes). you'll also have the advantage of adding some more cool features like a better arrangement of your app which you switch the orientation.
your app will still perform good on window phone 7 series too.
i hope this helps.
Your app is already available as is for WP8 devices.
That's not clear what do you mean by images.
If you are talking about screenshots for Marketplace:
If you have a separate XAP you'll have to add screenshots to it.
Nowadays it's enough to add a set of screenshots in WXGA (1280 x 768) resolution.
If you are talking about icons and other images you use inside the app:
you should add images in WXGA (1280 x 768) resolution. They will be resized to all supported screen resolutions.
WP8 app should contain 99 x 99 pixel PNG image as app list image and at least two main tile images: small and middle one. Wide tile is up to you.
To supppoert all tile sizes you will need to include the tile images for that size. If you don't, your app will still work, but the tile for your app couldn't be resized.

WP7 project on WP8

We wan't to support both platforms, because the code is 100% portable to Windows Phone 7 from our Windows Phone 8 project, but i have noticed a strange problem.
So to support both platforms we need to create WP7 project and it will be installable on WP8, but:
On small devices like WVGA, application looks normal, but when i open it on 720p it doesn't use 100% height.
Example:
What the hell? If i open the same xaml in WP8 project all works perfect.
P.S. Full design is rubber - no hardcode in pixels or %. How to fix it?
Unfortunately, this is not possible. The WP7 apps running on WP8 devices are constrained in a 480x800 container.
To take advantage of the 720p screen, you'll have to build a WP8 version of your app.
That's because the different screen sizes and screen ratios. WP8 can run WP7 Apps, but at certain resolutions it uses a black rectangle to avoid lengthening the screen.

Marketplace title difference wp7 and wp8

I try to create wp7 and wp8 versions of my app, but I'm confused about Marketplace (Windows Store) title.
For WP7:
I use Windows 7 + VS2010 + WP7.1 SDK, and what I have:
When I open Marketplace Test Kit I need to add Marketplace title 200*200 pixels.
I also found this article: Creating Windows Phone 7 Application
and Marketplace Icons, where Marketplace title also 200*200 pixels.
For WP8:
I use Windows 8 + VS2012 + WP8 SDK, and what I have:
When I open Windows Store Test Kit I need to add Windows Phone Store app image 300*300 pixels.
I also found this article: App submission requirements for Windows Phone, where Windows Phone Store app image also 300*300 pixels.
My question is: Why it's happens? Why I need to add same image with different size for each version of my app?
Windows Phone 8 introduced higher resolution screens (768x1280 and 720x1280). This is up to 1.6x pixel count of WP7.
So to make sure the images look good on the higher resolution phones, a higher resolution image is required for your icons.

top margin issue for windows phone 7 apps on windows phone 8

The windows phone 7 application which I developed using 7.1 SDK occupies the entire screen on wp7. But the same application when opened in Windows Phone 8 shows some extra margin on top because of which my app was not able use the space on top. Any idea how to fix this?
WP7 only supports only one resolution (480x800).
For 480x800 WP8 devices that's obviously fine.
For 1280x768 devices this scales fine as this is the same aspect ratio.
However 1280x720 devices have a different aspect ratio which leaves the black bars at the top of the screen.
The only way to fix this is to upgrade your project to WP8 using the WP8 SDK (whilst watching out for any subtle issues that may bring).

Resources