Click here to download codes for the app working
I am using the color picker app which works individually very well , i updated it with bt connectivity to HC_05 device and still working good, later i tried to create the new_activity and tried to send data to HC--05 do not work ,
after reading several hours to google and stackoverflow , i could not manage to do much
Really appreciate if someone can help to put the codes together , i will owe one cheers and many thanks
code is attached
Vinay. I'm working on a similar android- arduino project - smart LED controller. There is very good example from Google on how to use Bluetooth connectivity - https://github.com/googlesamples/android-BluetoothChat . I've been following this example to get things going. There is my project - https://github.com/AlexShutov/LEDLights . Feel free to use code from there. Notice, that you have to connect to HC-05 from you phone (not accept connection from HC-05).
Related
I have developed an android application which is connected through LAN. In my application whatever the data scanned, all that data should export in excel on the desired network PC.
Is there any way to send the data using LAN?
if any one has the related solution, please provide the code, link or any other solution which would be appreciated.
I found that link that could help you, it even provides a full example code in JAVA :
JAVA Simple File Tranfer over LAN
But as others pointed right, you should spend some time on Google, and find a code example to have a start. Then come back with your code when something is not working.
Good evening,
i am trying to build an app that connects with an arduino uno with BLE. It is not the center of my project and i had to learn Android programming in a short amount of time. That is why i am mainly using the BluetoothLeGatt app as a reference. My question may seem obvious for some of you.
I've managed to connect to my device but i do not understand how to read/receive notifications.
I understand the link between the functions used : boradcastUpdate, onCharacteristicChanged, onCharacteristicRead... but do not understand how the process starts(e.g how to launch these functions). Am i supposed to call an action myself ? Is there a problem with my emiter ?
I find the documentation of Android unclear and have spent a few hours searching for solutions before coming here.
Thank you for your answers
The documentation about Bluetooth GATT is quite clear about how to setup a basic project and its basic elements. You shouldn't have any problems to read/write on any characteristics your Arduino announce just by adapting a sample project like this.
Basically all you need is work with BluetoothGatt class getting a specific BluetoothGattCharacteristic of a service, and write into it like this after you've done the scanning and connecting process to your Arduino BLE peripheral.
Hi I am designing an Android App using Android Studio for my class and one of the requirement is that the app should link two users together as "partners" so that they can receive notifications or messages from each other. I already have google sign in available but I don't know how to link two users together. Can someone point me in the right direction to get started? Thank you.
You're looking to create an app that can connect users wirelessly and then do whatever tasks you wish to do. Now I'm not going to give you the code or anything like that, but I'm going to point you in the right direction as you asked.
The Android Developers site is a good place to start: Building Apps with Connectivity
The first two categories are closely related to your type of question, and will give you the stepping stone you need to start developing an app that fits your purpose.
Anytime you have an actual issue with coding it, StackOverflow will have countless solutions I'm sure.
Could anyone show me a way on how to integrate the traffic info app Waze into the website?
I have looked up the previous post but somehow there is no answer to it.
Waze is an application, which offers an actual traffic information. There is also a livemap Waze livemap - where are marks as you can see.
So, I found some site - egaraz and I'm really curious how did they get the data from Waze.
Programming is not my main field but a could still understand some basic php coding.
Could someone suggest me a working solution?
Thanks
a while ago i wrote this project:
https://github.com/Nimrod007/waze-api
you can run this api and get:
get address list from free text
get routes by address (text)
get routes by coordinates
get traffic notification
get navigation instructions
link to full docs:
http://htmlpreview.github.io/?https://github.com/Nimrod007/waze-api/blob/master/docs.html
After googling I found that WAZE has an API for developers which you can use. They have given sample code only for android and ios. I am not sure about php. Check this link from waze developer - http://www.waze.com/dev/documentation/
I'd been trying to make this little desktop java application to backup some predefined files from an android tablet/smartphone to my computer.
Up to now I'd been using mainly the File.getRoots() function to reach every single drive with no trouble. I successfully tested this on two android phones, but the problem came when I tried it on a Galaxy Note. Unlike the first two. this device is not treated as "removable media" but as a "mobile device". Therefore, I can't reach it using my current method, it's just not "listed".
I'd also looked if there's a way to reach those mobile devices through cmd, hoping that helps, but haven't found anything usefull.
My goal is to backup just by plug > run-application > unplug.
So, that's it, i'm stuck! Any clue?
Thanks in advance :D