sealor / birthdayreminder Goto Github PK
View Code? Open in Web Editor NEWAndroid App Birthday Reminder
License: MIT License
Android App Birthday Reminder
License: MIT License
Proposal. Let's remove the right to edit birthdays. Why? This can make any address book more beautiful, whether online or offline. The advantage. The code becomes simpler and the access rights management a bit easier. What do you think about it. This decision is directly related to #3
as already written in signal. The app crashed
FATAL EXCEPTION: main Process: de.ubuntix.android.birthdayreminder, PID: 13448 java.lang.RuntimeException: Unable to resume activity {de.ubuntix.android.birthdayreminder/de.ubuntix.android.birthdayreminder.BirthdayReminder}: java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/contacts from pid=13448, uid=10088 requires android.permission.READ_CONTACTS, or grantUriPermission() at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3784) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3816) at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/contacts from pid=13448, uid=10088 requires android.permission.READ_CONTACTS, or grantUriPermission() at android.os.Parcel.createException(Parcel.java:1950) at android.os.Parcel.readException(Parcel.java:1918) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135) at android.content.ContentProviderProxy.query(ContentProviderNative.java:418) at android.content.ContentResolver.query(ContentResolver.java:802) at android.content.ContentResolver.query(ContentResolver.java:752) at android.content.ContentResolver.query(ContentResolver.java:710) at de.ubuntix.android.birthdayreminder.database.dao.ContactDataAccess.getDBContactsById(ContactDataAccess.java:79) at de.ubuntix.android.birthdayreminder.database.dao.ContactDataAccess.getAll(ContactDataAccess.java:29) at de.ubuntix.android.birthdayreminder.database.Database.getAllContacts(Database.java:24) at de.ubuntix.android.birthdayreminder.BirthdayReminder.updateView(BirthdayReminder.java:134) at de.ubuntix.android.birthdayreminder.BirthdayReminder.onResume(BirthdayReminder.java:111) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1412) at android.app.Activity.performResume(Activity.java:7292) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3776) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3816) at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
When I scroll down in BR, I see all contacts without date of birth. What was your purpose in the beginning? Can we leave that out?
We have to update to API level 33. The main function is to notify the user for the coming birthdays. So we have to the the permission for notify the user. thanks google f*** google
https://apilevels.com/
The advantage of recyclerView is that the performance is much better. I have an address book with about 700 entries and about 400 birth dates. This makes the BirthdayReminder even faster.
You can read the Link, it explaind the RecyclerView. I added this view in the PalatschinkenCounter for the Recipe.
https://levelup.gitconnected.com/android-recycler-view-b1bc493cac53
The notifications must correspond to the state of the art
https://developer.android.com/develop/ui/views/notifications/build-notification
The BR must query the permissions and have them set through the user manually.
If the BR must be able to change the birthdays, then the needs the authorization for it, otherwise this function could be completely deactivated and removed.
My opinion is: The creation and editing can be done via the own address book.
setup the translation minimum in german or use webslate
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.