Giter Site home page Giter Site logo

codenameone-calendar's People

Contributors

chen-fishbein avatar shai-almog avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

codenameone-calendar's Issues

Required Build Hints?

Hello, is there any documentation for this library? Are any specific build hints required? I seem to get build errors when submitting iOS debug builds when this library is "installed". Thanks

Documentation

Hie Chen

Thank you for the library but i am facing challenges with

  1. No documentation of how to use the library like you normally do with yuor other releases
  2. On android for looking for available calenders is return a null pointer exception making it impossible to create or read events

Not working on Android 8.0.0

I tried this library on a Samsung Galaxy S7 running Android 8.0.0. I've added the build hint "android.xpermissions=<uses-permission android:name="android.permission.READ_CALENDAR"/> <uses-permission android:name="android.permission.WRITE_CALENDAR"/>" as mentioned here https://stackoverflow.com/questions/42762183/codename-one-use-google-calendar. I also test for DeviceCalendar.hasPermissions() which did trigger Android to ask to grant Calendar access to my app, which I did (and checked in permissions that it is correctly approved).

However, when I test the code, hasPermissions() returns true, but DeviceCalendar.getInstance().getCalendars() returns null (as also mentioned here: https://stackoverflow.com/questions/45057045/codenameone-devicecalendar-getinstance-dc-getcalendars-is-returning-null-on), so I can't get it to work.

Any tips? Anyone got it to work?

Permissions issue in Android 6.0

In android 6.0 there is never a prompt for read and write access to the calendar, thus it crashes with a security exception. In previous versions it prompts as expected at first run and runs fine. Also in 6.0 hasPermissions() returns true even if it doesn't have permissions.

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.