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

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.

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?

How to send notifications from a phone to device connected via BLE

I am trying to develop a companion app for a project of mine.
I want this app to relay incoming notifications on my phone to a device connected via BLE. This device will then display the text data on a screen, similar to a heads up display so that I can use it in my car and not have to go through my phone while driving (also illegal of course).
I want to know what is required for my app to be able to get notifications, and send it via BLE to the already connected device. I'd also really like to know if this can be done for an iOS app since I would prefer to end up with the final app being built for iOS. If not, android is fine for now.
This device is an ESP32 and will run its own code to execute actions when text is received.
Thank you

Android send notification message to device without client app installed on the device

I would like to know is there any way to send notification from a server to an Android device without a client app installed on the device. Does android OS has such functionality. Based on the answer here Does Android support near real time push notification? Google Cloud Messaging do similar things, but it seems the client app need to be installed on user mobile.
Basically what I want do when an android device comes in range of an iBeacon
I need to send the notification messages to the user mobile.
Is there any way to achieve it. Any possible solution?
Edit:
The real scenario is like,
I have the beacon placed in somewhere, when the a device comes in range of the beacon, some how I have to detect the device(if the device Bluetooth is on) and get some id of the device send notification from cloud server. Where as the device(Android phone) don't know the beacon is there, or there is no app installed on the device to detect the beacon.
I am not sure whether it's possible to achieve the above goal in such a scenario.
Please let me know your valuable feedback.
Chrome 42 or higher for Android supports push notifications from websites, which allows you to send notifications without installing an app.
If you're specifically looking to start notifications from a beacon, Chrome 49 added support for beacons

is it possible to make phone ring based on the notification received via BLE,

I am trying to send the notification to the andorid phone ( using NRF51DK bluetooth BLE)my concept is press the bitton on the NRF51DK and it will send notification to the phone and by using that notification does it possible for the android app developer to make phone ring? can anybody please verify with my concept am i right or wrong? if wrong what are the other possible ways to do that
Thank you
I Think phone call to another phone number is possible.
But it will be impossible to make my phone receive call.. if it imeans real call.. not just sound.
Yes, you can make the phone ring based on the notification received via ble device such as NRF51DK.
Use this library to send and receive data from and to that ble device with your android app - https://github.com/richhowley/Android-BLE-to-Arduino
And just when you get any specific kind of message from ble device just place the simple code for making a beep sound or notification in android applications.
It is that simple.

Regarding Bluetooth Protocol

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

Categories

Resources