Android Application Bluetooth Connection Phone-PC - java

I am trying to develop my Android application which would connect via bluetooth with PC computer and would be able to send data both ways. Like, sending string from Android application to PC and receiving the string on the screen and the other way aswell.
I am on my way to create the application on Android but I was wondering what would be the best way of resolving problem with PC: How would I send and receive the data? Firstly, I thought that I would need separate program but maybe there is some other way?
Could use ANY help on that subject.

There are a lot of solutions for this problem.
Here is the one of possible solutions which could you use as a start point (https://github.com/xamarin/monodroid-samples/tree/master/BluetoothChat).
Here is quick tutorial Simple Android and Java Bluetooth application (http://luugiathuy.com/2011/02/android-java-bluetooth/)
Hope that helps.

Related

Simple HC-05 Bluetooth Communication with Android App

Im trying to build up an app for a simple HC-05 bluetooth comm. All i need my activity to do is to find the HC05 module, connect to it, send an int+char and then stay put for a while until the process on the HC05 module ends. When this happens, the app will listen for a end string and show on screen the process is done. I need the comm to be both ways. I dont know where to start, im pretty new at this. Ive seen plenty of methods using getPairedDevices() but i want this to be short and simple like a point on point connection using a wire. Also those methods are like no discovery and listing at all. For those to work i would have to first pair the phone to the HC05. Its no scalable.
I would really appreciate some advice please.
Thanks

How do I develop a web app for Nokia 6230i?

Is there a way to make an app for Nokia 6230i? I cant find info about this.
I want to make, receive simplest http requests
I saw, that all apps on the internet are .jar, so can i use java for it? If yes, how?
The "developing way" that I think you're searching for is J2ME that is the technology of you can use to make apps for java devices, you can start from there and see if you can implement an web app

Data transfer via Bluetooth

I'm trying to develop a memo app for my Gear S2 that shows my memo written on my phone. Though, I don't know how to send the text to my smartwatch. Doing so via Bluetooth might be the solution. The question is, how can I program it to use it? Thanks for the help.
Edit: Could you give me the code in java or in any other type of language? Beacuse i'm having trouble with that.
You can transfer data between Tizen(Gear) and Android(Mobile) via SAP(Samsung Accessary Protocol). SAP supports both Bluetooth and WiFi.
You can learn about SAP in below site, Samsung Developer official site.
http://developer.samsung.com/gear/develop/creating-your-first-app/native-companion/setup-sdk
You can also get a simple useful sample application to adopt quickply to your project.
http://developer.samsung.com/gear/develop/samples/companion
Good luck to you.

How to control a rc toy with Android app

I have a rc drone. I want to create an Android app to control it but I do not know where to begin and how. I browsed the internet and found only one useful tutorial but it required use of Adruino and was through Bluetooth but I want to create my own Android app and not use Adruino or Raspberry Pi. Please help
First you need to connect via bluetooth (If you have no documentation of your RC drone it will be had to figure out the commands etc).
Maybe you can find a bluetooth sniffer program on the www to record what is going on when using the original hardware.
But I think its not worth the effort. To figure all this out will most likely take a lot of time and might not lead to success at all. So I recommend: next time by a drone where the communication protocol is documented or better a SDK is provided with it.
First, you have to figure out, if this drone uses Wifi or Bluetooth for control, or, some custom- build wireless device. If it use custom adapter, working on another frequency, you won't be able to do anything from software, only reverse- engineer control schematics.

Chat in local area network in android

I am trying to building a LAN messenger application in android.
I searching on internet for reference project but while reading their code i am not able to understand what actually going on.
Can anyone help me or point me to some other good resources that can help me in my project will be great.
It is enough for me if some one told me key points(what are the things required for this kind of project) and just give me little push so that i can start.
An idea would be to use the open source Alljoyn framework to exchange messages on the LAN. There is also a chat example that you can download, run and examine.
More info here:
https://allseenalliance.org/framework/documentation/develop/run-sample-apps/chat

Categories