Newbie, emulator is not working [duplicate] - windows-phone-7

This question already exists:
Windows phone emulator issue in windows 7 [closed]
Closed 9 years ago.
I am completely a newbie in Windows phone app development.
I followed this tutorial to develop my 1st Windows Phone app. When I am ready to run my 1st app, I selected Debug->Start debugging on the top toolbar of visual studio 2010, but I got the following dialog:
It complains that my working machine(Lenovo W510) does not have the graphics processing unit. What can I do for this if I would like to run my app on a emulator?

When clicking on "Yes", it should launch the emulator anyways but with limited functionality. (no extensive 3D, things like that)
If it does not succeed in launching the emulator then you will have to find a system with better graphics capabilities. However, considering the W510 runs an nVidia Quadro FX 880M, I'm pretty sure it should be able to run the emulator just fine. Have you checked your GPU driver yet?

I had the exact same issue with the SDK on an older machine. For XNA and otherwise smooth effects / transitions in Silverlight projects the emulator requires Windows Phone Emulator requires a DirectX 10 or above capable graphics card with a WDDM 1.1 driver.
The issue I had is that my graphics card (some integrated Intel) didn't have WDDM 1.1 drivers. In this case, if you are looking to develop XNA projects, the only two solutions are
upgrade your graphics card
or buy a real device on which you can test.

Related

Android Studio for blind developer

I am a blind Java developer. I am following a training in full stack JavaScript and we are learning React Native after React for the web.
I would like to test code with Android Studio emulator, instead of installing on a device.
At the moment I am not able to test my code, and it is very disturbing to learn.
Is there a solution for me to use my screen reader (NVDA on Windows and orca on Linux) with Android Studio emulator window? Because actually my screen readers recognize emulator window as a picture, it is not able to focus widgets.
I would like to use emulator and use the integrated Android screen reader talk back in Android Studio to test my code.
I have followed instructions on this page:
https://developer.android.com/studio/intro/accessibility
I use Expo to launch my project on terminal.
I launch Android studio and start an Android emulator.
I used a NVDA which is 32 bits software.
So I had set up a Java 8 32 bits, because it's the only 32 bit version that I found.
I enabled the Java access bridge with command line in JRE 8 directory, but I have also an Open JDK 11 64 bits installed, it could be a problem.
The main problem that I can not get focus on Android emulator windows.
As far as I know, you can't.
If I remember correctly the Android emulator is not a fully fledged VM, like VirtualBox or Qemu, so you can't use it like a device with the full Android operating system.
In simple words, the Android emulator catches all system API calls and makes your application think it is running into a real Android device. So because TalkBack or accessibility services are separated apps and the emulator can't run your application alongside the accessibility services.
I'm so sorry, but probably the simplest way is to grab an Android phone, a used one from E-Bay for example, to connect directly to Android studio and test your apps.
When choosing a test device take into account the fact that most of the time smartphone vendors apply customizations on the Android version that ships with their devices, so make sure that TalkBack is proved to work reasonably well.
About Java, NVDA and AccessBridge: if you are using the latest version, both NVDA and Android Studio, you don't have to worry about AccessBridge and 32bit stuff. I'm pretty sure that with recent NVDA versions the program runs in 64bit mode and Android Studio ships with his 64bits VM with AccessBridge already there, I'm working with this configuration. In case you may try to activate it with jabswitch --enable command.
On Linux the things are rather difficult, you have to use a distributions with all accessibility software up to date, including Java ATK wrapper, but take into account that Android Studio is not officially supported with Linux accessibility framework at the moment so you have to work with Eclipse or with a simple editor like VS Code.
Please use your Android Phone for such features, because Android studio is not a full fledge Emulator. But using your phone continuously with your Laptop/PC can be a big hassle, so using following method (by getting someone's help) get your phone connected to Android studio Wirelessly.
adb tcpip 5555
adb shell ip addr show wlan0
adb connect ip-address-of-device:5555
IP Address can be found in Settings → About → Status.
This is how you can use all android features for blind people.

Developing Windows Phone App on Windows 7 OS

I'm developing a windows phone app. I'm using Windows 7 OS.
Which Visual Studio version should I use and also which Windows App version should I target?
Can it be WP7.1?
And also, I would need to use WebView. Is WebView available in 7.1? Or is there any other alternative of WebView in WP7.1?
I've gone through many articles but still unable to decide.
I highly recommend not to develop against the Windows Phone 7.1 API. It's outdated for more than three years now. You can generally install the Windows Phone 8.0 SDK on a Windows 7 system: How to Install Windows Phone 8 SDK on Windows 7
The results will satisfy you and your users more than a Windows Phone 7 app.
The mobile app market turns really fast. Much faster than the desktop application market. You should consider to do the free update to Windows 10 in order to be able to create Windows Phone 8.1 apps. Windows 10 Mobile is about to come this year. It supports the Universal Windows Platform so developers only need to develop an app onnce and run it on desktop PCs, phones and other Windows 10 devices. If I started a new app now I'd definitely create a UWP app.
Don't waste your time developing apps against an outdated API. Maybe you can still develop Windows Phone 7 apps now. But you'll probably don't get them into the stores in the future. It's just a matter of time when Microsoft stops developers to publish these old apps.

wp7 sdk and wp8 device

I'have windows phone 8 device(lumia 620). I'm working on visual studio 2010. My problem is that I cannot run my XNA app with my phone. Every time I click start debugging, this error pops up
Error 1 Zune software is not launched. Retry after making sure that Zune software is launched. 0 0
Zune is working but zune says no devices connected. The windows phone desktop application is working fine and connects to my phone. What should I do. What is my fault.
You can't deploy to wp8 device from vs2010, you need vs2012 and wp8 sdk even if the app is developed for wp7.1
To run applications on your WP8 device you need the WP8 SDK and this requires VS2012. When you develop an XNA game you can only target WP 7.0 and 7.1 even when running on a WP8 device as the WP 8.0 OS uses C++ for games and no longer supports XNA. One final note, if you decide to develop your game using XNA/VS2012 you will need to use VS2010 to build your content as the content pipeline is not supported in VS2012.
http://msdn.microsoft.com/en-US/library/windowsphone/develop/jj207003(v=vs.105).aspx
You should select Device option in the standard toolbar of Visual Studio.

Use of OpenGL in Windows phone 8

I am developing an app for windows phone 8 I want to use OpenGl like in android and iOS I searched in internet but not found stuff that is helpful for me please suggest me if it is possible for WP8?
Unfortunately, OpenGL is not supported on Windows Phone. You can use Direct3D in Windows Phone 8 or XNA in Windows Phone 7/8.
EDIT/UPDATE:
If you want to use OpenGL on Windows Phone 8, you can use the ANGLE project which is an OpenGL API built on top of DirectX.
OpenGL is not supported yet on Windows Phone, but according to Marmalade, they will be providing OpenGL ES for Windows Phone 8 and Windows 8 "in early 2013".
Read their announcement at the following link and download Marmalade to get notified when it becomes available:
http://www.madewithmarmalade.com/windows8?utm_source=fronpage-carousel&utm_medium=site-internal&utm_campaign=windows8-announce
Note that Marmalade is not free though - even the Community Edition is $149/seat/year..

Developing for the windows slate

as Microsoft are releasing a tablet later this year, with a new operating system I was wondering whether we can already create apps for this platform and have them on the market place prior to release?
If this is the case where could I get my hands on the API's needed to go about creating a touch application in XNA for the upcoming windows 8 tablet.
Right now it looks like XNA applications will not be directly supported by the marketplace (source); however, MonoGame games are able to get into the Marketplace. This is an open-source alternative to XNA.
At this point, consider XNA to be around for a few more years but not directly supported in anything other than what it currently works on Xbox, Windows Phone, and Windows but not on the Windows 8 Marketplace.

Resources