Phone7.Fx adds camera detected capability to marketplace

Dec 23, 2011 at 10:53 PM
Edited Dec 23, 2011 at 11:27 PM

When referencing the Phone7.Fx assembly in a new clean Windows Phone project, the camera capablility is added to the application.

You can check this by uploading the XAP file to the marketplace. Click next and then previous.
You'll return to the upload page with a list of detected capabilities.
Detected capabilities: data services, Silverlight framework, camera

The camera capability is a problem here. I don't want to have that in my app if I'm not using camera functionality.
The weird thing is, using the visual studio marketplace test kit, the camera capability is not detected.

Move the code that is using the camera API to a second assembly.

Also see my blog post about this issue:
Check your Windows Phone application capabilities


 

Mar 14, 2012 at 1:45 AM

Just add:

public

partial class App : Application
{
  
PhotoCamera cam = null ;
   ....

to "force" the marketplace capability routine to correctly detect it ;)

Mar 14, 2012 at 8:11 AM

Please read the original message. I don't want the camera capability, because I'm not using it.

Sep 22, 2012 at 1:17 PM

Hi,

I did a small research on this.


It is not Phone7.Fx who adds the ID_CAP_ISV_CAMERA capabillity.

Phone7.Fx uses Gala Soft Mvvm light and this library adds camera capability. I solved this so that I downloaded the source code from both projects and added them by need.

My application uses only Microphone capability now.