Code Monkey home page Code Monkey logo

jasonette-android's Introduction

jasonette-android's People

Contributors

brad avatar clsource avatar cpg avatar demosffen avatar dewalddp avatar gliechtenstein avatar jdugdale avatar jeizsm avatar judereid avatar lukeramsden avatar maks avatar mohammadnajmuzzaman avatar panterozo avatar realitix avatar realtebo avatar snada avatar vkey avatar wajahatch888 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jasonette-android's Issues

minor issue with space

i noticed that the space component, when not indicating height, appears to not show up, i.e. has zero pixels. this makes things look a little different from ios.

when adding some height, it does render some space.

I had before liberally used space in iOS without height when i needed to separate groups of items or something. For consistency, I would recommend either defaulting to the same as iOS when there is no height (preferably), or change the default in iOS to behave the same.

(i did not try horizontal spacing)

secure textfields lose style when adding "secure"

when adding "secure": "true" to a text field, it appears that it loses some or all of the style.

will add some sample code later, but it's easy to reproduce. make both fields with a bold font and make one "secure".

Implementing example Weather app throws error

While trying to implement provided weather app example, andriod studio keeps throwing below exception -
Error: java.lang.ClassNotFoundException: com.jasonette.seed.Action.JasonGeoAction

Perhaps a missing file?

2017-02-15 11_30_30-jasonette-android-master - c__users_jgohil_documents_androidstudio_jasonette-an

Shrink the binary size

The reason it's huge is because of a library that's used to process the JSON template--the end result contains one binary for every possible Android device type.

Find another library that's much smaller and don't have this problem.

Idea: Jasonette Builder

I've been thinking abi about json builder for jasonette.

The idea is basically using blockly custom blocks to generate the json.

Just throwing this out here in case anyone has a better idea or maybe working on it or something similar and maybe get some feedback before i start (in like 2 weeks)

[Top priority] Modularize

For JASONETTE-iOS we have come up with a way to build extensions using CocoaPods. It's still work in progress but it's a good start.

Basically the approach is to separate the modules/extensions as much as possible from the core engine so that anyone can publish an extension, and then anyone can pull them into their projects using CocoaPods (a dependency manager).

For the Android version I've tried my best to separate the modules using Intent so far, but it's still not there yet. I would appreciate any feedback.

Anyway I'm thinking we can achieve the same using gradle (or maybe there's a better option I'm not aware of?) I purposely didn't flesh out completely how the extensions are implemented on the Android side yet because I would like to get some feedback.

Please share your thoughts and ideas. Thanks!

Don't work on Android but work on iOS

Hi!

Android studio says:
E/EGL_emulation: tid 3643: eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)
W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xb027a1c0, error=EGL_BAD_MATCH
D/Error: org.json.JSONException: Expected literal value at character 2072 of

demo.json.txt

Don't work on Android but work on iOS

corner_radius support for components other than images.

Currently the only component that supports corner_radius is image.

Android only started providing a native way of implementing corner radius since Android L, https://developer.android.com/reference/android/view/View.html#setClipToOutline(boolean) and I don't think we can just raise the minsdk just because of this.

I don't think this is a hugely serious problem for now since most of the cases where we need corner_radius are for images. But it still sucks that this can't be easily ported over from iOS. For example label type layers can have corner radius, and it works on iOS but not on Android.

If anyone has a good solution please feel free to contribute or share ideas.

Font choices for iOS vs. Android

Please document what font choices are available natively to both iOS and Android.

I'm willing to help doc. Just tell me where to find the details in the code or online or wherever.

corner_radius for all components

Currently corner_radius only works for images.

Turns out adding corner radius is not as simple as it is on iOS.

Maybe there's a way?

text fields and text areas do not take value

users in android are reporting that the value of a text field is not kept.
so, when they go to open a review to edit it, it's empty. works in ios.

will come up with sample code soon.

rotation leads to $show

it appears that a device rotation leads to $show being called, which in one of my cases it leads to a network call and a render.

this is different in Android than iOS, which does not call $show on rotation.

however, I am not sure if this is inherent to Android, or an accidental addition or bug.

not a high priority issue.

Opacity for components

On iOS you can attach the opacity attribute to any component's style and it would make it translucent. But this has not been implemented on Android.

I haven't dug deeply into this issue so not sure how complicated it would be to add a generic opacity-altering feature for all JasonComponent based classes.

Status bar color

Hi, I just added support to status bar color on my local project.
Only 3 lines of code on Android, but it needs an update on JSON file too.

How can I help you to release officially?

Support Local JSON

Support Local JSON, which can be referred to using file:// notation, just like iOS.

Keep crashed

your example instagram for android keep crashed when multiple click on bottom menu

$params.key not reset between each detail view

Taking the "iOS Dev Weekly" example where the master.json view transitions to the detail.json view

In master.json, the parameter issue is set:

https://github.com/gliechtenstein/iosdevweekly.json/blob/master/master.json#L41

Then in detail.json, $params.issue parameter is used for a network request:

https://github.com/gliechtenstein/iosdevweekly.json/blob/master/detail.json#L40

The first transition from master to detail works correctly, but when you go back to the master view and then go to a different detail view, the $params.issue is still set to the old value - it's not reset - its value is not being overwritten.

I've tried playing around with $cache.reset, $set and $get actions without success

I think the issue may lie around this area: https://github.com/Jasonette/JASONETTE-Android/blob/develop/app/src/main/java/com/jasonette/seed/Core/JasonModel.java#L41

This is not a problem for the iOS project, only Android

Awesome project BTW! ๐Ÿ‘

$oauth action

There's an undocumented $oauth action on iOS. https://github.com/Jasonette/JASONETTE-iOS/blob/develop/app/Jasonette/JasonOauthAction.m

The reason it's undocumented was because I wasn't sure how long it would take to build the Android version so wanted to get rid of complexity back when i was about to release the iOS version as open source.

The decision was to exclude oauth from the documentation so it's not supported officially, until I release the initial version of Android.

But now that we have both iOS and Android out there, it would be great if we can implement $oauth on Android as well and also document this.

Offline like iOS?

Apparently, there is an offline feature on iOS which can cache the whole json file so you can still open the app when offline. It would be nice for that feature to be cross platform.

$convert.css is not implemented yet

The Jasonpedia CSV example doesn't work on Android. All that happens is on application load, a toast message appears stating:

Not implemented
$convert.csv is not implemented yet.

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.