Coder Social home page Coder Social logo

aurasphere / blue-pair Goto Github PK

View Code? Open in Web Editor NEW
63.0 63.0 44.0 7.87 MB

Simple Bluetooth Android app for handling device discovery and pairing.

License: MIT License

Java 100.00%
android bluetooth bluetooth-devices free mit-license pairing play-store

blue-pair's Introduction

Hi there! ๐Ÿ‘‹

I'm Donato, and this is your daily fortune:

๐Ÿฅ  You will die alone and poorly dressed.

Last update: Fri Jun 21 05:08:10 2024

Let's play! ๐ŸŽฎ

Game not loaded yet, wait a couple of seconds and refresh to play!




Connect with me on LinkedIn to stay updated!

LinkedIn

blue-pair's People

Contributors

aurasphere avatar vrnsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blue-pair's Issues

java.lang.IllegalArgumentException:

at android.support.design.widget.CoordinatorLayout.offsetChildByInset (CoordinatorLayout.java:1319)
at android.support.design.widget.CoordinatorLayout.onChildViewsChanged (CoordinatorLayout.java:1257)
at android.support.design.widget.CoordinatorLayout$OnPreDrawListener.onPreDraw (CoordinatorLayout.java:1805)
at android.view.ViewTreeObserver.dispatchOnPreDraw (ViewTreeObserver.java:912)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1986)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1078)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:5885)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:767)
at android.view.Choreographer.doCallbacks (Choreographer.java:580)
at android.view.Choreographer.doFrame (Choreographer.java:550)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:753)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5376)
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:908)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:703)

obfuscate error

I obfuscated the app and it crashed with this error.
I put all the view package in proguard keep file with this line :
-keep public class com.example.phmeter.view

Error:
Binary XML file line #26: Binary XML file line #26: Error inflating class com.example.phmeter.view.RecyclerViewProgressEmptySupport

Caused by java.lang.ClassNotFoundException
Didn't find class "com.example.phmeter.view.RecyclerViewProgressEmptySupport" on path: DexPathList[[zip file "/data/app/com.example.phmeter-MdnZ-1Qx_aIfYqRokPcStQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.phmeter-MdnZ-1Qx_aIfYqRokPcStQ==/lib/arm64, /system/lib64, /product/lib64]]

A problem occurred evaluating project ':app'

Hi!
I have issue, when i first build project:

Build file 'C:\Users\ion8\AndroidStudioProjects\blue-pair\app\build.gradle' line: 17

A problem occurred evaluating project ':app'.
> C:\blue-pair\blue-pair-secret.properties (The system cannot find the file specified)

I read previous issues and I think I should create some file with some configuration. Where I should destination this file? What I should write in this file?
okjpok

Submission on Proposed FAQ on Blue Pair

I volunteer in contributing to the development of blue pair (simple application for Bluetooth discovery and pairing) by submitting a proposed FAQ on Bluetooth pair application. I noticed it had an about option, but there wasn't an option for FAQ.

Here is a link to the FAQ I created for Blue-Pair,
https://drive.google.com/file/d/1OMO-T7FfhvwdxRF5w7UWJBU3_oajkayj/view?usp=drivesdk
Edits and criticism are welcomed anytime.
Thank you.

I would love if you would merge it to master ..... It would encourage me to do more.

java.lang.RuntimeException:

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2484)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2544)
at android.app.ActivityThread.access$900 (ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1394)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:168)
at android.app.ActivityThread.main (ActivityThread.java:5845)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:797)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:687)
Caused by: java.lang.IllegalStateException:
at android.support.v7.app.AppCompatDelegateImplV9.setSupportActionBar (AppCompatDelegateImplV9.java:199)
at android.support.v7.app.AppCompatActivity.setSupportActionBar (AppCompatActivity.java:130)
at co.aurasphere.bluepair.MainActivity1.onCreate (MainActivity1.java:89)
at android.app.Activity.performCreate (Activity.java:6248)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1125)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2437)

Build fails on Android 30 due to blue-pair-secret.properties file is missing

Hi Aurasphere,
Could you please share this file, as I'm not sure about the parameters I should be setting in this file

2021-09-06T13:02:01.460+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred evaluating project ':app'.
2021-09-06T13:02:01.461+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > /home/android/AndroidTestApp/blue-pair/blue-pair-secret.properties (No such file or directory)

Thanks,
Divya

Bug on Blue-Pair App: Bluetooth fails to pair device again after disconnected from other device

Expected behavior

Blue pair is an open source andriod app which is meant for pairing and finding nearby Bluetooth devices with the aid of an in-built Bluetooth accessory on the mobile device. Bluetooth is expected to connect and pair Bluetooth devices upon use of Bluetooth conveniently.

Actual behavior

Upon pairing the Bluetooth using blue pair application, and then disconnecting the connection (or unpairing the devices) from other devices, blue pair fails to pair again with that particular Bluetooth devices and as such will keep showing this message "bluetooth device has already been paired" whereas it hasn't been paired and other devices remain unconnected.

Screenshot_20180304-002456.png

How to reproduce

  • Download the Blue pair from Google playstore.
  • open the app and search for Bluetooth device and pair with another mobile phone using the Bluetooth settings on the other device.
  • Pair both devices.
  • Unpair from the other device from Bluetooth settings.
  • Reload the "mobile device with blue pair app" and try pairing again with the app.
  • App fails to pair again and shows the mesaage "Bluetooth device has already been paired" , whereas the device isn't pairing.

  • Browser: Google Playstore/Blue-Pair
  • Operating system: Andriod 7.0 . Infinix Note 4.

Recording Of The Bug

https://youtu.be/4ZXn33MQGqQ



Posted on Utopian.io - Rewarding Open Source Contributors

java.lang.NullPointerException:

at co.aurasphere.bluepair.bluetooth.BluetoothController.isBluetoothEnabled (BluetoothController.java:95)
at co.aurasphere.bluepair.MainActivity$1.onClick (MainActivity.java:124)
at android.view.View.performClick (View.java:4443)
at android.view.View$PerformClick.run (View.java:18443)
at android.os.Handler.handleCallback (Handler.java:733)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:136)
at android.app.ActivityThread.main (ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:811)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:627)
at dalvik.system.NativeStart.main (Native Method)

java.lang.NullPointerException:

at co.aurasphere.bluepair.MainActivity.onItemClick (MainActivity.java:212)
at co.aurasphere.bluepair.MainActivity.onItemClick (MainActivity.java:60)
at co.aurasphere.bluepair.view.DeviceRecyclerViewAdapter$1.onClick (DeviceRecyclerViewAdapter.java:103)
at android.view.View.performClick (View.java:5280)
at android.view.View$PerformClick.run (View.java:21239)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:234)
at android.app.ActivityThread.main (ActivityThread.java:5526)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)

java.lang.IndexOutOfBoundsException:

at java.util.ArrayList.throwIndexOutOfBoundsException (ArrayList.java:255)
at java.util.ArrayList.get (ArrayList.java:308)
at co.aurasphere.bluepair.fragments.DGFragment.onCreateView (DGFragment.java:71)
at android.support.v4.app.Fragment.performCreateView (Fragment.java:2354)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1419)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManager.java:1740)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1809)
at android.support.v4.app.BackStackRecord.executeOps (BackStackRecord.java:799)
at android.support.v4.app.FragmentManagerImpl.executeOps (FragmentManager.java:2580)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether (FragmentManager.java:2367)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute (FragmentManager.java:2322)
at android.support.v4.app.FragmentManagerImpl.execSingleAction (FragmentManager.java:2199)
at android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss (BackStackRecord.java:651)
at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate (FragmentStatePagerAdapter.java:167)
at android.support.v4.view.ViewPager.populate (ViewPager.java:1236)
at android.support.v4.view.ViewPager.populate (ViewPager.java:1084)
at android.support.v4.view.ViewPager.setAdapter (ViewPager.java:534)
at co.aurasphere.bluepair.TerminalActivity.setAdapter (TerminalActivity.java:222)
at co.aurasphere.bluepair.TerminalActivity.onBluetoothSerialRead (TerminalActivity.java:439)
at com.macroyau.blue2serial.BluetoothSerial$1.handleMessage (BluetoothSerial.java:318)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5466)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)

java.lang.NullPointerException:

at co.aurasphere.bluepair.MainActivity.onCreateOptionsMenu (MainActivity.java:152)
at android.app.Activity.onCreatePanelMenu (Activity.java:2927)
at android.support.v4.app.FragmentActivity.onCreatePanelMenu (FragmentActivity.java:360)
at android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu (WindowCallbackWrapper.java:88)
at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.onCreatePanelMenu (AppCompatDelegateImplBase.java:331)
at android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu (WindowCallbackWrapper.java:88)
at android.support.v7.app.ToolbarActionBar.populateOptionsMenu (ToolbarActionBar.java:454)
at android.support.v7.app.ToolbarActionBar$1.run (ToolbarActionBar.java:61)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5910)
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:1405)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.