SlideShare a Scribd company logo
1 of 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

More Related Content

Similar to 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
 

Similar to 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
 

Recently uploaded

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Recently uploaded (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

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