Giter Site home page Giter Site logo

khoomelvin / openintents.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openintents/openintents.github.io

0.0 1.0 0.0 25.75 MB

The website of OpenIntents

Home Page: http://www.openintents.org

License: MIT License

HTML 20.59% JavaScript 32.43% CSS 46.94% Ruby 0.04%

openintents.github.io's Introduction

OpenIntents Website

Between 2008 and 2015 the website was using drupal. Since then Github pages are used to decrease the maintance work. The focus is on Intent specifications.

Intent Specification for Writers

An Intent protocol is defined in a file in folder _intent_specs. The file has to be named as <action name>.md.

Start writing by creating a new file

The YAML frontmatter can contain the following properties

Property Description
title Title of the intents protocol
action Action name as it has to be placed in the manifest (same as file name without .md)
constant Java constant that can be used in source code instead of a string, e.g. android.content.Intent.ACTION_VIEW
uri Description what the data uri should contain
type Type of the data
extras List of extras
out Description of the return value, uri and list of extras returned
link Link to a website that describes the intent protocol as well or the use of it
component activity (default) or service or receiver
webintent Url of the web intent equivalent to the Android intent
webwish Url of the web wish equivalent to the Android intent
ios Name and link to ios extension equivalent to the Android intent
author Author of the specification
submitted Date when the specification was submitted to openintents.org
hide_use flag to hide the auto-generated use section in the documentation (should be true for service and receiver)
hide_intent_filter flag to hide auto-generated intent filter example in the documentation
permalink must be set by service and receiver intents as well as specializations of intents (see below)
implemenations List of apps implementing the specification
name Name of specialization of intent (should not be used by main specification)

Extras are defines with the following properties:

Property Description
name Name of extra as it is used as the key
type Java type of extra
description Description of the content of extra
sample Value that should be used as part of the documentation to launch the intent
var Java variable name that should be used as part of the documentation to handle the result value

Implementations are defined with the following properties:

Property Description
name Name of the app
url Url to app store or website of app

Specializations of intent specs

Intent specifications are defined by its intent action. If there are intents that use e.g. different schema and have different behaviour these intent can be documented separately.

The path is action/[action]/[name], e.g. http://www.openintents.org/action/android-intent-action-view/x11-server

The name of the file should match the name property. Name clashes with the main specification must be avoided.

OI Apps

See https://openintents.org/download for all apps and more.

openintents.github.io's People

Contributors

falkorichter avatar friedger avatar goldfndr avatar niccokunzmann avatar nitomartinez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.