Your SlideShare is downloading. ×
How to integrate with GPII
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

How to integrate with GPII

280
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 …

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
280
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. GPII Integration
  • 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. Basic Structure: { "name": "Windows Built-in Screen Magnifier", "id": "com.microsoft.windows.magnifier", "contexts": (…), "settingsHandlers": (…), "lifecycleManager": (…) }
  • 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. 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. 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. 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. 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. { "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. { "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. “$HKEY_CURRENT_USERSoftwareMicrosoftScreenMagnifier”: { “Magnification”: 200, [REG_DWORD INT] “Invert”: 1 [REG_DWORD BOOL], "FollowMouse": 1 [REG_DWORD BOOL] }
  • 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. 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. 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. 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. Next Steps
  • 17. Get Involved If you’re a developer, designer, tester, user, writer, organizer, maker, thinker, tinkerer, drawer, doer, helper... We need you!
  • 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)

×