What would be the command and where is located in order to use the phone's camera capabilities?
I want to create a camera based application, and as a beginner, I don't know how to put it in the application. I have activated the ID_CAP_ISV_CAMERA from the WMAppMAnifest.xml so the access to the hardware is granted, but I can't find the command or string to integrate in my app.
I am using Visual Studio Ultimate 2013
I think this tutorial should help you create your application sucessfully !
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202956(v=vs.105).aspx
It applies to both Windows Phone 8 and 7.1 as well
Also , you can read about the main Camera API from here
http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.devices.photocamera(v=vs.105).aspx
Good Luck !
Related
I started developing a WinUI 3 application from scratch to Windows 11 to publish to the Microsoft Store but i can't find any option in Visual Studio to create the package and upload. I developed several UWP applications for Windows 10 and never had any problems. In WinUI 3 is different? Can someone help me? please
Thank you!
I had the same problem too. On creating your project you have to choose the template that says "Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop)". Then you should see the store options again.
I first tried "Blank App, Packaged (WinUI 3 in Desktop)", did not seem to give me the option even though it seems to mention the Microsoft store in the description.
Edit:
The other thing I didn't mention is you have to do the publish from the package project not from the main one.
Select the "Package and Publish" option further down the pop-up
i was trying to submit my app to the Windows Phone Store, but i got these errors:
In Visual Studio 2013, i compiled the solution as release and not as debug. One of those Microsoft's links (the first error) suggests to add a flag to the linker, but i didn't manage to do that.
Also, the second one regards a bunch of unsupported APIs that i didn't even include in my project. Did someone face the same issue?
Thanks
Please check thirdparty libraries or you code for some API which not allowed for Windows Phone 8.1 Store Apps
For example, I added Flurry WP8.0 SDK in my WP8.1 Store App and I have the same problems. After that I removed Flurry and Store accepted my App
I am working on text to speech conversion in windows 8.1 (silverlight) and i need to access the SynthesizeTextToStreamAsync method for which I need to add reference to Windows.media.speechSynthesis. I am unable to add this reference to my project
it shows me error message as
A reference to a higher version or incompatible assembly cannot be added to the project.
I am currently using Visual studio 2013 professional version. Can someone please help me out with this issue?
Look at MSDN, it is only supported in 8.1 XAML apps, not in 8.1 Silverlight apps.
I'm creating an app using the universal app template from visual studio 2013 update 2 and I'm trying to add Admob SDK. However, when I try to compile even before adding the adView control to a page I receive an error saying that this kind of project cannot have an adcontrol.
Does anyone know a solution for this?
As for now AdMob library contains only Silverlight components. So it is not compatible with WinRT and Windows Phone 8.1 apps. The only alternative for now is Microsoft's pubCenter, which is limited to list of countries.
Also you can use AdDuplex - it is not exactly for earning but for promoting your app.
I understood Silverlight was drop by MS.
I create my first app permitting to read RSS in WindowsPhone and I need to add a reference to System.ServiceModel.Syndication.dll. In the doc http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh487167(v=vs.105).aspx, I need to find this lib in Microsoft SDKs/Silverlight/v4.0/Libraries/Client/.Why should I do it? Why I can't add directly a lib from the standard .net4?
Can you help me to understand.
[UPDATE]
When I add the lib from C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\
Visual Studio shows a windows "Adding reference to Windows Phone XNA assembly is safe. However adding reference to a silverlight assembly may lead to unexpexted application behavior. Do you want to continue.
So my assumption is this lib shoudn't be use but I don't find another way.
Maybe by add a ref from .Net 4 or 4.5.
Best regards,
Alexandre
The Windows Phone 7 SDK was built on top of Silverlight. For Windows Phone 8 this was changed so that there isn't a direct history with Silverlight but it was based on WinRT instead. Lots of functionality was made available to Silverlight controls to support backwards compatibility with apps written for 7.
Because WinRT is not compatible with classes written for the full version of the framework you cannot use these in your Windows Phone apps.
The warning you are getting is just a warning. It's telling you that your doing something that isn't an ideal and so you may have issues. Unfortunately there are no other versions of the SyndicationFeed object available to Windows Phone apps so you'll need to use this library if you want the functionality of SyndicationFeed without recreating it yourself. The good news is that there are no issue with using this class in your app. Just be sure to test carefully, on real devices, if you start to use other functionality from that assembly because, as the warning says: "there may be unexpected behaviour".