How Pair & Connect Via Bluetooth | Building a Bluetooth Chat App for Android | Part 2

  Рет қаралды 16,743

Philipp Lackner

Philipp Lackner

Күн бұрын

Пікірлер: 33
@mehulbisht9708
@mehulbisht9708 Жыл бұрын
Congrats for 100k subs Philipp!! 😊 Still remember I'd subscribed back when the channel name was Android Devs with 3k subscribers :) The content quality has reached completely next level now 🔥🔥
@PhilippLackner
@PhilippLackner Жыл бұрын
Thanks a ton!
@TheGamerFreak007
@TheGamerFreak007 Жыл бұрын
Hi, could you please show an example of how to implement Bluetooth or BLE alongside of navigation? Because it seems to be impossible to properly share bluetooth devices/advertisements across multiple composables with navigation. None of the Bluetooth components are parcelable.
@Der2011Chris
@Der2011Chris Жыл бұрын
Hey Philipp, a BLE Tutorial with pairing, send and receive data would be greate. Gteetings from Dortmund
@setteroid
@setteroid Жыл бұрын
please make video about NFC
@kamanchomorgan9655
@kamanchomorgan9655 Жыл бұрын
Please do video about new media3 lib mediaSessionService!!!
@pitkinq6
@pitkinq6 Жыл бұрын
Hello Philip, I would like to ask if its possiable to build android aplication that can scan BLE signal on background and if the app detected the right signal (UUID) than send data to the server and also show notification. Thank you a lot for the answer
@rileyfarro6801
@rileyfarro6801 Жыл бұрын
Thanks for this playlist!
@emad2420
@emad2420 7 ай бұрын
Isn't the while loop with the variable shouldLoop redundant here? I mean if we want to close the server after establishing a connection, then this ruins the purpose since the loop will continue and accept subsequent incoming connections afterwards. So it seems like either the close() call is redundant or the loop is.
@Mike-er2ih
@Mike-er2ih Жыл бұрын
Have had a "pleasure" working with BLE for quite some time... Unfortunately no matter how good you code is the BLE stack is HORRBILE accros manufactures. Tons of unsolvable bugs related to hardware layers. I'll never work with BLE product based companies any time soon :)
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Im glad im not alone in this experience of BLE. Its a rather overcomplicated and strangely-named API, no wonder so many products get it wrong or implemented improperly. The API's for Android abstract a bit of the BLE zaniness, but its still frustrating that there isnt more cohesion among the device manufacturers. Looks like we will have to wait for BLE-2
@ramdaspolekar4717
@ramdaspolekar4717 Жыл бұрын
@@ChrisAthanas Having same experience mate!
@user-lg6kj7yc1u
@user-lg6kj7yc1u Жыл бұрын
Can you make a lecture on controlling the Arduino sensor through Bluetooth interworking?
@souptiknath4668
@souptiknath4668 Жыл бұрын
Thanks for the tutorial. Can we implement the same thing with wifi?
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Like peer-to-peer comms over wifi?
@souptiknath4668
@souptiknath4668 Жыл бұрын
@@ChrisAthanas Yes the same chat functionality
@sj5558
@sj5558 Жыл бұрын
Hey philip i just want to ask how to become the best developer do I have to develop more apps watch tutorials or stay updated with new releases I am confused I could really use your suggestion.
@luisjesuslopezaguilera432
@luisjesuslopezaguilera432 Жыл бұрын
Hello Philipp. First of all, congratulations for your videos. They are wonderful. I ask you for help. I have an app that plays streaming audio from the internet, selecting several stations. My problem is that I would like, from the hands-free of the car, I can change the station, as if it were an mp3 player. I can't get any of the tutorials on youtube to work for me. Could you please help me? Thank you.
@burakbektas740
@burakbektas740 Жыл бұрын
I downloaded the latest version of the application on github to my phone, but when I press start scan, it does not scan and the server scan part does not appear.
@jawedsarmani5467
@jawedsarmani5467 Жыл бұрын
Could you please tell where u define onClick method that is used in the Device.kt file in last portion.
@ramdaspolekar4717
@ramdaspolekar4717 Жыл бұрын
Thanks for the great tutorial. Just one thing, How to get UUID which you provided hard-coded? I don't want random one.
@PhilippLackner
@PhilippLackner Жыл бұрын
But that's the whole point of it to be able that another device with your app can connect to it
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Are you asking about the individual phone ID? Like the IMEI number from the cell phone sim? Or MAC address? The UUID is the static id for the chat service running on one (or both) of the phones. You can generate this UUID in any way you like, including using kotlin, or just making one up. You just want an ID that doesnt conflict with any other service that another app may be using.
@412hack8
@412hack8 6 ай бұрын
Hello Philipp, I have a problems working with the implementation you give in this video. The problem is that when I start server on one device and then scann from another, some scanned devices doesn't have name in list. only addresses. However, paired devices have everything including names. Alos , pairing process only workeds from paired devices. I made a reserch. and found that others also have faced this problem but there is no valid sollution. please if you have any solution , tell me. thanks in advance
@drackon1995
@drackon1995 9 ай бұрын
Excelent Videos, But How can i connect and disconnect a bluetooth device without shared data?
@ramdaspolekar4717
@ramdaspolekar4717 Жыл бұрын
I want to find correct UUID of Bluetooth device. How to find correct UUID?
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Do you mean the IMEI number?
@ramdaspolekar4717
@ramdaspolekar4717 Жыл бұрын
@@ChrisAthanas No, when we want to connect with device, we need to create socket which needs UUID for communication. In video Philip provided hard-coded UUID in companion block.
@ChrisAthanas
@ChrisAthanas Жыл бұрын
@@ramdaspolekar4717 ah ok He mentions that you can pick any number you like for the uuid You can use Kotlin to generate one It just needs to be unique for the chat service that is being served.
@ramdaspolekar4717
@ramdaspolekar4717 Жыл бұрын
@@ChrisAthanas I also tried multiple UUID's from stack overflow. But my case it didn't work.
@yuhenteng4694
@yuhenteng4694 Жыл бұрын
Wow I’m quick🎉
@setteroid
@setteroid Жыл бұрын
please make video about NFC
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 7 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,6 МЛН
The ULTIMATE Guide to Sharing Data Between Screens in Jetpack Compose
24:08
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 119 М.
THIS Is How You Schedule Alarms on Android with AlarmManager
21:55
Philipp Lackner
Рет қаралды 39 М.
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Рет қаралды 77 М.
Want to make a video chat app? Watch this video for WebRTC!
1:22:35
Good Morning Developers
Рет қаралды 35 М.
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Рет қаралды 42 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 796 М.
What's new in Android development tools
43:40
Android Developers
Рет қаралды 37 М.