diff --git a/.phrozn/entries/faq/index.twig b/.phrozn/entries/faq/index.twig index b6abd9c..27eda49 100755 --- a/.phrozn/entries/faq/index.twig +++ b/.phrozn/entries/faq/index.twig @@ -2,6 +2,7 @@ id: faq title: Frequently Asked Questions q_alternative: Instead of implementing a SMS gateway as an Android app, why not use X instead? (where X = Twilio, Tropo, Clickatell, FrontlineSMS, RapidSMS, Kannel, etc.) q_rate: How fast can EnvayaSMS send SMS messages? +q_tunnel: EnvayaSMS can't connect to my dev server! What's wrong? q_phones: What phones are compatible with EnvayaSMS? q_servers: Does EnvayaSMS use envaya.org's servers? q_envaya_org: What is the relationship between EnvayaSMS and envaya.org? @@ -17,6 +18,9 @@ q_smssync: What is the difference between EnvayaSMS and SMSSync?
  • {{ this.q_rate }}
  • +
  • + {{ this.q_tunnel }} +
  • {{ this.q_phones }}
  • @@ -128,6 +132,45 @@ To increase the rate at which you can send SMS messages, you can install EnvayaS In order to send more than 100 messages per hour with a single phone, it is necessary to install EnvayaSMS Expansion Packs.

    +

    {{ this.q_tunnel }}

    + +

    +EnvayaSMS may be unable to connect to your development web server if it is blocked by a firewall on your computer, +or if your computer has a IP address that's inaccessible from your phone's network. +

    + +

    +If your Android phone is on the same Wi-Fi network as your development web server, configure the firewall on +your development computer to allow incoming connections to your web server, then simply enter your computer's IP address +in EnvayaSMS as the Server URL. +

    +

    +If you're testing with the phone's mobile data connection, or if your phone and development computer are on different +Wi-Fi networks, the IP address of your development web server is likely inaccessible to the phone. +

    +

    +To allow the phone to connect to your development computer, you can set up a reverse SSH tunnel between your +development computer and a server with a public IP address. +

    +

    +To set up a reverse SSH tunnel, you can either: + +

    +

    {{ this.q_phones }}

    diff --git a/.phrozn/entries/history/index.twig b/.phrozn/entries/history/index.twig index 1cb0bef..067d4d6 100755 --- a/.phrozn/entries/history/index.twig +++ b/.phrozn/entries/history/index.twig @@ -2,27 +2,25 @@ id: history title: History --- -Version 2.0-rc2 (2011/09/29) +Version 2.0 (2011/10/01)

    - -Version 2.0-rc1 (2011/09/28) - - Version 2.0-beta (2011/09/23) diff --git a/.phrozn/entries/how/index.twig b/.phrozn/entries/how/index.twig index 3875569..ed412ed 100755 --- a/.phrozn/entries/how/index.twig +++ b/.phrozn/entries/how/index.twig @@ -22,7 +22,7 @@ work over the phone's mobile data connection, but Wi-Fi is likely to be faster,

    Then your network would look like this:
    - +

    diff --git a/.phrozn/entries/index.twig b/.phrozn/entries/index.twig index 4fdd136..88566f5 100755 --- a/.phrozn/entries/index.twig +++ b/.phrozn/entries/index.twig @@ -6,7 +6,8 @@ layout: default.twig
    - +
    + EnvayaSMS is a SMS and MMS gateway running entirely as an Android app. @@ -51,9 +52,13 @@ It works wherever the phone can receive SMS messages and access the Internet

    In order to deploy EnvayaSMS, you will need a messaging plan for your phone, and the phone itself. - EnvayaSMS is compatible with many old or inexpensive Android phones, e.g. the LG GT540, currently $120 on Amazon.com. + EnvayaSMS is compatible with many old or inexpensive Android phones, e.g. the LG GT540, currently $120 on Amazon.com.

    +

    + Before deploying EnvayaSMS, you can test EnvayaSMS without an Android phone + by installing EnvayaSMS on an emulated phone on your computer. Learn more... +

    - + Install EnvayaSMS Now \ No newline at end of file diff --git a/.phrozn/entries/install/index.twig b/.phrozn/entries/install/index.twig index c604a68..7ecd6df 100755 --- a/.phrozn/entries/install/index.twig +++ b/.phrozn/entries/install/index.twig @@ -1,21 +1,26 @@ id: install title: Installing EnvayaSMS --- -Before installing EnvayaSMS, ensure that you have the following prerequisites: +In order to install and deploy EnvayaSMS, you will need the following prerequisites: -Using an Android phone, open EnvayaSMS on Android Market by clicking the link from your phone's browser, or scanning the barcode with a QR code app. Then, follow the steps shown below to install EnvayaSMS on your phone.
    +

    +Note: If you don't have these prerequisites yet, you can test EnvayaSMS on your computer. +

    -
    +To install EnvayaSMS on an Android phone, open EnvayaSMS on Android Market by clicking the link below from your phone's browser, or scanning the barcode with a QR code app.
    + +
    Open Android Market
    @@ -25,7 +30,7 @@ Using an Android phone, open - +
    @@ -80,6 +85,9 @@ After your server is configured, configure EnvayaSMS on your phone to connect to
  • Recommended: under Wi-Fi sleep policy, select "always stay connected". (Otherwise, EnvayaSMS will be unable to forward messages after the phone goes to sleep.)
  • +
  • Optional: enable Network Failover so that the phone will automatically switch +to mobile data if the Wi-Fi network stops working. +
  • Check "Enable EnvayaSMS"
  • Click the Back button to return to the main screen
  • @@ -93,8 +101,11 @@ then click "Test Connection".

    Important: After EnvayaSMS is enabled, it will forward all SMS messages regardless of whether the EnvayaSMS app is open. If you want to use SMS normally again, return to EnvayaSMS' settings screen -and uncheck "Enable EnvayaSMS". -

    +and uncheck "Enable EnvayaSMS".

    + +

    If you're testing EnvayaSMS with an Android phone that you're also using for normal communication, +you can enable "Test mode" on the settings screen so that EnvayaSMS only handles SMS messages +from particular phone numbers.

    Installing Expansion Packs

    diff --git a/.phrozn/entries/serverapi/index.twig b/.phrozn/entries/serverapi/index.twig index 1cd5ab4..4a84fd0 100755 --- a/.phrozn/entries/serverapi/index.twig +++ b/.phrozn/entries/serverapi/index.twig @@ -32,12 +32,13 @@ HTTP Request Format
     POST /sg/app HTTP/1.1
     X-Request-Signature: sAemG31uRllk/K9xck2WRNaF/WI=
    -Content-Length: 96
    +Content-Length: 120
     Content-Type: application/x-www-form-urlencoded
     Host: 192.168.70.1:3000
     Connection: Keep-Alive
     
    -from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212&action=incoming
    +from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212
    +&action=incoming×tamp=1317506831000
     

    An incoming MMS message with an image/jpeg part and a text/plain part with message 'Test':

    @@ -46,53 +47,61 @@ from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212 POST /sg/app HTTP/1.1 X-Request-Signature: OgpiQet9guVhEp+0klrONR8qGNs= Content-Length: 13087 -Content-Type: multipart/form-data; boundary=i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +Content-Type: multipart/form-data; boundary=i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Host: 192.168.70.1:3000 Connection: Keep-Alive ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="from" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +16505551234 ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG +Content-Disposition: form-data; name="timestamp" +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +1317506831000 +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="message" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="message_type" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mms ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="mms_parts" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -[{"type":"application/smil","filename":"01smil","cid":"<0000>","name":"part0"},{"type":"text/plain","filename":"Text01.txt","cid":"<569>","name":"part1"},{"type":"image/jpeg","filename":"Image0001.jpg","cid":"<570>","name":"part2"}] ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +[{"type":"application/smil","filename":"01smil","cid":"<0000>","name":"part0"}, +{"type":"text/plain","filename":"Text01.txt","cid":"<569>","name":"part1"}, +{"type":"image/jpeg","filename":"Image0001.jpg","cid":"<570>","name":"part2"}] +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="version" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3 ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="phone_number" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 16505551212 ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="action" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit incoming ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="part0"; filename="01smil" Content-Type: application/smil; charset=UTF-8 Content-Transfer-Encoding: binary @@ -113,19 +122,19 @@ Content-Transfer-Encoding: binary </body> </smil> ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="part1"; filename="Text01.txt" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: binary Test ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="part2"; filename="Image0001.jpg" Content-Type: image/jpeg Content-Transfer-Encoding: binary BINARY IMAGE DATA ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO-- +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG--

    Checking for outgoing SMS messages:

    diff --git a/.phrozn/entries/test/index.twig b/.phrozn/entries/test/index.twig new file mode 100755 index 0000000..4390aa0 --- /dev/null +++ b/.phrozn/entries/test/index.twig @@ -0,0 +1,46 @@ +id: test +title: Testing EnvayaSMS +--- + +

    + +If you don't yet have an Android phone, you can test EnvayaSMS in an emulated phone on your computer. +

    +

    +With this method, you can test EnvayaSMS for free +and figure out if EnvayaSMS will work for your project +without needing to get an actual phone or subscribe to mobile service. +

    +

    +The following steps explain how to set up EnvayaSMS on an Android Virtual Device: +

    +
      +
    1. Install the Android SDK on your computer (where you are running a "dev" copy of your website)
    2. +
    3. Create a new Android Virtual Device with a target of Android 1.6 or higher. Specify a size for the SD card (necessary to download EnvayaSMS via the browser)
    4. +
    5. Start the virtual device
    6. +
    7. Open the Browser app and go to sms.envaya.org/install
    8. +
    9. Click on the EnvayaSMS-release.apk link to download EnvayaSMS.
      + Note: Android Market does not work in the emulator.
    10. +
    11. Install EnvayaSMS
    12. +
    13. Configure EnvayaSMS with the settings of your development server.
      + Note: Do not enter localhost as the Server URL (since this would refer to the AVD itself). Instead, use your computer's IP address on the local network, as shown by the ipconfig + or ifconfig utilities. +
    14. +
    15. + + To simulate incoming SMS on the emulator: +
        +
      • using telnet from your host computer, connect to localhost:5554
        + Note: on Windows, you can install puttytel. +
      • +
      • type sms send [phonenumber] [text message] to send messages to the emulator.
        + Note: the emulator cannot receive MMS messages. +
      • +
      +
    16. +
    + +

    +Of course, you can also test EnvayaSMS by connecting a real Android phone to your development web server. +For more information, see the FAQ. +

    diff --git a/.phrozn/layouts/default.twig b/.phrozn/layouts/default.twig index 109bb1f..20f40b2 100755 --- a/.phrozn/layouts/default.twig +++ b/.phrozn/layouts/default.twig @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference diff --git a/.phrozn/media/avd.png b/.phrozn/media/avd.png new file mode 100755 index 0000000..47f9dfe Binary files /dev/null and b/.phrozn/media/avd.png differ diff --git a/.phrozn/media/screenshot-main.png b/.phrozn/media/screenshot-main.png index e9cfc46..d7ad3c7 100755 Binary files a/.phrozn/media/screenshot-main.png and b/.phrozn/media/screenshot-main.png differ diff --git a/.phrozn/media/screenshot-market.png b/.phrozn/media/screenshot-market.png index 32f7a20..d6c3e03 100755 Binary files a/.phrozn/media/screenshot-market.png and b/.phrozn/media/screenshot-market.png differ diff --git a/.phrozn/media/screenshot-pending.png b/.phrozn/media/screenshot-pending.png new file mode 100755 index 0000000..1478847 Binary files /dev/null and b/.phrozn/media/screenshot-pending.png differ diff --git a/.phrozn/media/screenshot-settings.png b/.phrozn/media/screenshot-settings.png index 2eb02d3..d2b8ed6 100755 Binary files a/.phrozn/media/screenshot-settings.png and b/.phrozn/media/screenshot-settings.png differ diff --git a/.phrozn/media/telnet.png b/.phrozn/media/telnet.png new file mode 100755 index 0000000..f60b546 Binary files /dev/null and b/.phrozn/media/telnet.png differ diff --git a/.phrozn/media/topology.png b/.phrozn/media/topology.png index 881fe98..fbffeec 100755 Binary files a/.phrozn/media/topology.png and b/.phrozn/media/topology.png differ diff --git a/.phrozn/styles/site.css b/.phrozn/styles/site.css index 50ade16..433f147 100755 --- a/.phrozn/styles/site.css +++ b/.phrozn/styles/site.css @@ -55,7 +55,7 @@ dd #container { margin: 0 auto; - width: 700px; + width: 650px; } h1 { margin-top:0; font-size: 42px; color: #6b9412; margin-bottom: 3px; } h1 .small { font-size: 20px; color:#666; } @@ -74,7 +74,7 @@ hr { border: 0; width: 80%; border-bottom: 1px solid #aaa} .button { text-decoration:none; - display:block;margin:0 auto;width:200px;background:#6b9412;color:white;padding:8px;font-weight:bold;text-align:center; + display:block;width:200px;background:#6b9412;color:white;padding:8px;font-weight:bold;text-align:center; } a.button:hover @@ -87,7 +87,7 @@ img border:0px; } -.faq_links li +li { padding-bottom:5px; } @@ -100,4 +100,5 @@ img .faq_links a:hover { text-decoration:underline; -} \ No newline at end of file +} + diff --git a/community/index.html b/community/index.html index dc6bfa5..8881e77 100755 --- a/community/index.html +++ b/community/index.html @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference diff --git a/faq/index.html b/faq/index.html index b551302..d5b4f16 100755 --- a/faq/index.html +++ b/faq/index.html @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference @@ -47,6 +49,9 @@
  • How fast can EnvayaSMS send SMS messages?
  • +
  • + EnvayaSMS can't connect to my dev server! What's wrong? +
  • What phones are compatible with EnvayaSMS?
  • @@ -158,6 +163,45 @@ To increase the rate at which you can send SMS messages, you can install EnvayaS In order to send more than 100 messages per hour with a single phone, it is necessary to install EnvayaSMS Expansion Packs.

    +

    EnvayaSMS can't connect to my dev server! What's wrong?

    + +

    +EnvayaSMS may be unable to connect to your development web server if it is blocked by a firewall on your computer, +or if your computer has a IP address that's inaccessible from your phone's network. +

    + +

    +If your Android phone is on the same Wi-Fi network as your development web server, configure the firewall on +your development computer to allow incoming connections to your web server, then simply enter your computer's IP address +in EnvayaSMS as the Server URL. +

    +

    +If you're testing with the phone's mobile data connection, or if your phone and development computer are on different +Wi-Fi networks, the IP address of your development web server is likely inaccessible to the phone. +

    +

    +To allow the phone to connect to your development computer, you can set up a reverse SSH tunnel between your +development computer and a server with a public IP address. +

    +

    +To set up a reverse SSH tunnel, you can either: + +

    +

    What phones are compatible with EnvayaSMS?

    diff --git a/history/index.html b/history/index.html index 8366490..27c3677 100755 --- a/history/index.html +++ b/history/index.html @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference @@ -40,27 +42,25 @@

    History

    -Version 2.0-rc2 (2011/09/29) +Version 2.0 (2011/10/01) - -Version 2.0-rc1 (2011/09/28) - - Version 2.0-beta (2011/09/23) diff --git a/how/index.html b/how/index.html index da7ab25..d9ae9ca 100755 --- a/how/index.html +++ b/how/index.html @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference @@ -59,7 +61,7 @@ work over the phone's mobile data connection, but Wi-Fi is likely to be faster,

    Then your network would look like this:
    - +

    diff --git a/index.html b/index.html index 17d6402..bea41f8 100755 --- a/index.html +++ b/index.html @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference @@ -44,7 +46,8 @@
    - +
    +

    EnvayaSMS is a SMS and MMS gateway running entirely as an Android app. @@ -89,10 +92,14 @@ It works wherever the phone can receive SMS messages and access the Internet

    In order to deploy EnvayaSMS, you will need a messaging plan for your phone, and the phone itself. - EnvayaSMS is compatible with many old or inexpensive Android phones, e.g. the LG GT540, currently $120 on Amazon.com. + EnvayaSMS is compatible with many old or inexpensive Android phones, e.g. the LG GT540, currently $120 on Amazon.com.

    +

    + Before deploying EnvayaSMS, you can test EnvayaSMS without an Android phone + by installing EnvayaSMS on an emulated phone on your computer. Learn more... +

    - + Install EnvayaSMS Now diff --git a/install/index.html b/install/index.html index 26938ef..6446382 100755 --- a/install/index.html +++ b/install/index.html @@ -26,6 +26,8 @@ · Install · + Test + · How it Works · API Reference @@ -39,21 +41,26 @@

    Installing EnvayaSMS

    - Before installing EnvayaSMS, ensure that you have the following prerequisites: + In order to install and deploy EnvayaSMS, you will need the following prerequisites: -Using an Android phone, open EnvayaSMS on Android Market by clicking the link from your phone's browser, or scanning the barcode with a QR code app. Then, follow the steps shown below to install EnvayaSMS on your phone.
    +

    +Note: If you don't have these prerequisites yet, you can test EnvayaSMS on your computer. +

    -
    +To install EnvayaSMS on an Android phone, open EnvayaSMS on Android Market by clicking the link below from your phone's browser, or scanning the barcode with a QR code app.
    + +
    Open Android Market
    @@ -63,7 +70,7 @@ Using an Android phone, open - +
    @@ -118,6 +125,9 @@ After your server is configured, configure EnvayaSMS on your phone to connect to
  • Recommended: under Wi-Fi sleep policy, select "always stay connected". (Otherwise, EnvayaSMS will be unable to forward messages after the phone goes to sleep.)
  • +
  • Optional: enable Network Failover so that the phone will automatically switch +to mobile data if the Wi-Fi network stops working. +
  • Check "Enable EnvayaSMS"
  • Click the Back button to return to the main screen
  • @@ -131,8 +141,11 @@ then click "Test Connection".

    Important: After EnvayaSMS is enabled, it will forward all SMS messages regardless of whether the EnvayaSMS app is open. If you want to use SMS normally again, return to EnvayaSMS' settings screen -and uncheck "Enable EnvayaSMS". -

    +and uncheck "Enable EnvayaSMS".

    + +

    If you're testing EnvayaSMS with an Android phone that you're also using for normal communication, +you can enable "Test mode" on the settings screen so that EnvayaSMS only handles SMS messages +from particular phone numbers.

    Installing Expansion Packs

    diff --git a/media/avd.png b/media/avd.png new file mode 100755 index 0000000..47f9dfe Binary files /dev/null and b/media/avd.png differ diff --git a/media/screenshot-main.png b/media/screenshot-main.png index e9cfc46..d7ad3c7 100755 Binary files a/media/screenshot-main.png and b/media/screenshot-main.png differ diff --git a/media/screenshot-market.png b/media/screenshot-market.png index 32f7a20..d6c3e03 100755 Binary files a/media/screenshot-market.png and b/media/screenshot-market.png differ diff --git a/media/screenshot-pending.png b/media/screenshot-pending.png new file mode 100755 index 0000000..1478847 Binary files /dev/null and b/media/screenshot-pending.png differ diff --git a/media/screenshot-settings.png b/media/screenshot-settings.png index 2eb02d3..d2b8ed6 100755 Binary files a/media/screenshot-settings.png and b/media/screenshot-settings.png differ diff --git a/media/telnet.png b/media/telnet.png new file mode 100755 index 0000000..f60b546 Binary files /dev/null and b/media/telnet.png differ diff --git a/media/topology.png b/media/topology.png index 881fe98..fbffeec 100755 Binary files a/media/topology.png and b/media/topology.png differ diff --git a/serverapi/index.html b/serverapi/index.html index 1e09c91..ab4307d 100755 --- a/serverapi/index.html +++ b/serverapi/index.html @@ -26,6 +26,8 @@ ·
    Install · + Test + · How it Works · API Reference @@ -70,12 +72,13 @@ HTTP Request Format
     POST /sg/app HTTP/1.1
     X-Request-Signature: sAemG31uRllk/K9xck2WRNaF/WI=
    -Content-Length: 96
    +Content-Length: 120
     Content-Type: application/x-www-form-urlencoded
     Host: 192.168.70.1:3000
     Connection: Keep-Alive
     
    -from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212&action=incoming
    +from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212
    +&action=incoming×tamp=1317506831000
     

    An incoming MMS message with an image/jpeg part and a text/plain part with message 'Test':

    @@ -84,53 +87,61 @@ from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212 POST /sg/app HTTP/1.1 X-Request-Signature: OgpiQet9guVhEp+0klrONR8qGNs= Content-Length: 13087 -Content-Type: multipart/form-data; boundary=i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +Content-Type: multipart/form-data; boundary=i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Host: 192.168.70.1:3000 Connection: Keep-Alive ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="from" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +16505551234 ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG +Content-Disposition: form-data; name="timestamp" +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +1317506831000 +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="message" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="message_type" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mms ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="mms_parts" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -[{"type":"application/smil","filename":"01smil","cid":"<0000>","name":"part0"},{"type":"text/plain","filename":"Text01.txt","cid":"<569>","name":"part1"},{"type":"image/jpeg","filename":"Image0001.jpg","cid":"<570>","name":"part2"}] ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +[{"type":"application/smil","filename":"01smil","cid":"<0000>","name":"part0"}, +{"type":"text/plain","filename":"Text01.txt","cid":"<569>","name":"part1"}, +{"type":"image/jpeg","filename":"Image0001.jpg","cid":"<570>","name":"part2"}] +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="version" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3 ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="phone_number" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 16505551212 ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="action" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit incoming ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="part0"; filename="01smil" Content-Type: application/smil; charset=UTF-8 Content-Transfer-Encoding: binary @@ -151,19 +162,19 @@ Content-Transfer-Encoding: binary </body> </smil> ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="part1"; filename="Text01.txt" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: binary Test ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG Content-Disposition: form-data; name="part2"; filename="Image0001.jpg" Content-Type: image/jpeg Content-Transfer-Encoding: binary BINARY IMAGE DATA ---i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO-- +--i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RG--

    Checking for outgoing SMS messages:

    diff --git a/styles/site.css b/styles/site.css index 50ade16..3847768 100755 --- a/styles/site.css +++ b/styles/site.css @@ -55,7 +55,7 @@ dd #container { margin: 0 auto; - width: 700px; + width: 650px; } h1 { margin-top:0; font-size: 42px; color: #6b9412; margin-bottom: 3px; } h1 .small { font-size: 20px; color:#666; } @@ -74,7 +74,7 @@ hr { border: 0; width: 80%; border-bottom: 1px solid #aaa} .button { text-decoration:none; - display:block;margin:0 auto;width:200px;background:#6b9412;color:white;padding:8px;font-weight:bold;text-align:center; + display:block;width:200px;background:#6b9412;color:white;padding:8px;font-weight:bold;text-align:center; } a.button:hover @@ -87,7 +87,7 @@ img border:0px; } -.faq_links li +li { padding-bottom:5px; } diff --git a/test/index.html b/test/index.html new file mode 100755 index 0000000..e01ce14 --- /dev/null +++ b/test/index.html @@ -0,0 +1,110 @@ + + + + + + EnvayaSMS: Testing EnvayaSMS + + + + + Fork me on GitHub + +
    + + +

    EnvayaSMS + + + SMS gateway for Android + + +

    + + + +

    Testing EnvayaSMS

    + + +

    + +If you don't yet have an Android phone, you can test EnvayaSMS in an emulated phone on your computer. +

    +

    +With this method, you can test EnvayaSMS for free +and figure out if EnvayaSMS will work for your project +without needing to get an actual phone or subscribe to mobile service. +

    +

    +The following steps explain how to set up EnvayaSMS on an Android Virtual Device: +

    +
      +
    1. Install the Android SDK on your computer (where you are running a "dev" copy of your website)
    2. +
    3. Create a new Android Virtual Device with a target of Android 1.6 or higher. Specify a size for the SD card (necessary to download EnvayaSMS via the browser)
    4. +
    5. Start the virtual device
    6. +
    7. Open the Browser app and go to sms.envaya.org/install
    8. +
    9. Click on the EnvayaSMS-release.apk link to download EnvayaSMS.
      + Note: Android Market does not work in the emulator.
    10. +
    11. Install EnvayaSMS
    12. +
    13. Configure EnvayaSMS with the settings of your development server.
      + Note: Do not enter localhost as the Server URL (since this would refer to the AVD itself). Instead, use your computer's IP address on the local network, as shown by the ipconfig + or ifconfig utilities. +
    14. +
    15. + + To simulate incoming SMS on the emulator: +
        +
      • using telnet from your host computer, connect to localhost:5554
        + Note: on Windows, you can install puttytel. +
      • +
      • type sms send [phonenumber] [text message] to send messages to the emulator.
        + Note: the emulator cannot receive MMS messages. +
      • +
      +
    16. +
    + +

    +Of course, you can also test EnvayaSMS by connecting a real Android phone to your development web server. +For more information, see the FAQ. +

    + + + + +
    + + + + + \ No newline at end of file