{"id":19197532,"url":"https://github.com/rikulo/gap","last_synced_at":"2025-05-09T00:52:25.327Z","repository":{"id":5079276,"uuid":"6241394","full_name":"rikulo/gap","owner":"rikulo","description":"A bridge implementation of the Apache Cordova mobile framework(a.k.a. PhoneGap) in Dart. It enables developers to access native facilities of multiple mobile platforms using the HTML, CSS, and Dart.","archived":false,"fork":false,"pushed_at":"2015-01-13T05:22:05.000Z","size":483,"stargazers_count":31,"open_issues_count":4,"forks_count":7,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-09T00:52:20.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rikulo.org","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"onchain/onchain-android","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rikulo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-16T08:47:46.000Z","updated_at":"2020-09-04T17:27:25.000Z","dependencies_parsed_at":"2022-07-08T02:43:48.107Z","dependency_job_id":null,"html_url":"https://github.com/rikulo/gap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fgap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fgap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fgap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fgap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rikulo","download_url":"https://codeload.github.com/rikulo/gap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171233,"owners_count":21865289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T12:17:13.269Z","updated_at":"2025-05-09T00:52:25.306Z","avatar_url":"https://github.com/rikulo.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Rikulo Gap\n\n[Rikulo Gap](http://rikulo.org) is a bridge implementation of the [Apache Cordova](http://incubator.apache.org/cordova/) mobile framework (a.k.a. PhoneGap) in Dart. It enables developers to access native facilities of multiple mobile platforms using the HTML, CSS, and Dart.\n \n* [Home](http://rikulo.org)\n* [Documentation](http://docs.rikulo.org/ui/latest/Rikulo_Gap/)\n* [API Reference](http://www.dartdocs.org/documentation/rikulo_gap/0.6.0)\n* [Discussion](http://stackoverflow.com/questions/tagged/rikulo)\n* [Issues](https://github.com/rikulo/gap/issues)\n\nRikulo Gap is distributed under the Apache 2.0 License.\n\n##Install from Dart Pub Repository\n\nAdd this to your `pubspec.yaml` (or create it):\n\n    dependencies:\n      rikulo_gap: \"\u003e=0.6.0 \u003c0.7.0\"\n\n##Usage\n\nEverything start from enabling your device accessiblity:\n\n    import 'package:rikulo_gap/device.dart';\n    import 'package:rikulo_gap/accelerometer.dart';\n    \n    //At a regular interval, get the acceleration along the x, y, and z axis.\n    void accessAccelerometer() {\n      accelerometer.watchAcceleration(\n        (Acceleration acc) {\n          print(\"t:${acc.timestamp}, x:${acc.x}, y:${acc.y}, z:${acc.z}\");\n        },\n        () =\u003e print(\"Fail to get acceleration.\"),\n        new AccelerometerOptions(frequency: 1000)\n      );\n    }\n    \n    void main() {\n      Device.init()\n      .then((Device device) {\n         accessAccelerometer();\n      })\n      .catchError((ex, st) {\n         print(\"Failed: $ex, $st\");\n      });\n    }\n\nFor more information, please refer to [Building Native Mobile Application](http://docs.rikulo.org/ui/latest/Getting_Started/Building_Native_Mobile_Application.html).\n\n##Install from Github for Bleeding Edge Stuff\n\nTo install stuff that is still in development, add this to your `pubspec.yam`:\n\n    dependencies:\n      rikulo_gap:\n        git: git://github.com/rikulo/gap.git\n\nFor more information, please refer to [Pub: Dependencies](http://pub.dartlang.org/doc/pubspec.html#dependencies).\n\n###Fork Rikulo Gap\n\nIf you'd like to contribute back to the core, you can [fork this repository](https://help.github.com/articles/fork-a-repo) and send us a pull request, when it is ready.\n\nPlease be aware that one of Rikulo's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.\n\nIf you are new to Git or GitHub, please read [this guide](https://help.github.com/) first.\n\n##Who Uses\n\n* [Quire](https://quire.io) - a simple, collaborative, multi-level task management tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikulo%2Fgap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frikulo%2Fgap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikulo%2Fgap/lists"}