From 7cc8494e12f2c5dbb432ef4a5dd62abd063c2efe Mon Sep 17 00:00:00 2001 From: Ian Miller Date: Fri, 2 Nov 2018 13:21:32 -0700 Subject: [PATCH 01/22] Fix build.gradle for Android Studio v3.2.1 Following the quick start guide with Android Studio v3.2.1 yielded an error similar to what users have described here: https://stackoverflow.com/questions/52945041/couldnt-locate-lint-gradle-api-26-1-2-jar-for-flutter-project Changing the order of jcenter() to load after maven seems to fix this issue. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 403ec7b3..ff320d16 100644 --- a/build.gradle +++ b/build.gradle @@ -2,11 +2,11 @@ buildscript { repositories { - jcenter() maven { url 'https://maven.google.com/' name 'Google' } + jcenter() google() } dependencies { From de4f51ba3643812f0bdc8f0e52f976289848f966 Mon Sep 17 00:00:00 2001 From: Camilo Date: Tue, 2 Jul 2019 08:30:33 -0400 Subject: [PATCH 02/22] changed qrcode only to allformats Changed from `QR_CODE` to `ALL_FORMATS` as suggested by `Mike Metcalfe`. https://developers.google.com/android/reference/com/google/android/gms/vision/barcode/Barcode.html#ALL_FORMATS With this addition now the android app can scan any barcode supported by the vision engine. --- .../com/jasonette/seed/Service/vision/JasonVisionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/jasonette/seed/Service/vision/JasonVisionService.java b/app/src/main/java/com/jasonette/seed/Service/vision/JasonVisionService.java index a56dac9e..0633ca88 100644 --- a/app/src/main/java/com/jasonette/seed/Service/vision/JasonVisionService.java +++ b/app/src/main/java/com/jasonette/seed/Service/vision/JasonVisionService.java @@ -82,7 +82,7 @@ private void initView(final Activity context) { */ detector = new BarcodeDetector.Builder(context) - .setBarcodeFormats(Barcode.QR_CODE) + .setBarcodeFormats(Barcode.ALL_FORMATS) .build(); detector.setProcessor(new Detector.Processor() { @Override From 01b1762239badda6f2be3f94494a50c4dd81c12f Mon Sep 17 00:00:00 2001 From: Camilo Date: Thu, 11 Jul 2019 15:37:07 -0400 Subject: [PATCH 03/22] added text zoom fix by @naei --- .../main/java/com/jasonette/seed/Core/JasonViewActivity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/jasonette/seed/Core/JasonViewActivity.java b/app/src/main/java/com/jasonette/seed/Core/JasonViewActivity.java index 3600fba0..4fdf2cb3 100644 --- a/app/src/main/java/com/jasonette/seed/Core/JasonViewActivity.java +++ b/app/src/main/java/com/jasonette/seed/Core/JasonViewActivity.java @@ -1853,6 +1853,9 @@ public void onResourceReady(GlideDrawable resource, GlideAnimation Date: Thu, 11 Jul 2019 15:41:22 -0400 Subject: [PATCH 04/22] updated readme --- README.md | 148 +++++++++++------------------------------------------- 1 file changed, 29 insertions(+), 119 deletions(-) diff --git a/README.md b/README.md index 84659761..fd158c53 100644 --- a/README.md +++ b/README.md @@ -1,146 +1,56 @@ -[![logo](https://raw.githubusercontent.com/gliechtenstein/images/master/jasonette.png)](http://www.jasonette.com) -[![Code Climate](https://codeclimate.com/github/Jasonette/JASONETTE-Android/badges/gpa.svg)](https://codeclimate.com/github/Jasonette/JASONETTE-Android) -[![Issue Count](https://codeclimate.com/github/Jasonette/JASONETTE-Android/badges/issue_count.svg)](https://codeclimate.com/github/Jasonette/JASONETTE-Android) -[![codebeat badge](https://codebeat.co/badges/14fec9aa-70dc-4459-8d62-e64c2c5e750f)](https://codebeat.co/projects/github-com-jasonette-jasonette-android) -[![roadmap badge](https://img.shields.io/badge/visit%20the-roadmap-blue.svg)](https://github.com/Jasonette/JASONETTE-android/projects/1) -# [Jasonette](https://www.jasonette.com) +[![logo](https://user-images.githubusercontent.com/292738/59071387-61da3480-888c-11e9-9d77-d495852231e7.png)](http://www.jasonelle.com) -[https://www.jasonette.com](https://www.jasonette.com) +# [Jasonette Android](https://www.jasonelle.com) -Create your own native Android app with nothing but JSON. Then send it over the Internet. +[https://www.jasonelle.com](https://www.jasonelle.com) -Looking for an iOS version? [See here](https://www.github.com/Jasonette/JASONETTE-iOS) +Create your own native iOS app with *JSON*. Then send it over `http(s)://` or `file://`. -
- -## ★ Jasonette fetches this JSON markup from a server: - -![json](https://raw.githubusercontent.com/gliechtenstein/images/master/json.png) - -## ★ And self-constructs into the following native app, in realtime: - -![instagram](https://github.com/Jasonette/Instagram-UI-example/blob/master/images/instagram-android.gif) - -
- -# How it works - -![diagram](https://raw.githubusercontent.com/gliechtenstein/images/master/diagram.gif) - -
- -# Cool things about Jasonette - -- **100% NATIVE**: Jasonette maps JSON into native components and native function calls. There is no gimmick. There is no magic. -- **App loads over HTTP**: Your app exists 100% as JSON, and loads from the cloud. No more hard-coding. -- **An app in 30 minutes**: No kidding, build an app in 30 minutes. -- **Lowest possible learning curve**: No programming experience required. There's only one thing you need to know: JSON. Which means you can build an app without "becoming a programmer". - -
- -# [Quickstart](https://jasonette.github.io/documentation/#quickstart) -Visit [the website](http://www.jasonette.com) to get started, or visit [the docs](https://jasonette.github.io/documentation) to learn more about how to use Jasonette. - -# Download -Download latest release [here](https://github.com/Jasonette/JASONETTE-Android/archive/master.zip). +## Releases -
- -# More Examples -Try playing these on Jasonette and watch them turn into native apps in front of your eyes! +Releases are made in the [Jasonelle Repo](https://github.com/jasonelle/jasonelle/releases). -* [Jasonpedia](https://github.com/Jasonette/Jasonpedia) Tutorial demo app that includes all Jasonette feature implementations. -* [Instagram](https://github.com/Jasonette/Instagram-UI-example) An Instagram UI, 100% powered by JSON. -* [Twitter](https://github.com/Jasonette/Twitter-UI-example) A Twitter UI, 100% powered by JSON. +- [Jasonette v1.0.0](https://github.com/jasonelle/jasonelle/releases/tag/v1.0). -
+- Jasonette v2.0.0 (In Progress). -# Technical Highlights +## [Contribution](CONTRIBUTING.md) -## 1. One JSON to rule them all +This repository uses `master` branch to store the bleeding +edge code. More details in the [CONTRIBUTING](CONTRIBUTING.md) file. -Jasonette simplifies the entire app building process down to nothing more than: +## [Changelog](CHANGELOG.md) -1. Write a JSON markup -2. Add the JSON url to Jasonette -3. Press `play` +The [CHANGELOG](CHANGELOG.md) contains the release notes +of each version. -This is possible because Jasonette came up with a way to **fit an entire app worth of logic into a single declarative JSON that just works™.** This JSON grammar is used to express **every aspect of your app**, such as: +## [Documentation](https://jasonelle.com/docs) -1. Draw sophisticated [**views**](https://jasonette.github.io/documentation/document) -2. Call [**device API methods**](https://jasonette.github.io/documentation/actions/#api) -3. Chain method calls to [**perform complex logic**](https://jasonette.github.io/documentation/actions/#b-handling-another-actions-result) -4. Respond to [**system events**](https://jasonette.github.io/documentation/actions/#system-events) and [**user interaction**](https://jasonette.github.io/documentation/actions/#a-handling-user-interaction) -5. Even change the JSON itself dynamically using [**templates**](https://jasonette.github.io/documentation/templates). - -
+Documentation and examples in the [documentation repository](https://github.com/jasonelle/docs). -## 2. App-over-HTTP -Until now, the only thing JSON could send over the Internet was raw data. Normally apps would fetch remote data from the server for a connected experience, but the actual app logic would be hard-coded on the client side. This makes it hard to update and extend apps. -But what happens when you can express an entire app logic as JSON? - -** Then apps can be stored, processed, shared, and sent over the Internet just like any other JSON.** Watch below where we update the JSON on a [JSON pastebin server](https://www.jasonbase.com), and the app changes immediately to reflect the new markup: - -![remote control](http://i.giphy.com/3o7TKrdmlX5uD7RszK.gif) - -
+## Questions and Support -## 3. Designed to be extended or integrated -Currently Jasonette covers all the essential native APIs and components, which means you can build pretty much any app you can imagine. But Jasonette is very flexible. - -### A. Extensible -If you don't see a feature you want, you can simply extend Jasonette. Just follow the convention. Want to learn more? [Ask here](https://github.com/gliechtenstein/jasonette-android#questions-and-support) - -### B. Integrate existing code -Since Jasonette is simply a Java project, You can even integrate Jasonette with your existing Android project if you want. This way you can use Jasonette for just a small part of your app without having to completely switch to a new way of programming. Want to learn more? [Ask here](https://github.com/gliechtenstein/jasonette-android#questions-and-support) +Follow or join these channels for questions and support, and to keep updated on latest releases and announcements. -
+ + +