I’m using Visual Studio emulator for Android and I’m trying to emulate a single core device similar to google Nexus S however I end up with a 2 core device no matter what I do. In Hyper-V manager under settings I see 2 virtual processors. Same happens when I try to emulate a 4-core device and again I see 2 virtual processors in Hyper-V manager. Benchmark tests show same values for those virtual devices. Is this supposed to work like this? How do I create a device with 1 or 4 core?
Right now, the VS Emulator for Android only runs with two cores. No matter what values are "set" it, will revert to 2 cores. If that's a feature you'd like to see, feel free to let us know on our UserVoice page: http://visualstudio.uservoice.com/forums/121579-visual-studio-2015/category/91622-vs-emulator-for-android
you can setup a Nexus S emulator right from within Visual Studio.
I was able to go to Tools -> Android -> Android Emulator Manager
From there I clicked on Create
And then I chose Nexus S and setup all required settings.
Do you have the same options and does this setup the emulator you are looking for?
Related
I'm trying to check the performance (CPU, Memory, Battery, etc) of popular apps (like Facebook, Youtube, etc) on a Windows Phone Device. However, unlike iOS and Android, I do not see an option to check the performance of installed apps in Visual Studio. Is there a way to perform this analysis using any tools or is it only possible to check the performance of apps with source code?
I think you are looking for windows phone application analysis. From Visual Studio you can accessed for BUILD menu or ALT+F11
Hi there i am a windows phone developer, I am unable to run my apps in the emulator, and it says to run the apps on a physical device. Can anyone help me with that because when I develop the apps in the express blend 2012 the windows phone 7 emulator opens up.
Plz help me in running my apps in the wp8 emulator in the visual studio.
You need to change the target from device to emulator in the start debugging button.
As #deeiip said, check whether the target is correctly set.
Else, you need to check if you have a hardware support of the SLAT. That is mandetory for running an emulator. Hyper-V needs that.
If that's not there, you won't be able to run an emulator ever.
you are needed to check Your System Configuration that it is as per the Requirements of Windows phone 8 Devlopment
For More information Check here
How can i use multiple WP device in Visual Studio? I need to test an application on multiple devices at the same time, how can I do? I do not need to start debugging on both, I just need to be able to deploy on both phones. One is WP8 and the other WP7. Thanks for the help
Sorry, you can't automate deployment to multiple devices using Visual Studio, DeployXap or CoreCon11 APIs. The way Visual Studio 2012 and DeployXap.exe do their thing is by using the CoreCon11 APIs (which I demoed here and explained here). However, the way CoreCon11 APIs work is that they only recognize one physical connected device at a time and one version of each emulator. Here's a print out of all available devices on a machine with 2 WP8s connected to it:
As you can see, there's only one "device" available from the CoreCon11 APIs. Because CoreCon11 APIs only support deployment to a single device, you can't automate those APIs or anything using them to deploy to multiple devices.
It might be possible to change how the CoreCon11 DataStore PlatformContainer works and add additional devices, but I don't have a code sample to share.
You can deploy to the first phone by connecting it and selecting Deploy from the Build menu. You can then disconnect the first device, connect the second device and debug as per usual.
I have not been able to find any documentation on if you can run applications in debug from a Windows 8 RT based tablet (such as the new Microsoft Surface) like you can on the iPad or Android devices.
Does anyone know if this is possible, and if so (or not), is there any documentation anywhere pointing to such?
Yes, Visual Studio remote debugging supports debugging an app running on an ARM target. You can find more information "What you need to know about developing for Windows on ARM (WOA)."
Visual Studio has the remote debugging tools for working with external devices and other computers. In a Windows Store application project you go to the project properties and click the debug tab. Choose the target device in the dropdown Debug settings (click to see screenshot)
You'll need the setup remote debug service on your tablet and on your dev computer. The devices need to be on the same network subnet. I'm not sure how that will work on the Surface ARM device, as they cannot join a domain. I guess we'll know more once the hardware ships.
Get your remote debugging tools at Visual Studio Downloads.
Jason Zander has a post about working with ARM devices that might be helpful.
I am working on creating a windows mobile application and I have a quick question. I have looked around for the answer and cant find anything. Is it possible to run a windows mobile application on a physical hardware device from visual studio? I don't need to be able to debug really, I just would like to be able to select my device and have it build, copy to the device, and run. Is there anyway to set this up?
There is a "Device" toolbar that should let you choose your target device. Check for it under the View -> Toolbars menu (for VS 2008... not sure if you are on a different VS version).
If you are only showing emulators, you might need to install the windows mobile 6 sdk (I don't know for sure, but I do know I also have that installed... could be that this only includes the emulators as well).
Update:
It might also be worthing right clicking on your project in the solution explorer and selecting properties. From the properties page, go into the Device tab. It might be that some devices are listed there that are not listed in the target device drop down list on the toolbar. Worth a shot, but no promises.
It's simple believe me.
I'm currently working on Visual Studio 2008 and I have already installed Windows Mobile 6.0 SDK. It's simple just two steps.
Plug your device to your computer via usb cable then you should see the ActiveSync connected your device.
Open VS and choose from target device menu that "Windows Mobile Professional Device", then push the VS Debug button (it's slower that simulator but it's working perfectly). (look at the picture)
alt text http://img38.imageshack.us/img38/3638/screenhy.jpg
I hope this will be able help to you.
Yes. If it's like mine (Verizon Motorola Q) Visual Studio will copy several files to the device and the device will prompt you to allow them. You only have to do that part once. Then when you debug on your device you may get a prompt to allow the program you're debugging to run. It seems to copy your program over to a folder in the devices "Program Files" folder and runs it from there. And it leaves it there even after you stop debugging.
And one more thing. With Visual Studio 2005, you'll need at least the standard edition to do mobile development. With Visual Studio 2008, you'll need at least the professional edition.
Thanks for the help everyone. My solution was a mix of a couple answers. I had to switch the project to the Windows Mobile 6 Professional SDK first and then I was able to select "Windows Mobile Professional Device"