chen-fishbein / codenameone-calendar Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/codenameone-calendar
Automatically exported from code.google.com/p/codenameone-calendar
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
Hie Chen
Thank you for the library but i am facing challenges with
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.