I have a program called Cam & Weather and I am supporting Windows Phone 7.x and Windows Phone 8 platform. This application uses camera. What I'd like to have in the next version is to detect a device if running in Windows Phone 8, so I can register the application for Camera Lens.
I'd like to know how to do this? IF the user installed the application in Windows Phone 8, How do you register the application for Camera Lens?
Thanks
You can't support Lenses with an app that targets both Windows Phone 7 & Windows Phone 8 with the same XAP.
You will have to upgrade your project to Windows Phone 8 in order to use the new APIs.
If you still want to maitnain a WP7 version of the app, you should look at the options listed here.
Related
I wanted to make an app in windows phone that takes in pen-computing input. Is there existing code infrastructure (templates and such) in the Windows Phone API that is available to the Windows Phone developer?
What I mean by pen-computing input is hand-writing input by users' fingers, giving us input like this:
Unluckily for Windows Phone 8 and Windows phone 8.1 InkManager class is not supported currently, so capturing handwritten input aint possible.
Though it works for windows 8 and 8.1 store apps which you can implement through Tutorial1 and Tutorial2
If you are focusing Windows phone would suggest to make app for Windows 10. They have release a better version of InkCanvas which is better than InkManager and works both store and phone apps being UWP. Check out this link for details on InkCanvas
Is it possible to control LED's of a windows phone from a windows phone metro style application ?
I am just working on an application that will ON/oFF the LED . Does microsoft provide any APIs to ON/OFF the notification LED of the windows phone ?
Currently, this is not supported as most Windows Phones (especially Nokia/Microsoft) don't contain notification LEDs.
However, according to this link, it looks like this will be a feature supported by future Windows 10 (phone) hardware.
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.
I am planning to put the device in loudspeaker mode from my win phone application. (Like on click of some button)
Are there any APIs or workarounds to do so on Windows Phone 7.1?
There is no API available to control a loud speaker or speaker phone mode.
You can only control the relative volume of any sound you're directly playing.
I am developing for Windows Phone 7.
My application uses GeoCoordinateWatcher to detect user current position.
Now my client is asking me to test GPS functionality. But i don't have Windows Phone 7 mobile available here. I want to connect a GPS receiver with my laptop and somehow connect that to Windows Phone 7 emulator so the emulator would receive the data from my USB GPS receiver.
Is it possible?
You can try Kevin D. Wolf's GPS simulator for Windows Phone 7.
It will allow you to test the GPS fonctionality of your app without any GPS device.