Windows phone 8.1 development - c#

I have a 32 bit Windows 8.1 on my Asus transformer book. I cannot test my Windows Phone Apps with the emulator because it is not supported. I would like to know how can I test the apps that I create if I don't own a Windows Phone device to connect to my tablet.
Thank you for your time, it is really appreciated !
Happy new year to everyone

Well, it seems that debugging on the emulator with a 32 bit OS could only work when working with the Windows Phone 7. As of now, owning a 32 bit OS with Windows 8.1 means that we can only debug with an actual device.
The 32 bit does not support Hyper-V which is needed to use emulators in the OS. Knowing this, I have the following options :
Get a new computer because this one is a secondary machine
Use virtualbox to simulate a 64 bit windows 8.1 OS
To use the second option, there are some requirements to know about before going too deep into it such as having a 64-bit processor. If you don't have that to begin with, it will not work.
More on virtualizing 64-bit images on 32-bit machines here https://askubuntu.com/questions/180761/can-i-use-virtualbox-with-a-64-bit-image-in-a-32-bit-host

Related

Retarget Windows Phone 8 app to Windows Phone 10

As many of you may know, Microsoft will be releasing the new Windows Phone 10 operating system to current Windows Phone 8.1 users.
I was wondering whether it will be possible to retarget Windows Phone 8/8.1 apps to Windows Phone 10 and if so how.
I couldn't really find any information on this so I will greatly appreciate any information on how to do this.
PS. My app is written in C# and XAML.
I think it is too early to speak about the way WP 8 application migration to WP 10.
Work on WP 10 still actively underway and many changes occur in operating system (see Windows Insider).
Exactly, we can say that all the applications created by template WP 8.1 (RT, but not SilverLigth 8.1) will work on WP 10.
I've tried a few of their applications WP 8.1 for Windows Phone 10 (Insider) and have not noticed problems.

Emulate a specific WP device?

I'm creating an app for Windows Phone 8 that spits out a 1-10 score rating your phone's performance (Like the Windows Experience Index) but for windows phone. The app is basically done, but due to how this app works differently from device to device, I would like to emulate multiple devices in the WP emulator. I own a HTC 8X, and I know my app works fine using that, but how can I emulate another device, such as a lumia 920, using the Windows Phone emulator?
You can't emulate a specific device in the emulator. As a workaround, you can use the Remote Device Access provided by Nokia. It will allow you to test the app on a large panel of Nokia phones. Unfortunately, I'm not aware of similar test platforms from other constructors.
In the emulator you can test only diferents resolutions and size of rams, i think it would be two of the things you should "scan" in your app so it can help you to test your app
You can test for different resolution and size by this way
But when you need to test mobile like lumia 920 which runs in WP8 os. You need to have WP8 SDk installed in VS2012.

Running windows 7 emulator without the requirement for wddm 1.1

I'm from the android background. I have installed .net and windows phone sdk. When I tried to open the windows phone emulator it say's that :
My computer doesn't have requried grahics unit processing . . . .
I have intel 945 graphics card. I tried for wddm 1.1. But it seems that I'm out of luck. I couldn't find any drivers.
Are there any way in which I can create windows app without the requirement for wddm 1.1?
This is really frustrating.
Intel didn't provide WDDM 1.1 drivers for the 945 chipset.
If this is a desktop machine, you could always grab a mid/low-end $40 discrete graphics adaptor, most of which support WDDM 1.1 (e.g. http://www.newegg.com/Product/Product.aspx?Item=N82E16814131398). If this is a laptop, look for a new device:
A (now, somewhat elderly) 945-era PC is not going to deliver a solid experience when running something as demanding as the Windows Phone 7 emulator. Note: The WP7 emulator is a full device emulator, not a simple simulator as offered on other mobile platforms' SDK's.
This is more the case when running the Windows Phone 8 SDK as its emulator runs on Hyper-V which requires a 64-bit CPU: http://www.wpcentral.com/windows-phone-8-emulator%E2%80%99s-hardware-requirements.
I strongly recommend aiming for a Nehalem-class PC (i.e. Core-i5/7 based PC) which has a processor that supports Second Level Address Translation (SLAT): This will prevent your CPU and GPU unnecessarily flushing the TLB and slowing down your PC: http://blogs.msdn.com/b/tvoellm/archive/2009/04/06/why-does-my-desktop-box-slowdown-when-i-install-hyper-v.aspx.
HTH.

windows phone emulator warning and configuration

What happened here, I install Visual Studio Express for Windows Phone.
When I was happy and about to debugging my First hello-world win-phone app. It gives me this in return.
It looks like that there is something wrong with graphics processing unit configuration.But I am absolute newbie in this area and never used Visual Studio before, guys help me out here.
Can you confirm that the computer you have installed the SDK on meets the following requirements?
Operating system
Windows 7 32-bit, Windows 7 64-bit, Windows Vista SP2 32-bit, Windows Vista 64-bit.
Note:
Windows XP, Windows Server, Virtual PC, and Hyper-V are not supported.
Memory
3 GB RAM on the computer and 1.5 GB free RAM.
Graphics processing unit (GPU) emulation
DirectX 10 or DirectX 11 graphics card with WDDM 1.1 or later driver, and DDI 10 or later. For additional information, see Optimizing Performance for Windows Phone Emulator. For information about determining the current configuration, see DirectX Configuration in this topic.
.xap packages
The maximum size of the .xap package is 225 MB for Silverlight applications and XNA Framework applications.
Note:
The emulator simulates a flash drive of 2 GB. Because a Windows Phone OS 7.0 device has a larger flash drive, you cannot install as many applications on the emulator as you can install on a device.
Silverlight applications
GPU emulation is a requirement for Silverlight applications. Silverlight applications may run without GPU emulation on Windows Phone Emulator, but this scenario is not supported.
XNA Framework applications
DirectX 10 or DirectX 11 graphics card with WDDM 1.1 or later driver, and device driver interface (DDI) 10 or later. XNA Framework applications will not run without GPU emulation. For information about determining the current configuration, see DirectX Configuration in this topic.
Video
VC-1, H.264 and AAC encoding. Not supported without GPU emulation. See GPU emulation requirements in this table.
Effects such as Blur and DropShadow
Not supported in the Windows Phone SDK.
Hardware-assisted virtualization
Requires a processor that supports hardware-assisted virtualization. For additional information, see Optimizing Performance for Windows Phone Emulator.
Hardware keyboard
You can use the host computer keyboard as a hardware keyboard. For detailed information, see Keyboard Mapping for Windows Phone Emulator.
Isolated storage
Data in isolated storage persists while the emulator is running, but is lost once the emulator closes.
Launchers and Choosers
For detailed information, see Launcher and Chooser Support in Windows Phone Emulator.
Multi-touch
Requires a host computer that supports multi-touch input. Simulation of multi-touch by using the mouse is not supported in the current version of the Windows Phone SDK.
Accelerometer, GPS
Accelerometer and GPS can be simulated using the emulator. For more information, see How to: Test Applications that Use the Accelerometer and How to: Test Applications that Use Location Data.
Camera, compass and gyroscope
Not currently supported.
Taken from MSDN - Setup and System Requirements

Will Windows Mobile 5 SDK work for Windows 7.5 mango OS phone

I want to develop an application for Windows 7.5 mango OS phone like HTC Mozart, I am already having Visual Studio 2008, will the apps built by Windows Mobile 5 smartphone SDK be supported in a windows phone?
No, the Windows Phone SDK is the only one that is supported. In short, Windows Mobile != Windows Phone.
Also the UI is drastically different and the underlying runtime and .NET framework is also different. You might be able to port the logic of your code across easily to the new SDK, but the UI will need rewriting.
There are also a lot of freedoms lost in the new iteration as "the user is king". This means you need to review what your current app requires and provides to see if it is even a good fit for the new range of phones.
No, Windows mobile SDK wont work for Windows phone 7 applications.
See, the .NET Framework for windows phone 7 has changed completely . Infact the classes and APIs have changed .you can carry forward your previous experience of Windows Phone development into this new one but that certainly might not be the same code and services working in the same platform

Categories