I am trying to build an android app , and I reach this point that can I use (broadcast message) feature of WhatsApp in my app , by choosing a random 10 friends (or 10 phone numbers from his contacts) and send them a text message through my app ?
In this link, there are instructions that explain how you can integrate WhatsApp with your app.
It seems that broadcast is not supported by the API, only "regular" message.
Related
Good day,
I developed my first Android App and the IOS is under the way.
I am using a domotic box (Jeedom). When an alarm is trigged a Telegram message is sent to some users with the temperature status. I am a using bot.
My android ans IOS app is showing the localization of the stations, and of course the temperatures.
The bot send a message. I wonder, if it is possible to define a Telegram message with link to open the installed App. As if I send a link to a web site, the link would open the installed Android or IOS app.
That would be great.
Many thanks
i have been doing a lot of research these couple of days and i have not found a good solution to this problem. You see i'm trying to add a feature to my project, that would enable users to send an SMS using the native SMS app. The SMS would be something like check 1001 i would then parse the message for the code and search the database for that id, if the id was found it would send back an SMS to the emulator user found otherwise user not found.
These are the links that i've read. send and receive sms using android emulator then sending sms messages in android also this send message to Wailon server .This does not seem to be a typical server.
The closest i have been to a solution is Envaya sms , but after installing and trying it out, i bumped into a problem reading through their documentation i realized it's more than 5 years old and is no longer maintained. This is obviously not an ideal start.
Is it possiblie to do this on the emulator. I'm using Android Studio by the way.
Edit: To summarize.
I have a laravel website im developing on localhost:8000/
I am running an android emulator via android studio in my linux machine.
Would like to open the emulator and send an sms that would get to the website at localhost.
After processing
Send back a message from the website at localhost to the emulator to be received as an sms.
Emulate SMS
Ctrl+Shift+P
⌘⇧P
To send a text message to the emulator:
Select or type a phone number in the From field.
Type a message in the SMS message field.
Click Send Message.
I am trying to do Mobile Number Verification just like WhatsApp in my Android App. I'm able to send SMS from my Android app.
But I want to achieve these 2 things:
The Sender name in the receiver's Inbox should be a Custom Name decided by my App, like SMS from WhatsApp has sender name somewhat like WTAPP-5550. Currently its showing my Mobile Number.
Making sure that the SMS sent from User's phone doesn't show up in User's Sent Box. Currently SMS appears both as SENT and RECIEVED SMS. Like in d case of WhatsApp , no SENT Message is present only Recieved SMS is.
Thanks and Regards,
Rahul Soni
See Mr Rahul From your question what I understood is you are sending the sms to the mobile number through your app. That is not a good way to verify the mobile number. What you have to do is you have to send sms through the server. Whats app people will connect to their server and from server they will send sms to the entered mobile number. Thats why it will not appear in the sent box. And to set custom name to the sender number you have to use third party sms services.
Hello I would like to make app using android sms app, flow i want to have is:
My app -> Android SMS App(native, handcent, etc) ->(after sending message) My app (check if sms was sent).
I know that it is possible on iPhone, but what with android?
After some research i found that this is impossible using native app. I can do this inside own app only.
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.