andreiciubotariu / contact-notifier Goto Github PK
View Code? Open in Web Editor NEWAndroid app: set a custom LED colour, ringtone, and vibrate pattern for incoming SMS.
License: Apache License 2.0
Android app: set a custom LED colour, ringtone, and vibrate pattern for incoming SMS.
License: Apache License 2.0
Application version: 2.2.0
Android version: Android 4.2
Device: Smart 401
Stack Trace:
java.lang.RuntimeException: Unable to start receiver com.ciubotariu_levy.lednotifier.messages.MessageReceiver: java.lang.NullPointerException
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2557)
at android.app.ActivityThread.access$1500(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5371)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.app.PendingIntent.getActivity(PendingIntent.java:253)
at android.app.PendingIntent.getActivity(PendingIntent.java:220)
at com.ciubotariu_levy.lednotifier.messages.MessageReceiver.generateNotificationIfNeeded(MessageReceiver.java:102)
at com.ciubotariu_levy.lednotifier.messages.MessageReceiver.onReceive(MessageReceiver.java:77)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2550)
... 10 more
content://
uri instead of messageApplication version: 2.2.0
Android version: Android 5.1
Device: A1P (ailsa)
User Message
trying to tie my contacts with a certain notifier tone.
Trace:
java.lang.RuntimeException: Unable to resume activity {com.ciubotariu_levy.lednotifier/com.ciubotariu_levy.lednotifier.ui.activity.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=131073, result=-1, data=Intent { (has extras) }} to activity {com.ciubotariu_levy.lednotifier/com.ciubotariu_levy.lednotifier.ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'android.widget.Button com.ciubotariu_levy.lednotifier.ui.widget.AbstractContactViewBinder$ContactHolder.chooseRingtoneButton' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2986)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=131073, result=-1, data=Intent { (has extras) }} to activity {com.ciubotariu_levy.lednotifier/com.ciubotariu_levy.lednotifier.ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'android.widget.Button com.ciubotariu_levy.lednotifier.ui.widget.AbstractContactViewBinder$ContactHolder.chooseRingtoneButton' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3574)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2972)
... 11 more
Caused by: java.lang.NullPointerException: Attempt to read from field 'android.widget.Button com.ciubotariu_levy.lednotifier.ui.widget.AbstractContactViewBinder$ContactHolder.chooseRingtoneButton' on a null object reference
at com.ciubotariu_levy.lednotifier.ui.widget.AbstractContactViewBinder.onRingtoneSelected(AbstractContactViewBinder.java:260)
at com.ciubotariu_levy.lednotifier.ui.widget.AbstractContactViewBinder.onResult(AbstractContactViewBinder.java:284)
at com.ciubotariu_levy.lednotifier.ui.fragment.AbstractContactsFragment.onActivityResult(AbstractContactsFragment.java:118)
at android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:165)
at android.app.Activity.dispatchActivityResult(Activity.java:6236)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3570)
... 12 more
The HoloColorPicker library seems functional and pretty.
No-notification detection is activated. Unwanted behaviour. Should possibly check if phone is unlocked before doing notification send logic.
Email report:
My phone:
Verizon Galaxy Note 4
Messaging app: simplytext (all notifications turned off)
OS: Lollipop 5.0.1The vibrate function doesn't always work for some contacts despite trying to save the vibrate pattern again.
Email report:
Verizon Galaxy Note 4
Messaging app: simplytext (all notifications turned off)
OS: Lollipop 5.0.1If I haven't read a text message, and another appears, any new messages will use the same text tone and vibrate pattern as the previous message (bill sends me message, then frank sends me message. Both messages have bill's tone and vibrate).
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.