Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brodycj/cordova-ext-echo-and-length

Reproduction for https://issues.apache.org/jira/browse/CB-9435
https://github.com/brodycj/cordova-ext-echo-and-length

Last synced: about 2 months ago
JSON representation

Reproduction for https://issues.apache.org/jira/browse/CB-9435

Awesome Lists containing this project

README

        

> Cordova plugin exemplifying simplest possible functionality: echoing a
> string.

# Why?

As a beginner to cordova plugin development, I tried almost all available `echo`
plugins but none worked with the latest cordova 4.0.0 (I was testing on iOS)!
I guess those are all built for old versions of cordova.

This is just a working version with cordova 4.0.0. I did the changes blindly following
existing working plugins.

# Usage

1. `cordova plugin add `
2. In your code, write something like:
```
onDeviceReady: function() {
var Echo = cordova.require('org.apache.cordova.plugins.echo.Echo');
Echo.echo('hello,world', function(v) {
alert(v);
});
}
```

# License
Apache 2.0 License