windows phone application development - windows

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.

Related

Pen Computing App Development in Windows Phone

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

Enable camera lens IF in WP8 platform

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.

How to turn on LoudSpeaker Mode in Windows Phone 7.1

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.

Simulating touch gestures on XNA in windows

I am developing a game for Windows Phone 7 using XNA, and I have set it up so that it runs as a Windows XNA app as well. The thing that I am having a problem with now is simulating the XNA touch gestures using the mouse in the same way that the Windows Phone 7 emulator does. I can't use the Windows Phone 7 emulator because it refuses to run on my laptop, because the hardware isn't new enough.
Any ideas on where I might either find a library which can translate mouse data to touch gestures, or where I might find enough information to get started without huge amounts of guesswork?
Here is a good article about Gestures (CS)/Gestures (VB).
Article Overview
Compare the Gestures abilities of Windows Phone 7 to other major phone
platforms, and learn how to take both gesture and raw touch input on
Windows Phone 7. This article is a thorough comparison of the gestures
features available across the major phone platforms, and contains code
to support basic touch-based input scenarios.

How can I simulate multi-touch in the Windows Phone 7 emulator?

I’m running the Windows Phone 7 emulator/simulator and I need to simulate the two-finger pinch/zoom gesture. Any tips?
There is a good guide here: http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7
Basically you will need to use the Multi-Touch Vista project on CodePlex available here: http://multitouchvista.codeplex.com/ and 2 mouses mice.
You'll need Windows 7 and a multi-touch monitor; in that setup 2 touchpoints are supported natively by the emulator.
There's no easy software or emulation API support for this.
Laurent Bugnion's MultiTouch library (supports Silverlight 4 WPF, and WP7) enables simulated multitouch in the WP7 emulator.

Resources