Is this even Possible to do using BLE and smartphone APP - android

I've an idea for an App but not sure if it's actually possible to do, any help or advice would be most appreciated.
I would like my APP (BLEAPPX) to open Bluetooth, then list other BLE devices it can 'see' within range. The list would be filtered to ONLY include other devices that had the same BLEAPPX loaded on its device. Is this possible to 'know' that the device has the APP loaded?
I would then like to be able to tap on one of these devices in the list - and assuming the other device does have the same BLEAPPX loaded, to be able to send a request - and have the other device pass back some data - maybe the owners name or App id. In effect - say Hi to someone who also has the same APP loaded and find out who they are.
Can this be done without having to ask the other device to allow Pairing to take place?
Thanks for any help
Phil

Related

Get certain information from Android Auto

I'm starting to research about Android Auto, I want to do my thesis on this.
I want to know if it is possible to obtain from the Android Auto certain information that is important for the thesis project, such as:
bluetooth connections,
phone connections (identifiers, contacts, call logs, SMS),
mass storage devices,
and navigation infomation.
It is a project whose objective is to help researchers obtain important information in court cases.
I will be very grateful any information you can provide to me.
Android Auto is really just another app, but enables a projected experience of the Android system to an Auto supported vehicle dashboard. Architecturally, what 3rd parties are allowed to build on is just a shell/template. The real activities etc are in the Android Auto process, and connected to the car.
When a 3rd party app is being shown, Android Auto just shuttles methods (onCreate, onResume, etc) back and forth between the processes. The information you’re asking about when used while Auto is connected would still be found through the mobile device and not independently within the Android Auto app itself.

Sync between two devices without Internet connection: Is it possible?

My coursework requirement is to build an Android application that lists all available mobile devices within close proximity. None of the devices have access to the internet.
To make things easier, the assumption is that all devices have my application installed.
When user first installs my app, they must define a user name and upload a profile picture.
When they launch my app, it should display the following profile info about other devices nearby:
User Name Profile picture
Now, I know this is an open ended question, but I'm totally stumped and need some guidance.
Specifically, I find these points challenging:
How to establish communication between devices/my app without internet?
How to retrieve other devices' profile picture without having to store everything locally on the device
I did some research and found Wi-Fi Peer to Peer, but not sure if this will be suitable for my use case as I don't have internet access. Bluetooth is another option but I think devices would have to be paired first before exchanging data.
You can starting Wifi hotspot with name like "YourAppName".
And create simple brodcasting this data inside this network.
So:
user opens your app and registering;
your application, checks if there is WIFI "YourAppName".
if NO, your app start hot spot "YourAppName".
if YES, your app promt user to connect to this network.
If connection successfully established, you will need to think how to transmit the list of data to your app, and represent it to user
Hope that this steps will helps you! Good luck

Sharing Data between Smart Devices without wifi

I have heard of communication between two android devices using that touch method or however that works. I understand that communication over WiFi is not a problem. I need to know if it is possible to create an app that would run on multiple devices but in the end would compile data collected on each device into one main database all done without WiFi. It just sounds like a hogwash idea in my mind but is this possible?
There is app call SuperBeam.You'll need SuperBeam installed on both devices and then you'll need to pair the devices using any of a number of methods, including QR Codes, NFC, or by typing a manual code.
https://www.youtube.com/watch?v=hGAAE7qru6g
youtube link if you want to see how to use SuperBeam app
Correction:I tought this app don't use wifi but i guess this app for devices aren't connect to the same Wifi

Android Bluetooth auto connect

I'm am looking to make an app that can connect to device automatically and begin sharing data without explicitly being told to by the user (other than the initial bonding). I would like to, if possible:
Auto-connect and share data when in range of previously bonded/favorited device
Start application on and run methods when connected/signaled by device
Maintain connection on sleep.
All of this should be run in the background.
I'm mostly wondering how possible all of this is and if there are any relevant tutorials to look at. I've run through a few and am able to connect/read/write to my bluetooth device. I am however binding to an activity which I feel isn't the right thing to do as the bluetooth disconnects on activity change.
The whole idea seems a bit daunting as it takes from a few areas I'm not entirely confident in: Bluetooth/Services/AsynTasks.
Any help would be appreciated

Android: Connect two phones wirelessly?

I'm interested in fleshing out an idea for a Android phone app, and I'm wondering if this is possible. So I would have the app running in the background on Phone A, then when it finds another Android phone B, it saves certain information like time, GPS location, just state variables.
But if the other phone is also running the same app, the two phones connect and share trivial non-private information.
Hypothetically, would this be possible? Would I go through a local ad-hoc Wi-Fi connection, or constantly broadcast Bluetooth?
If both people have the same app, you could do it in a round about way. If two people installed the app on their phone and agreed to have their gps coordinates shared, you could upload both sets of gps coordinates to a server as the people move around. The server could then compare which people are close to each other. When the user wants to share information with another user, the phone just needs to ask the server who is in their vicinity and sharing could be done over the internet. This is essentially how Bump works. Bumping two phones together triggers a call to the server to see who else is bumping in that vicinity at the same time. After phones close by are discovered, you might be able to trigger bluetooth pairing and sharing if you don't want to share over the internet.
Bluetooth is the easiest way for two phones to communicate directly with each other. However, both phones would have to be paired through the Settings->Wireless->Bluetooth menu. You would experience better range and speed with WiFi, but this requires a router as far as I know.
I found out how this can be done, use the viewranger app on both phones, create a user and log into the app on both phones. I set this up with myself as the user. Then the second phone (the one with broken gps) is used to track the user who is in my back pocket.
The user in both cases is me.
The problem with this is that a phone signal is required.

Categories

Resources