I am an android applications developer. I just wanted to know that can we get the geo location of a phone number just by calling or sending an SMS to that number? Like in whatsapp, we can see the last seen time of the person, likewise can we get the last seen time with the exact last location. This is found in facebook messenger. I am just curious if it is possible using just a phone number.
Android apps that share current user(phone number) location identify there users by phone numbers, i think you already sent an SMS to Whatsup or Viber service before using it and you must put your phone number in your Facebook profile, those services can stock last known location of there users periodically (each 2 hours) or each time the user use this app in there servers and share it with other users check my detailed answer here https://stackoverflow.com/a/21714011/1889341
No, the call and sms data not contains position(as geo localiation) and Android is not able to get them on receiving call that i know.
The only way is to create a custom Service android that catch the event of outgoing call and send the position to your own API server on to register this event and work with it.
Whats app and facebook are not normal SMS message. Are response to a web service that contains custom data. The facebbok and whatsapp developer have created a data structure that aggregate the informations of geo localization to the message data.
Related
I made a school-related app. I have a feature where I need to send a "Customized message" for all students/parents based on their own data (Suppose , their attendance data after their attendance has been taken by teachers then every parents will get an SMS from my app) .
But the Google play store is rejecting this update continuously. They consider the SEND_SMS permission as sensitive permission but for this specific use case, I need to do that. It is not possible to send a customized message to every single student with their numbers easily with the default SMS app.
Here is an email reply from the google support team.
And here is the Google permission policy.
What might be a proper solution without rewriting the business logic? I'm thinking of making the app a default app sender but it needs rewriting business logic and also a hesitation about a policy violation. I can't send SMS by API getaway as my users are not capable to pay for it. And I'm not finding any useful solution to send single student-based SMS via my default SMS app with a single click.
Im building a service that will send an invitation to an event through a WhatsApp group using whatsapp API.
Of course, it will require me to interact with the request to select the group and so on, which is OK, but there is no way (without expending money) for my app to "read" who will join.
I though in sending a link, which on tap, will generate an request on the guest to send me back an SMS, and then my app to "listen" and generate a database of those who agree to be in meeting (my app later will send another message to the group to confirm o cancel the meet according to the amount of people who get involved).
I think i can ask the people to send, but if i ask them to write the sms, they will not do it (lazy people).
There is a way i can write a link like "sms:myphonenumber?ImIn!" to send, so the device will build the SMS for them?
I know from a web u can do something like href:...., and will do the work for them, but not sure otherwise.
I have a question... I wonder, is it possible to make an application, that will read specific sms (always the same value, 2 numbers), and then delete the sms, so that the user does not see it (meaning that only the app will see it and use the data, but the user of the app will not be bothered with the information the app used)? The application would first send sms to the other device and then it would get the response in two float numbers. Is there a possibility to make that?
While building my first Android app (a simple game), I came across this (most probably newbie) problem:
my app needs to send a message to a contact (chosen from contact list) via my own server.
same app installed on this contact's device, needs to retrieve this message.
The problem I am facing is contact "identification". How can the app identify a contact such that one device sends a message for this "ID", and another device polls for messages intended the same "ID?
Maybe there is some kind of ID associated with a contact having an Android device?
Thanks (and sorry for newbie question :)
You can try push notifications service, by using the google cloud messaging.
From the first device you can send an http request containing message to a server that manages the request and sends message to the second device, or to more than one device.
You can find a tutorial here
https://developers.google.com/cloud-messaging/
I am trying to develop an application in android using eclipse . This application is like finding the friend location and directions using android mobile .
I am doing this in a way :
First this application is installed in user and friend both , when the user wants to retrieve the location of the friend , in our application we want a auto-message to be sent to the friend which asks his permission .If he gives it , a message containing the location(latitude, longitude) of friend goes to user and then He gets the location and path to that friend .
Now Getting the location part in a mobile having the This application has been done .
But The auto messaging part is still incomplete .
So if anyone can tell me any tutorial or sample code to sent auto messages( like in facebook we do add as a friend and a message is sent for the approval )
All of this is done through GPS .
There are loads of examples over the net on how to send automated sms messages. Here are a few i found courtesy google..
http://mobiforge.com/developing/story/sms-messaging-android
http://thinkandroid.wordpress.com/2010/01/08/sending-sms-from-application/
Basically you need to know how to use intents and BroadcastReceivers that will listen to particular events and send the text message, and do particular actions when sms is received also.
Hope this helps.
You could try to use a server that sits between the two phone as an intermediary. You can have the first phone send a request to the server saying "Hey, where's friend X". The server can then use something like android Cloud To Device Messaging to push a query to the friends phone. Then on the friends phone, have an activity pop up asking for permission to send the location. A message containing the location can then be sent back to the server and pushed to the first device using C2DM again.