header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Amina
Points:270
Posts:12

5/7/2010 9:51:16 AM

Title: Sending sms


Hello everyone
someone has an idea how from an application rich developed in Flex Builder 3 send an sms to a specific number.
Thank you in advance



1
Rex
Points: 1180
Posts:0
5/7/2010 10:12:23 AM



you cannot send SMS from flex itself , but you can provide the interface to write and edit the sms, after that in send sms button you can call an HTTPservice or WEBservice which can send the sms. The server side service will be using some sms gateway API.

2
Amina
Points: 270
Posts:12
5/7/2010 10:50:38 AM



what I must do is to send an sms after an event (I am developing a video surveillance system using flex) so I wonder if it can not be automatic. You speak about HTTPService I have to write it in php?! rex thank you for your help

3
Rex
Points: 1180
Posts:0
5/7/2010 11:10:14 AM



Right you can write sms sending code in server language like PHP. which will accept data from flex application and send the sms. The flex can call the PHP page and send variables by POST request just like submitting a form.

So you must be sending sms to inform the user on some event of video surveillance system like when intruder detected etc. AS soon as your event occurs you just need to call the php page with parameters like what has happened and send the request using GET or POST.Rest should be handled by PHP page itself.

4
Amina
Points: 270
Posts:12
5/8/2010 2:27:13 AM



yeah thank you, but I do not know what to write in the php code: (

5
Rayan
Points: 690
Posts:0
5/8/2010 2:49:02 AM



you need to have a sms gateway account which is payed and charges are either on per sms sent or package of sms messages. You can use that account in php to send sms . You can find many tutorials for sending sms using php. Check these few links :
http://www.sephiroth.it/tutorials/flashPHP/sms/
http://www.ozekisms.com/index.php?owpn=327
http://www.ozeki.hu/index.phtml?ow_page_number=142

6
Amina
Points: 270
Posts:12
5/8/2010 2:54:49 AM



hello!
if I use the php code I have to go through a sms gateway I wonder if these services are free !!!!?!!!

7
Amina
Points: 270
Posts:12
5/8/2010 2:59:53 AM



oh thank you again rex you're really very help full.
if the account is paid I give up I'm juste a poor student :D

8
Amina
Points: 270
Posts:12
5/8/2010 3:08:43 AM



Rayan thank you for the links but as you said the account is paid: (


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions