My question is similar to Detect Proximity Sensor Events in Windows Phone 8 question.
I am developing a voip app in windows phone 8 which I want to turn off screen when user tries to hear through earpiece during call.
I checked in Voip Chatterbox sample app and it is working fine there, but I am unable to find the code section where they did it.
Any help would be appreciated.
Just add ID_CAP_SENSORS Capability in WMAppManifest.xml.It should work as expected then.
Related
I have to create calculator in windows phone 8.
I need api or DLL to call it from windows phone 8.
Is it available calculator for WP8?
Any reference or idea should help me a lot.
Thanks in advance.
I'm afraid this is not possible with the Windows Phone 8 SDK: for launching apps/services, you need to use Launchers but in the launchers list, there isn't the calculator.
On Windows Phone 8 where you have access to more launchers via URI schemes, there is no way to launch the calculator.
It seems like you will need to create your own calculator. Like an exciting one shown here:
http://developer.nokia.com/community/wiki/Speech_Enabled_Calculator_For_Windows_Phone_8
I recently started doing some development in the Windows Phone 8 OS I'm pretty new on this. I was doing some searching about the fact to create an app who play any audio for some specific events/actions.
I was reading the Windows Phone API reference from Windows Phone Dev Center http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626516%28v=vs.105%29.aspx#BKMK_Win32andCOMAPIforWindowsPhone
But it seems a little confusing to me at first glance and I have the doubt of which one of the following should I use to accomplish my task.
The .Net API for Windows Phone
Win 32 and COM API
... or the Windows Phone Runtime API
Any help would be very appreciate
It really depends what you're trying to do. If you're writing a native application or are interested in cross-compatability with Windows 8 then XAudio2 or the WinRT APIs are definitely the way to go. If you just want to play some infrequent sounds (say, when you pop up a warning dialog) from within a XAML app then I have seen a number of approaches, teh easiest of which is probably just having a MediaElement in your XAML that you use to play the audio.
I am a little confused with the two apps, Windows 8 (which run only on Windows 8 OS?) and Windows Phone Apps.
Based on the marketing I heard around windows 8, I assumed an app available on Windows 8 would automatically be available on windows phone?
I am assuming this is not the case after searching around, because I see a windows app store (which I assume only includes windows 8 apps), and the windows phone.
Assuming my assumptions are correct, do you need to buy a developer licence for both windows 8 app store and windows phone store?
Is it as simple as submitting your windows 8 app that was created through windows phone, or is there additional configuration or development that needs to be done? Assuming that you don't care about resolutions or functionality.
Thanks for any clarification.
*Additional question,
Where does Windows tablets running windows RT and or non RT fall into all this? Are they windows apps I'm assuming?
Hope it helps you. As the store licences are unified (WP8 and Windows 8), the development remains different http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/11/06/unifying-developer-registration-windows-and-windows-phone.aspx
Yes you are correct Both the platforms need seperate Developer Accounts one for the Windows Store Apps and one For the Windows Phone Apps..and yes both the Apps are different you have to develop both the Apps Separately and submit them to the respective market separately only then would it be available in the respective markets.
Separate Developer Accounts for the Windows Store Apps and Phone are no longer required. If you have a App Store account, you should now see that you can register up to 3 phones without a separate registration process.
IF you have a developer account, VS2013, and a windows 8 phone plugged into USB, an easy way to be guided through the process is to create a new project and select a W8 Phone sample. Specify that you want to debug using a Device (as opposed to an emulator). You will get a Device is not registered for development dialog with a link to instructions.
As mentioned in other post, things have been streamlined so W8 and W8 phone mostly overlap APIs, and you can probably use the same source, but will need build separate outputs.
I'd like to copy some images to the windows phone 8 emulator, but can't seem to find a way to do this.
I was hoping when the emulator was running I would be able to access certain directorys via windows as per a real device.
Any ideas, I can't help thinking I'm missing something.
Cheers
I recently detailed how to do that in that blog post:
How to add images on the Windows Phone emulator
Check power tools.You can copy images with this tool.
http://wptools.codeplex.com/
It is somehow possible to observe foreground applications in Windows Phone 8?
Observe the name of the opened app and maybe time of opening and closing.
Thanks a lot in advance.
There's no API in the WP8 SDK that would return that information. If that's a feature you'd like to see in future releases go to the wpdev uservoice, explain you usecase and get developers to vote on it.