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

Not trying to connect when Bluetooth is disabled. #363

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sharppaul
Copy link

Improved LogCat messages.
Caught NullPointerExceptions (occured when Bluetooth was disabled AND Android Location services was disabled)

Note: this change does require JAVA 7 or higher e.g. with this in build.gradle:

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }

The reason for this is catching multiple distinct Exceptions in one catch block.

Improved LogCat messages.
Caught NullPointerExceptions (occured when Bluetooth was disabled AND Android Location services was disabled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant