Android Studio Tutorial: Create an app to connect the Arduino using Bluetooth and RxAndroid

preview_player
Показать описание
Hello! thanks for watching my video. Please find my code in this public GitHub repository:

You can find more information about the project in this public Doc:

00:00 Intro
01:15 Integration diagram
02:40 Code review
11:40 Demo & Outro

#androidstudio #tutorial #programming
Рекомендации по теме
Комментарии
Автор

Awesome job! Thank from Brasil. New subscriber.

ViniciusGrandoVieira
Автор

I want real time reading, can you please tell me, how to change the code to get it

JaideepKayasth
Автор

Hello how did you pair your mobile with the module from your phone settings, I can't do it and displays a message "An app is needed to use this device " every time I try to pair with it

husseinalsayedali
Автор

I always get the message “Unable to connect to the BT device” and it doesn't show me the values obtained with the Arduino.
Do you know why I get this error (the search devices works and the connect button is activated)?
I really need help!

goncalofigueiredo
Автор

Thanks for sharing this project.

I am new to android studio java programming and I am stuck behind startActivityForResult which has been deprecated. I don't know how to get around this problem. Thanks in advance for your help.

maui
Автор

hiii this is shruthi...have a doubt that here you have displayed one sensor right! I connected multiple sensors with arduino ...so I want to read all that sensor values means, where can i modify in this code...can you explain

suruthicheththu
Автор

So, at the beginning of the connection, you enter ah passkey right? Does it related to classic bluetooth?

So is passkey based Auth possible on BLE?

And can u plz let me know how to perform esp32 based android app for BLE and I need the passkey based Auth?

mountrat
Автор

Good tutorial.
Maybe you should have a function that refreshes the readings every 10 seconds?

fackaable
Автор

i get the error "read failed, socket may close or timeout, read back: -1" when i click "connect" even though i have connected HC05 before. May you help me?

trungtrung
Автор

Hi! what's up?! is there any way to connect the app to a HC-06(bluetooth model) and receive data from a RFID tag? i would appreciate very much if you could help. Thanks!

wesley-_soaus
Автор

Oye que lenguaje usas kotlin o java? distinguí que hablas español puedes decirme? muchas gracias.

CodeMotionyt
Автор

have you uploaded the output stream feature?

creativearts
Автор

does this work using kotlin instead JAVA ?

clementbranas
Автор

where is the arduino code? At part 1, you only print the data to serial port, you don't send them to bluetooth

goozlo
Автор

what is the source code of the arduino?

PrimeMobileLegend
Автор

Great video, i need someone to help me build similar app using Bluetooth Low Energy, and in kotlin. Paid job. Just a basic app.

lucasianii
Автор

Hey, very nice viedo, but i have a question .. what if i want to read the values continuously, if the Arduino sent a new value to the device, i dont want to click the button everytime, , should i delete the cancel functions ?
tnx

abdalmahayni
Автор

Me sale siempre el mensaje "Unable to connect to the BT device" y no me enseña los valores obtenidos con el Arduino. Sabes porque me encuentro con este error? (funciona el search devices y se me activa el boton connect)

SilviaMolero-vx
Автор

I tried your sample, but because you have these imports I cannot get a build. Could you please explain how to get these libraries into the Android Studio project?

import io.reactivex.Observable;
import
import

That would help me to gain understanding

wasouthpnt
Автор

Hello man, Thank for this video,

Can you help me with this error please?
Task 'wrapper' not found in project ':app'.

Thanks in advance
Obalie

oliviermahe