Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash On Close #12

Open
JamesRHarris opened this issue May 17, 2019 · 2 comments
Open

Crash On Close #12

JamesRHarris opened this issue May 17, 2019 · 2 comments

Comments

@JamesRHarris
Copy link

I have a Pixel2 running the latest security patches. The widget does connect to my A2DP device but always crashes after connecting. Using the crash dialog ("app has stopped working") I have submitted several reports.

@jroal
Copy link
Owner

jroal commented May 26, 2019

Agree there are many bugs. I am running into timing and cross thread issues as well as random security exceptions. I really need the help of a deeper software architect to clean this up. This is beyond my current skill level and I really don't have time to work on it.

I resisted attempting to implement the changing icon based on connection state because of this. I went ahead and tried and now this. I had to clean up other issues as this widget was really old and needed to stop using deprecated Android features so I was stuck. There are not simple android calls or callbacks for monitoring connection state. Android makes you monitor constantly for state changes which requires a foreground process now. People hate notification icons staying active and Android will give warnings about the apps using battery (even though it does not). There appears to be no good way to do this. If anyone finds a better widget to do this I will just abandon this and point people towards that.

@jroal
Copy link
Owner

jroal commented Jun 16, 2019

I finally gave up on the separate widget app for this. I now integrated this widget into A2DP Volume. Download A2DP Volume and install it. Follow the instructions to load devices. Uninstall A2DP Connect2 in Android settings -> apps. Now place widgets on your home screen. See the Quick start guide for A2DP Volume for details. This separate widget is going away. Instead it is now integrated into A2DP Volume starting with version 2.13.0.0. Become a tester here https://play.google.com/apps/testing/a2dp.Vol and get that app now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants