What would be the best way to build a sms application with adobe AIR and AS3? An application that send and receive sms. I found how to send using the uri but can't find any explanations about how to receive and display it.
This cannot be done with the latest version of AIR 2.6. AIR mobile API only allows you to send text messages but does not allow you access to the contacts list or received messages. Your best bet would be to switch over to the native APIs to be able to receive messages (i.e. use the Telephony.SMS_RECEIVED intent). However, AFAIK, access to sms inbox is deprecated in the latest native SDK.
I've heard that some future version of AIR may support native extensions which might come handy (to access contact list, inbox etc.) but no dates. So once again, you're best served to switch over to the native API.
Here's an idea you may consider: write a small native server that would read off of the inbox (provided that is possible/listen to the sms receipt notifications) and forward the data to your AIR/Flex app over a socket. Disclaimer: Haven't tried this out myself, so all bets are off.
If you register the AIR application for the sms: intent (which might be the "sms inbox" dirk mentioned), then you will at least get the notification.
Cheers
Related
Is it possible to send SMS
confirmation (or any other content)
in your application other than by the
SMS gateway? I mean here to send
mass quantities of messages, and
the purchase of this package is
quite expensive. I know that Viber
uses something like that, and I
would like to implement it at home,
but I do not know if it's possible to
do without large costs. Talking
about Android. Please explain.
I was facing same problem. I am using an android app ezSMSgateway(www.ezsmsgateway.com/). it can change your android phone into a sms gateway, so the cost will be cheaper, but you still need to pay your sms fee to telco.
I can't think out a way to sent SMS without any cost yet...
I'm developing application for android by using flex. That app should read sms from android and analise them. How can i read sms? I've searched all over the Internet and couldn't find any articles which would be helpful.
Is there any way to do that instead of using native extention?
"Is there any way to do that instead of using native extention?"
Send sms - yes, but only by calling the device's native SMS client.
Receive/read incoming sms - no.
The Air mobile API includes features that allows you to send SMS messages by invoking the device's native SMS client. There are tutorials available online how to do this, for example this one.
The Air mobile API does not includes methods that allow you to read incoming SMS messages. To implement this on an Android device you would have to write your own Native Extension.This answer on SO explains how to set up a BroadcastReceiver using the Native Android SDK to listen for incoming SMS messages. If you need help on how to implement your own Native Extensions, the Adobe Developer pages on the subject is a good start.
I'm writing an app that stores secret (encrypted+hidden using steg) information in MMS messages. Obviously I need a way to test this, in particular, sending and receiving MMS messages. I have one Android phone, a Nexus One. I know that MMS's cannot be sent between emulator instances, but other than using up loads of MMS credit, is there another way of testing out MMS sending/receiving without just spending loads of money?
Twilio just announced MMS support, and their marketing page has a test box to receive an MMS, could be useful for testing:
http://www.twilio.com/mms
There are some websites that claim you can send a free SMS/MMS messages, such as http://www.text4free.net/ (have not tried it myself though) and commercial SW: http://www.nowsms.com/ (this one works for sure but is not free). Also there is a chance your mobile carrier allows sending messages via its website.
I have to build a feature in my application which allows user to send a skype message.
For this I have installed skype lite client for Android (although offically the download has been currently withdrawn from Skype).
Now how to initiate the activity from my application OR simply send the chat message without bringing it front, assuming I have skype installed in Android & also signed in already.
Any help ? Thanks.
Unless the application, Skype in this case, has some publicly available Intents you can send (like Twidroid has for tweeting) it is not possible.
Alternatively you could find some kind of a Skype proxy web-service that you could call from within your application to relay the messages.
I would like my Android application to react to an incoming email from specific address.
I've heard that you can do it with incoming SMS, but emails are cheaper. Unfortunately, I am not an expert on Android's "intents", so would be really grateful for your help.
There are no documented broadcast Intents for the receipt of emails. As such, what you are trying to do is not possible without either writing your own email client, or contributing to another one (e.g., K9).