SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Windows Gadgets Package
sahib.babbar@gmail.com
CONTENT
Overview on Sidebars Gadgets
Developing a Gadget for Windows Sidebar
- Introduction
-The Files
-Steps
Scripts and its function
Proposed Gadgets
Bibliography
sahib.babbar@gmail.com
Windows Gadgets Package
Windows Sidebar and gadgets (overview)
Windows Sidebar is a long, vertical bar that is displayed on the side
of your desktop. It contains mini-programs called Gadgets, which
offer information at a glance and provide easy access to frequently
used tools.
Why use Sidebar?
Sidebar can keep information and tools readily available for you to use.
For example, you can display news headlines right next to your open
programs. This way, if you want to keep track of what's happening in
the news while you work, you don't have to stop what you're doing to
switch to a news website, apart from that you can do much more…
sahib.babbar@gmail.com
Developing a Gadget for Windows Sidebar
Introduction
Gadgets are lightweight HTML and script-based applications that
provide the ability to derive and present information or functionality
from a variety of sources, such as local applications and controls, or
websites and services.
Developers with experience authoring WebPages will find the process
of creating a gadget very familiar.
Windows Gadgets Package
sahib.babbar@gmail.com
Windows Gadgets Package
Developing a Gadget for Windows Sidebar
The Files
A basic gadget consists of two files:
1. Gadget.xml - The manifest, an XML file
that contains general configuration and
presentation information for the gadget.
1. name.html - An HTML file, where name is
specified in the <name> tag of the
associated gadget manifest, that provides
the shell for the gadget UI and contains the
core functionality for the gadget.
sahib.babbar@gmail.com
Windows Gadgets Package
Developing a Gadget for Windows Sidebar
The Files
A basic gadget consists of two files:
1. Gadget.xml - The manifest, an XML file
that contains general configuration and
presentation information for the gadget.
1. name.html - An HTML file, where name is
specified in the <name> tag of the
associated gadget manifest, that provides
the shell for the gadget UI and contains the
core functionality for the gadget. Know more
Why XML?
The gadget "manifest" is an XML file that contains general configuration and presentation
information for a gadget. This information is presented to the user through the Gadget
Picker as gadget and developer details, along with various functional or informational icons.
Each gadget package must include a manifest.
•Sample Code
•Outlook
Source: http://msdn.microsoft.com/en-us/library/windows/desktop/ff486356(v=vs.85).aspxsahib.babbar@gmail.com
Windows Gadgets Package
sahib.babbar@gmail.com
Windows Gadgets Package
Developing a Gadget for Windows Sidebar
The Steps
In general, the steps for creating a gadget are:
1. Create a development folder to contain the gadget files.It is generally good practice to
give the development folder the same name as the gadget it hosts, with the added
extension of .gadget. For example, if your gadget's name is "Test" then the development
folder should be named "Test.gadget". This reduces naming confusion later when it
comes time to install the gadget. However, the development folder can have any name
you wish.
Similarly, the development folder can be located anywhere. However, during development
and testing it is typically more efficient to place the folder in one of the system folders
associated with the Sidebar:
%USERPROFILE%AppDataLocalMicrosoftWindows SidebarGadgets (for user gadgets)
%SYSTEM_ROOT%Program FilesWindows SidebarGadgets (for global gadgets)
The following image shows a gadget development folder in the
%USER_DATA%LocalMicrosoftWindows SidebarGadgets folder.
sahib.babbar@gmail.com
Windows Gadgets Package
Developing a Gadget for Windows Sidebar
The Steps (cont…)
2. Create the manifest file and save it to the development folder. For more information on
the gadget manifest.
3. Create the core .html file and save it to the development folder.
Sample Code
4. Install the gadget, if necessary. Depending on where you created your development
folder, you may need to copy the folder or its content to one of the two previously
identified Sidebar system folders. Alternatively, you may want to package the gadget
for general distribution and test the gadget installation process.
5. Test the gadget and make revisions as necessary.
sahib.babbar@gmail.com
Windows Gadgets Package
Scripts and its functions
A gadget is distributed as a .gadget file—a renamed .zip archive—consisting of a
collection of XML, HTML, Microsoft JScript, and Cascading Style Sheets (CSS) files.
Installation consists of downloading the .gadget file and allowing the download
process to install the gadget or saving the .gadget file to the local system and double-
clicking to start the installation process.
Example :- System Shutdown Gadget
sahib.babbar@gmail.com
Windows Gadgets Package
Proposed Gadget Package (Comprises of 5 Gadgets):-
1. Windows Shortcuts Gadget.
2. Windows Shutdown, Restart, Standby, and Hibernate Gadget.
3. Windows Computer Status.
4. Internet Search engines.
5. Windows Task Manager Gadget.
sahib.babbar@gmail.com
Source
http://msdn.microsoft.com/en-us/library/windows/desktop/ff486356(v=vs.85).aspx
Bibliography
sahib.babbar@gmail.com
Windows Gadgets Package
Any Question?
Thank You
sahib.babbar@gmail.com

Weitere ähnliche Inhalte

Ähnlich wie Gadgets Windows

Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic conceptsmelody77776
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginnerSalim M
 
Lec005 android start_program
Lec005 android start_programLec005 android start_program
Lec005 android start_programEyad Almasri
 
Expanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityTeamstudio
 
Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development Mage Guru
 
Android application structure
Android application structureAndroid application structure
Android application structureAlexey Ustenko
 
.NET Recommended Resources
.NET Recommended Resources.NET Recommended Resources
.NET Recommended ResourcesGreg Sohl
 
Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Amit Saxena
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with JoomlaAnand Sharma
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialAbid Khan
 
WRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirWRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirpetrosoininen
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 

Ähnlich wie Gadgets Windows (20)

Vb basics
Vb basicsVb basics
Vb basics
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
 
Lec005 android start_program
Lec005 android start_programLec005 android start_program
Lec005 android start_program
 
Expanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate Usability
 
Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development
 
Android application structure
Android application structureAndroid application structure
Android application structure
 
.NET Recommended Resources
.NET Recommended Resources.NET Recommended Resources
.NET Recommended Resources
 
Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1
 
unit 4.docx
unit 4.docxunit 4.docx
unit 4.docx
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with Joomla
 
Visual Programming
Visual ProgrammingVisual Programming
Visual Programming
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Android Development Basics
Android Development BasicsAndroid Development Basics
Android Development Basics
 
WRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirWRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAir
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajib
 

Kürzlich hochgeladen

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Gadgets Windows

  • 2. CONTENT Overview on Sidebars Gadgets Developing a Gadget for Windows Sidebar - Introduction -The Files -Steps Scripts and its function Proposed Gadgets Bibliography sahib.babbar@gmail.com
  • 3. Windows Gadgets Package Windows Sidebar and gadgets (overview) Windows Sidebar is a long, vertical bar that is displayed on the side of your desktop. It contains mini-programs called Gadgets, which offer information at a glance and provide easy access to frequently used tools. Why use Sidebar? Sidebar can keep information and tools readily available for you to use. For example, you can display news headlines right next to your open programs. This way, if you want to keep track of what's happening in the news while you work, you don't have to stop what you're doing to switch to a news website, apart from that you can do much more… sahib.babbar@gmail.com
  • 4. Developing a Gadget for Windows Sidebar Introduction Gadgets are lightweight HTML and script-based applications that provide the ability to derive and present information or functionality from a variety of sources, such as local applications and controls, or websites and services. Developers with experience authoring WebPages will find the process of creating a gadget very familiar. Windows Gadgets Package sahib.babbar@gmail.com
  • 5. Windows Gadgets Package Developing a Gadget for Windows Sidebar The Files A basic gadget consists of two files: 1. Gadget.xml - The manifest, an XML file that contains general configuration and presentation information for the gadget. 1. name.html - An HTML file, where name is specified in the <name> tag of the associated gadget manifest, that provides the shell for the gadget UI and contains the core functionality for the gadget. sahib.babbar@gmail.com
  • 6. Windows Gadgets Package Developing a Gadget for Windows Sidebar The Files A basic gadget consists of two files: 1. Gadget.xml - The manifest, an XML file that contains general configuration and presentation information for the gadget. 1. name.html - An HTML file, where name is specified in the <name> tag of the associated gadget manifest, that provides the shell for the gadget UI and contains the core functionality for the gadget. Know more Why XML? The gadget "manifest" is an XML file that contains general configuration and presentation information for a gadget. This information is presented to the user through the Gadget Picker as gadget and developer details, along with various functional or informational icons. Each gadget package must include a manifest. •Sample Code •Outlook Source: http://msdn.microsoft.com/en-us/library/windows/desktop/ff486356(v=vs.85).aspxsahib.babbar@gmail.com
  • 8. Windows Gadgets Package Developing a Gadget for Windows Sidebar The Steps In general, the steps for creating a gadget are: 1. Create a development folder to contain the gadget files.It is generally good practice to give the development folder the same name as the gadget it hosts, with the added extension of .gadget. For example, if your gadget's name is "Test" then the development folder should be named "Test.gadget". This reduces naming confusion later when it comes time to install the gadget. However, the development folder can have any name you wish. Similarly, the development folder can be located anywhere. However, during development and testing it is typically more efficient to place the folder in one of the system folders associated with the Sidebar: %USERPROFILE%AppDataLocalMicrosoftWindows SidebarGadgets (for user gadgets) %SYSTEM_ROOT%Program FilesWindows SidebarGadgets (for global gadgets) The following image shows a gadget development folder in the %USER_DATA%LocalMicrosoftWindows SidebarGadgets folder. sahib.babbar@gmail.com
  • 9. Windows Gadgets Package Developing a Gadget for Windows Sidebar The Steps (cont…) 2. Create the manifest file and save it to the development folder. For more information on the gadget manifest. 3. Create the core .html file and save it to the development folder. Sample Code 4. Install the gadget, if necessary. Depending on where you created your development folder, you may need to copy the folder or its content to one of the two previously identified Sidebar system folders. Alternatively, you may want to package the gadget for general distribution and test the gadget installation process. 5. Test the gadget and make revisions as necessary. sahib.babbar@gmail.com
  • 10. Windows Gadgets Package Scripts and its functions A gadget is distributed as a .gadget file—a renamed .zip archive—consisting of a collection of XML, HTML, Microsoft JScript, and Cascading Style Sheets (CSS) files. Installation consists of downloading the .gadget file and allowing the download process to install the gadget or saving the .gadget file to the local system and double- clicking to start the installation process. Example :- System Shutdown Gadget sahib.babbar@gmail.com
  • 11. Windows Gadgets Package Proposed Gadget Package (Comprises of 5 Gadgets):- 1. Windows Shortcuts Gadget. 2. Windows Shutdown, Restart, Standby, and Hibernate Gadget. 3. Windows Computer Status. 4. Internet Search engines. 5. Windows Task Manager Gadget. sahib.babbar@gmail.com
  • 13. Windows Gadgets Package Any Question? Thank You sahib.babbar@gmail.com