locked
Customize charms / use only specific charms I need for my app

    Question

  • Hello,

    Im a Program Manager in MS Academy group. My team is currently trying to develop a metro app for Academy and I would like to have some pointers on the below issue or contacts who can help us out with the below issue.

    "Search" is one of the features we would like to incorporate in our app for this release, however we dont want to have the other charms i.e: Share/devices/start/settings . Do these functionalities have independent contracts so we can pick and choose what we would like to have in our app or all these functionalities come as a package in one contract.

    If these are independent contracts is my assumption correct that the UI will either not show the icons or the icon will be grayed out for the ones that we didnt sign up for.

    Your help is much appreciated!

    Friday, June 1, 2012 7:40 PM

Answers

  • Hi Suhasini,

    Your app cannot control which charms appear: they will always be available and most have scope beyond just your app (share is the only one which doesn't do anything without your app's support).

    There are contracts available to provide sharing from your app and a settings pane.

    --Rob

    Friday, June 1, 2012 7:55 PM
    Owner
  • Yes you're right. The charms will always be displayed (all items, because they're part of the OS), but it's up to the developer to use the contract in his app. If you don't implement the appropriate contract nothing will happen, f.e. if you don't implement the share contract and you tap the share icon, a message like "This app can't share" will appear.

    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Friday, June 1, 2012 9:26 PM

All replies

  • Hi Suhasini,

    Your app cannot control which charms appear: they will always be available and most have scope beyond just your app (share is the only one which doesn't do anything without your app's support).

    There are contracts available to provide sharing from your app and a settings pane.

    --Rob

    Friday, June 1, 2012 7:55 PM
    Owner
  • So if I understand you right the charms exist in the charm bar, its upto the app developer to create a contract and  make use of them?
    Friday, June 1, 2012 8:16 PM
  • Yes you're right. The charms will always be displayed (all items, because they're part of the OS), but it's up to the developer to use the contract in his app. If you don't implement the appropriate contract nothing will happen, f.e. if you don't implement the share contract and you tap the share icon, a message like "This app can't share" will appear.

    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Friday, June 1, 2012 9:26 PM
  • Has your question been answered? If so please mark the appropriate post as answer so other community members with a similar question can find help faster.

    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Sunday, June 10, 2012 12:44 AM