Send and receive a message to localhost from the android emulator - android

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.

Related

Receive SMS and process the content

I'm developing an app (iOS/Android) with SMS validation. The user receives an SMS with the access code. The app validates the code and if it is valid, enter it. So far no problem, but now my client wants the SMS that is recived to be read automatically by the app (as it does whatsapp).
Has anyone done something similar?
Is there a module that allows me to do this?
I'm working with:
Titanium Appcelerator SDK 6.0.4
IPhone / Android
Thanks in advance.
I made this module a while ago to listen to incoming SMS:
https://github.com/m1ga/ti.miga.sms.receive
Should still work with the latest TiSDK

Sending a message to a contact on another Android device

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/

Sending broadcast message through WhatsApp

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.

Send Flash message from android app

I am able to locate any API which can be used to send flash message from one android mobile to other mobile.
e.g I have two emulators running in my PC.I want to develop an app which allows me to send flash messages from one emulator another emulator.I am able to send sms successfully using SMSManager.
But I am not able to send flash message.
Please Help..

"Read message" report in e-mail in android

I am creating an e-mail client in android. I want to receive the report when my e-mail is been opened at the receivers end. Eg. In outlook we have a read message request, if we use this option the sender will be notified about the message being opened at the receivers end. I used the eclient app from github to start with. I want to be strong on reporting side. any help would be appreciated..
You'd need the app to be installed on both ends. There's no way to know otherwise- you need to be able to run a program on the recipient's computer. Which is why everyone I know has stopped even trying read receipts in Outlook- if the recipient uses any other mail reader it won't send anything. Given the extreme unlikeliness of that happening for all possible recipients of email, this only makes even remote sense if you're in a locked down corporate environment where only your app is allowed to access email on any device.

Categories

Resources