How to send data from one mobile to multiple mobiles in android - android

I'm Making an android prototype application similar to uber. So I started with building two applications user & Driver,and my question is .
Is it possible to make user app send a request or whatever to driver app even if these two apps are located in different devices.
If that possible I want to make user send his request to the nearby driver & if the driver ignores that request. The request goes
to another driver and so on .
I'm using parse as a backend server .

You can push notification to all and ... who confirm it as first then disable request...

Related

Connection to a wear : Receive data from network

I'd like to send and receive data from a wearOS 3 compose app using only a network connection. According to what I read, I need to use a network connection and not the Wearable Data Layer as it works only for Android devices (and I want to make it work also on iPhone). Also, I don't think using Firebase Cloud Messaging works for user that refuse notification.
To give you an exemple of what I want to do, I already developed an Android/iOS App in which users create an account. I want the watch to be linked with that account. I thougth of using a Qr code on the watch that users will have to scan thanks to the app. Then, I'll record in the database the link between the code from the QrCode and a specific user.
To sum up, how can I notify (and send data) to the wear thanks to the network? If you have a step by step tutorial, it'll be greatlty appreciated!

Send and receive data between multiple devices without using any server or external network

I am creating an app in which I want to add some information such that that whatever I add to my app that data should be visible to every user on their device.
But the problem is I can not use any server but I can use wifi, so is there any way to implement my idea?
I have seen something here related my idea.
Demo app for WiFiP2P data sharing in android

How to (sort of) control android device from webapp?

I need to be able to control Android phone through my webapp. I need to know which permissions do I need to take from user from his/her google account. For example I need another user to be able to send an address to this user and this should open his Google Map with that address shown. Or send a message and it should be somehow opened on the user's phone. Is this all possible? If yes, then how. If no, what can be the closest we can achieve?
If your are creating an Android application that can be installed on users phone than as far as I know this is quite possible...
All you need to do is to use push notifications server like firebase to send the data from your webapp to an application on users phone. Then according to the request received the application has to determine which intent/Broadcast to send.

Is it possible to create an application where the user can send themselves push notifications (and be their own push server?)

I have a need to create an application that will consist of two parts, a PC component and an android app component. I would like users to be able to send themselves direct push notifications to the app running on their device, without me having to run a server that they connect to to handle the push. (Going through Google's push servers are ok)
The first issue of getting their device registry key over the PC is a pain but I think it will be acceptable to get them to email it to themselves and then save it to a config file.
The hard part is that it appears they would require access to my google api key in order to push(and this could be abused). I'd like to to come up with something that is "relatively" easy/automated for them to set up and will allow them to use my software to send messages instantly and directly to their device, which may or may not be on the same network.

how can i locate an android device with a website and communicate with an application installed on it

android is able to locate devices and then communicate and update these device. That is the basis behind what i want to achieve. I have created a Content Management System which is a webpage that requires login details. This CMS will contain a record of all my android devices, the users of these devices and all the applications available for these devices. The CMS was constructed using html and it also uses javascript, php and mysql. each android device will have one of my applications installed on it and will be a wifi only enabled device(so that is how it will communicate with the world).
the scenario is, a device stored on my cms will be used by a user in london and they will be able to access the internet via wifi.I want to send a notification to the device using the cms and my location is . I am logged on to my cms in Scotland.
1, What sort of code or software or technique can i implement into my cms(html code, php code, javascript code) and my android devices and or android applications(java code) that will allow me to send a notification from my cms webpage to my application?
2, how can i make sure it is sent to the right device and the right application on that devices? (i.e if i want to contact someone who has a mobile phone i use their phone number, in this case device does not have a sim card and can only connect to wifi.)
please provide me with a clear answer with links on how to achieve this and excuse my ignorance if the answer is straight forward i am new to this.
again just to make it clear i want to send notifications from my cms webpage to a specific application that i have made in android using eclipse and java on a specific android device whos only connection to the internet is via wifi.
thank you
I think Google Cloud Messaging is appropriate for your problem.
Here is the link: http://developer.android.com/google/gcm/index.html

Categories

Resources