locked
How get metro app's icon?

    Question

  • I want to get metro app's icon, as taskmanager, how to do I will?

    thanks!

    Tuesday, January 31, 2012 4:55 AM

Answers

  • The operating system can do it because it is not sandboxed for security.  Metro style apps are sandboxed and cannot make the same calls that a non Metro style app can make.
    Jeff Sanders (MSFT)
    • Proposed as answer by Bob_Bao Tuesday, January 31, 2012 4:04 PM
    • Marked as answer by hot_blood2001 Wednesday, February 1, 2012 1:48 AM
    Tuesday, January 31, 2012 12:53 PM
    Moderator
  • Hi hot_blood,

    Metro style apps cannot interact with each other in this way.

    --Rob

    • Marked as answer by hot_blood2001 Wednesday, February 1, 2012 1:48 AM
    Tuesday, January 31, 2012 7:58 AM
    Owner

All replies

  • are you asking how to get the displayed icon? or how to get YOUR icon displayed?

    the later, you will create and add to your appxmanifest file

    Tuesday, January 31, 2012 6:38 AM
  • I want to get any other metro app's icon.
    Tuesday, January 31, 2012 7:17 AM
  • Hi hot_blood,

    Metro style apps cannot interact with each other in this way.

    --Rob

    • Marked as answer by hot_blood2001 Wednesday, February 1, 2012 1:48 AM
    Tuesday, January 31, 2012 7:58 AM
    Owner
  • thanks for reply.

    But why "Task Manager" and "metro style search panel" can get metro app's icon? how to do it is?

    thanks!


    Tuesday, January 31, 2012 8:21 AM
  • The operating system can do it because it is not sandboxed for security.  Metro style apps are sandboxed and cannot make the same calls that a non Metro style app can make.
    Jeff Sanders (MSFT)
    • Proposed as answer by Bob_Bao Tuesday, January 31, 2012 4:04 PM
    • Marked as answer by hot_blood2001 Wednesday, February 1, 2012 1:48 AM
    Tuesday, January 31, 2012 12:53 PM
    Moderator