I want to test my Windows 8 phone app. I want to plug it into the desktop computer and view the JavaScript console output on the desktop.
I can debug the app itself in Visual Studio but I want to see the JavaScript console output.
Is this possible? I know you can do it with Android phone
https://developers.google.com/chrome-developer-tools/docs/remote-debugging#enable-usb-debugging
but what about the Windows 8 phone? What about previous versions of the windows phone? What about the different versions of the iOS?
It is not possible to do this on Windows Phone 8.
There is no information available about what may be possible in future versions.
Unfortunately, you'll have to show your output on the page to debug web pages on actual devices.
You can use WEINRE (WEb INspector REmote). It works with all platforms and it's free.
This is documented on Channel9
Launch Visual Studio and press Ctrl + Shift + P (or navigate to Debug > Other Debug Targets > Debug Windows Phone Internet Explorer).
Related
I have made an app that targets Windows 8.1, and on my phone i am running Windows 10 Mobile Insider Preview. Now while debugging with the emulator and the device i had no problems with the app, but i believe since the app is not showing up on Windows Store (App is in the store, published earlier today) while browsing with my phone it could have something to do with my version of Windows on the phone.
As the title says, can i make a project in VS2013 that targets both Windows 10 Mobile and Windows Phone 8.1 (or even 8?), and does Windows 10 Mobile find Windows 8.1 Apps in store?
You don't need to do anything special. An app targeting 8.1 would show up in the new store, and anyone would be able to download it.
It's possible that your app just hasn't been published yet. The publishing process takes quite a while, from hours to a day or two. Check out your store dashboard to verify your app's progress.
Windows Phone 8.1 Apps will show up in the Windows 10 Store automatically.
It takes 1-2 day to be searchable on store. If it doesn't, contact Windows Store support, through dev portal, and report the issue. https://dev.windows.com/en-us/community/windows-app-support
If you want to make use of the Universal Windows Platform which is new to Windows 10 (including Mobile), then that particular app wouldn't run on Windows Phone 8.1. If you're not dependent on Windows 10 specific APIs or functionalities, then you could consider targeting Windows Phone 8.1 as Universal App.
You can also create a solution with a shared project in Visual Studio 2015 (free in the community edition, in case you're up for switching over) - in that case you can have a Windows 10 (Mobile) specific binary as well as a Windows Phone 8.1 version that share some code - this would be the best of both worlds in term of target system optimisation, maintainability and avoiding code duplication.
There is a nice step-by-step guide: http://www.c-sharpcorner.com/UploadFile/7ca517/shared-project-an-impressive-features-of-visual-studio-201/
I'm running Weinre on Mac. I have an HTML5-based Windows app installed on a Windows phone. If I try to access my app via the browser inside the Windows phone, I am able to detect the app on Weinre without any problems. However, if I open the actual installed Windows app (not via the browser), I can't see my app listed on Weinre. What could be the error and how do I fix it?
Note: I'm using Chrome as my debug client. The model of the phone I'm using is Nokia Lumia 925 (Windows Phone 8.1).
Thanks in advanced!
It may be a lot of work, but if you install Windows in a VM, you could use Visual Studio: http://blogs.msdn.com/b/davrous/archive/2014/07/21/how-to-remotely-debug-and-profile-the-performance-of-your-html5-websites-amp-apps-on-windows-phone.aspx
Opened windows phone Emulator(start >> programs >> Windows Phone SDK 7.1 >> Windows Phone Emulator) and then trying to run Windows Phone 7 app in visual Studio 2010, this is trying to open new emulator, is there anyway to run the app in opened emulator (OR something like attach debug process)
-Edit:
my actual Problem is when i try to run on the emulator, it says "Error:Invalid or missing Rom image", and i found the solution on the net as "permanently delete .dess file under C:\ProgramData\Microsoft\XDE path" i tried this but no luck since there is no as such file. (but strange is that sometime back it was running properly :-p)
Open an instance of Visual Studio, add a Windows Phone specific project, and then run it. If the Windows Phone SDK was successfully installed, the demo app should run correctly inside the emulator. The emulator is opened automatically by Visual Studio, you do not have to start it manually from the folder it is installed in.
I'm trying to test a mobile website I'm building using Windows Phone 7, but I can't figure out how to do it. It seems that the SDK wants me to build an application first in order to use the emulator, but I'm not building an app, I simply want to test compatibility of my mobile site with windows phones. How do I do this?
If you install the free Windows Phone SDK you can run an emulator in standalone mode (i.e. without Visual Studio running).
Search for "Windows Phone Emulator" from the Start menu and just launch that directly.
Once in the emulator about the only thing you can do is launch IE Mobile.
(To enter URLs and other text using your real computer keyboard instead of the onscreen keyboard tap your "Pause/Break" to toggle keyboard mode)
You should be able to run emulator without building an app
try C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Tools\XDE Launcher\XdeLauncher.exe
If now start visual studio and make an app f.e. Silverlight for Windows 7. Emulator will be loaded with debbuger attached. If you stop the app in VS, emulator should be still there. It has preinstalled IE which you can use to test.
Mind that it's better to test your web app on a real device.
I'm doing some development for windows mobile phone 7. I have the emulator installed and can deploy and debug the application. However, I'm getting random application crashes that I'm trying to debug. When I've worked with other emulators, there are log files that give log details from system libraries and other framework components that are being used.
Are there any such logs with mobile emulator?
Is it the emulator that is crashing? Or the application?
If its the application, then you should be able to use the VS2010 debugger with "break on exceptions" turned on and with intellitrace options.
If its the emulator, then sorry - but I don't know of any log files available.