GPII Integration
Integrating Your Application
• You can usually integrate your app without
writing any code
• Simply describe:
1. Which pla...
Basic Structure:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.magnifier",
"contexts": (…),
...
Give your application a name and a unique ID:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows....
Describe the platforms your application runs on:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windo...
Describe how your app stores its settings:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.mag...
Describe how to start and stop your app:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.magni...
AccessForAll & Common Terms
• AccessForAll a.k.a. ISO 24751
• Open registry-based architecture in
progress
• Provides a co...
{
"http://registry.gpii.org/common/magnification": [
{"value": 3.0}
],
"http://registry.gpii.org/common/tracking": [
{"val...
{
"http://registry.gpii.org/common/magnification": [
{"value": 3.0}
],
"http://registry.gpii.org/common/tracking": [
{"val...
“$HKEY_CURRENT_USERSoftwareMicrosoftScreenMagnifier”: {
“Magnification”: 200, [REG_DWORD INT]
“Invert”: 1 [REG_DWORD BOOL]...
Defining how to translate and set settings:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.ma...
Defining how to translate and set settings:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.ma...
Defining how to translate and set settings:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.ma...
Defining how to translate and set settings:
{
"name": "Windows Built-in Screen Magnifier",
"id": "com.microsoft.windows.ma...
Next Steps
Get Involved
If you’re a developer, designer, tester,
user, writer, organizer, maker, thinker,
tinkerer, drawer, doer, hel...
Community
Website
Wiki
Mailing lists
Source code
Issue tracker
Chat
gpii.net
wiki.gpii.net
lists.gpii.net
github.com/gpii
...
How to integrate with GPII
How to integrate with GPII
How to integrate with GPII
Upcoming SlideShare
Loading in …5
×

How to integrate with GPII

699 views

Published on

The Global Public Inclusive Infrastructure will provide a platform that will allow any platforms, applications and devices to automatically activate their accessibility features. Any ICT solution can integrate with the GPII in an easy way, therefore becoming automatically launchable and configurable. This presentation describes the steps needed to integrate any ICT solutions with the GPII.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
699
On SlideShare
0
From Embeds
0
Number of Embeds
196
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to integrate with GPII

  1. 1. GPII Integration
  2. 2. Integrating Your Application • You can usually integrate your app without writing any code • Simply describe: 1. Which platforms you support 2. How you store your settings 3. How to launch and stop your application 4. How your settings relate to a common vocabulary
  3. 3. Basic Structure: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers": (…), "lifecycleManager": (…) }
  4. 4. Give your application a name and a unique ID: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers": (…), "lifecycleManager": (…) }
  5. 5. Describe the platforms your application runs on: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": { "OS": [ { "id": "win32", "version": ">=5.0" } ] }, "settingsHandlers": (…), "lifecycleManager": (…) }
  6. 6. Describe how your app stores its settings: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers": [ { "type": "gpii.windows.registrySettingsHandler", "options": { "hKey": "HKEY_CURRENT_USER", "path": "SoftwareMicrosoftScreenMagnifier" }, "capabilitiesTransformations": (…) }, {...} ], "lifecycleManager": (…) }
  7. 7. Describe how to start and stop your app: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers": (…), "lifecycleManager": { "start": [ "setSettings", { "type": "gpii.launch.exec", "command": "${{environment}.SystemRoot}System32Magnify.exe" } ], "stop": [ { "type": "gpii.launch.exec", "command": "${{environment}.SystemRoot}System32taskkill.exe /im Magnify.exe" }, "restoreSettings" ] } }
  8. 8. AccessForAll & Common Terms • AccessForAll a.k.a. ISO 24751 • Open registry-based architecture in progress • Provides a common vocabulary for describing a user’s needs and preference • Provides a “meeting place” for cross- platform preferences • Philosophy: you speak your preferred language, but describe how to translate
  9. 9. { "http://registry.gpii.org/common/magnification": [ {"value": 3.0} ], "http://registry.gpii.org/common/tracking": [ {"value": "mouse"} ], "http://registry.gpii.org/common/invertImages": [ {"value": true} ] } Eexample preferences set:
  10. 10. { "http://registry.gpii.org/common/magnification": [ {"value": 3.0} ], "http://registry.gpii.org/common/tracking": [ {"value": "mouse"} ], "http://registry.gpii.org/common/invertImages": [ {"value": true} ] } … But the windows magnifier stores magnification as a percentage
  11. 11. “$HKEY_CURRENT_USERSoftwareMicrosoftScreenMagnifier”: { “Magnification”: 200, [REG_DWORD INT] “Invert”: 1 [REG_DWORD BOOL], "FollowMouse": 1 [REG_DWORD BOOL] }
  12. 12. Defining how to translate and set settings: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers”: [ { ... "capabilitiesTransformations": { "Magnification": { "transform": { "type": "gpii.transformer.linearScale", "inputPath": "http://registry.gpii.org/common/magnification", "outputPath": "value", "factor": 100 } }, ...
  13. 13. Defining how to translate and set settings: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers”: [ { ... "capabilitiesTransformations": { "Magnification": { "transform": { "type": "gpii.transformer.linearScale", "inputPath": "http://registry.gpii.org/common/magnification", "outputPath": "value", "factor": 100 } }, ... Take this preference
  14. 14. Defining how to translate and set settings: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers”: [ { ... "capabilitiesTransformations": { "Magnification": { "transform": { "type": "gpii.transformer.linearScale", "inputPath": "http://registry.gpii.org/common/magnification", "outputPath": "value", "factor": 100 } }, ... Take this preference Rename it to this setting
  15. 15. Defining how to translate and set settings: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers”: [ { ... "capabilitiesTransformations": { "Magnification": { "transform": { "type": "gpii.transformer.linearScale", "inputPath": "http://registry.gpii.org/common/magnification", "outputPath": "value", "factor": 100 } }, ... Rename it to this setting Scale it Take this preference
  16. 16. Next Steps
  17. 17. Get Involved If you’re a developer, designer, tester, user, writer, organizer, maker, thinker, tinkerer, drawer, doer, helper... We need you!
  18. 18. Community Website Wiki Mailing lists Source code Issue tracker Chat gpii.net wiki.gpii.net lists.gpii.net github.com/gpii issues.gpii.net #fluid-work (freenode)

×