Regarding Bluetooth Protocol - android

Can Android app installed in tablet show alert for in-coming Call or SMS of any other device (Nokia,iPhone,Window) with it is paired by blue-tooth ?
What i am able to do -
I can pair android device with any other device (Nokia,iPhone,Window) by blue-tooth protocol.
Now how can detect that there is In-coming call or SMS on device which is paired with ?
Anybody has idea for similar feature in android ?

One way of implementing it is to write two applications one for each device which will communicate via bluetooth.
You will have to define and implement a protocol between the two devices.
The application on the phone will register to listen for Intents for incoming call and incoming SMS. For example look at http://www.krvarma.com/2010/08/detecting-incoming-and-outgoing-calls-in-android/
and
Once you receive these intents on the device then send information to other device through the defined prtotocol using bluetooth. For example you can use XML to communicate.
And then on the other device application you will show notifications using Activity.
I hope this helps

Related

Interaction between Android Tablet to Android Phone and Android Tablet to Headphone/Helmet via Bluetooth

Bluetooth communication should happen between Android Tablet, Android Phone and Headphone/Headset/Helmet.
Android Phone: Responsible to send Incoming call and Media Infotainment data to the Android System (Tablet).
Android System (Tablet): is responsible to take actions [Media: (Play/Pause/Next/Previous) and Phone call: (Accept, Reject, Silence)] based on the data received from the Android Phone. Also send Map navigation instruction to the Headset/Helmet.
What I had tried so far,
RFCOMM connection between Android Table and Phone that send and receive data to and from Tablet to Phone. But doesn't allow to control phone to take actions sent from Tablet.
Possible approach
Bluetooth Headset profile will do the same thing, so any way to set Bluetooth profile while connection between Tablet and Phone will solve the Media and Incoming phone call requirements.
Is these possible? If so what are the possibilities to achieve the same?

Is it possible to remote android phone from a Bluetooth device?

I have a Bluetooth device which can receive a data from the android phone. When it receive a string as 'Request', the device will send a control message to the phone 'Open'. Based on the control message, the android phone can call an Intent service as open a calling. Due to security, I am not sure is it possible in android version 5.0 to 6.0? Can you give me some suggestion?
Yes, It is possible inside your app to handle messages received from other devices.

Chromecast receiving input from multiple devices on RemoteCast

I realize that it is possible to create a Custom receiver in order to receive messages from multiple devices.
Is it possible to use the Remotecast (https://developers.google.com/cast/docs/remote) API in order to run an application on the Chromecast which receives input from multiple devices?
When using Remote Display, you are running a special receiver on the cast device which only communicates with the device that set it up, so other devices cannot communicate with that receiver directly. The workaround is to communicate with the sender device that set up the remote display to influence the experience on the cast device.

How to send SMS using Bluetooth?

I have two devices on Android. First doesn't have GSM module, second have it. I need to make calls and send SMS from first device programmatically.
For that I want to pair this devices with Bluetooth. As I know Android has built-in support for calls via BT. But how to send SMS from first device through second device using BT?
Try this Its working fine for me Bluetooth chating working using UUID.

Is it possible to send a message from one android mobile to another android mobile using bluetooth or wifi with out pairing?

Presently I am doing my work in the android field. I am trying to develop an application to send a message from my bluetooth/wi-fi enabled mobile to other bluetooth/wi-fi enabled mobiles without pairing.
Is it possible to send message to another mobile in my blueooth or wi-fi range without pairing? If it possible how can I send the message to another mobile with out pairing?
If your talking about SMS this does not apply.
For Wifi have a look at this project http://code.google.com/p/remotedroid/.
For Bluetooth this thread explains how to archive what your looking for.
http://developer.android.com/guide/topics/wireless/bluetooth.html
To send data over to Bluetooth device all you need is the Mac address of that device.
Read the Bluetooth tutorial, its very helpful.
Shortly and sweetly, No.. You cant send messages to other mobiles without some kind of authentication.
For sending Message (SMS,MMS), I don't think so, Without pairing how could you know the device Id, to which you want to send a message, And if you don't pair the devices then how they communicated to each other,
EDIT: For bluetooth As per my knowledge it's impossible to send or receive data over RFCOMM sockets without pairing.
And for WiFi , setup parallel server/client threads on each device, and send whatever you want. To discover services on a local network you can optionally use zeroconf.
Look at these links,
Bluetooth pairing without user confirmation
Bluetooth SPP between Android and other device, UUID and PIN questions
How to send and receive data in Android Programming using bluetooth without pairing?

Categories

Resources