Mobilizing Your Rails Application - Rails Underground, London, UK
by Brendan Lim on Jul 25, 2009
- 9,874 views
Mobile communication and interaction shouldn't just be limited to voice. There are many ways to effectively take advantage of mobile technology that can help us build better Rails application tailored ...
Mobile communication and interaction shouldn't just be limited to voice. There are many ways to effectively take advantage of mobile technology that can help us build better Rails application tailored to portable devices. Taking your application into the mobile space is easier than one would think. Find out why it’s important to go mobile and just how to do so.
Accessibility
Categories
Tags
More...Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 14
- Downloads
- 140
- Comments
- 0
- Embed Views
- Views on SlideShare
- 9,455
- Total Views
- 9,874
It’s also good to point out that in some developing nations a mobile phone is sometimes their only way to reach the internet.
Not only should we allow them to browse our application from their phones but we should also allow them to interact with our site using SMS, MMS, or e-mail. Many web apps allow us to update our status, upload photos or attachments, just by e-mailing, SMS’ing or MMS’ing from their phones.
As you can see on the bottom -- we actually still have to create our own separate views that are specific to our mobile devices. Mobile Fu doesn’t automagically convert your old HTML views to mobile ones -- so it’s still up to you though to create these views yourself.
So, depending on what device you have, mobile fu looks for a specific stylesheet. It’s pretty straight forward. If somebody hits your device from an iphone it will look for, in this case, foo_iphone, android would be foo_android, and so on. At the moment, the only way to change what it’s looking for is to change the code within the plugin. I’ll be making this more easily configurable rather soon.
So, depending on what device you have, mobile fu looks for a specific stylesheet. It’s pretty straight forward. If somebody hits your device from an iphone it will look for, in this case, foo_iphone, android would be foo_android, and so on. At the moment, the only way to change what it’s looking for is to change the code within the plugin. I’ll be making this more easily configurable rather soon.
So, depending on what device you have, mobile fu looks for a specific stylesheet. It’s pretty straight forward. If somebody hits your device from an iphone it will look for, in this case, foo_iphone, android would be foo_android, and so on. At the moment, the only way to change what it’s looking for is to change the code within the plugin. I’ll be making this more easily configurable rather soon.
So, depending on what device you have, mobile fu looks for a specific stylesheet. It’s pretty straight forward. If somebody hits your device from an iphone it will look for, in this case, foo_iphone, android would be foo_android, and so on. At the moment, the only way to change what it’s looking for is to change the code within the plugin. I’ll be making this more easily configurable rather soon.
Also if you want to present your users with an option to switch to the full standard view -- you can do so by checking to see first if they are currently in the mobile view or not.
Also if you want to present your users with an option to switch to the full standard view -- you can do so by checking to see first if they are currently in the mobile view or not.
Their read by about 94% of their recipients. The other 6% either are ignoring you or don’t know how to use their phones. It’s supported by almost all mobile phones out there. If your phone doesn’t support SMS I highly suggest you get a new phone and donate your old one to a museum. SMS is a good way for you to notify your users of some sort of event since its only limited to about 160 characters.
Also, one thing that we’ve done is just use Mobile Fu and include the standard IUI files -- which has worked out quite well for us.
Their read by about 94% of their recipients. The other 6% either are ignoring you or don’t know how to use their phones. It’s supported by almost all mobile phones out there. If your phone doesn’t support SMS I highly suggest you get a new phone and donate your old one to a museum. SMS is a good way for you to notify your users of some sort of event since its only limited to about 160 characters.
A good thing to point out here is that I’ve seen some issues with international carriers. Some mobile carriers demand that their users subscribe to an E-Mail to SMS gateway service on their plan before they can actually receive these messages. Within the US I haven’t heard of such issues yet.
If you want to retrieve the SMS address we will send out you can call get_sms_address with the number and the carrier. Also, since we have our own pre-defined set of supported carriers, you can use the carrier_select form helper to display a select box with all the carrier values from SMS Fu predefined. If you just want to retrieve back the carriers to use as options for your select box you can just call carrier_collection from your views.
If you want to retrieve the SMS address we will send out you can call get_sms_address with the number and the carrier. Also, since we have our own pre-defined set of supported carriers, you can use the carrier_select form helper to display a select box with all the carrier values from SMS Fu predefined. If you just want to retrieve back the carriers to use as options for your select box you can just call carrier_collection from your views.
If you want to retrieve the SMS address we will send out you can call get_sms_address with the number and the carrier. Also, since we have our own pre-defined set of supported carriers, you can use the carrier_select form helper to display a select box with all the carrier values from SMS Fu predefined. If you just want to retrieve back the carriers to use as options for your select box you can just call carrier_collection from your views.
An example of a keyword is when you hear on a TV show, “text VOTE to 12345” -- VOTE would be the keyword.
When you sign up you choose your own unique Keyword that a user has to type in when they send a message to 41411. They use this keyword to route the message to your service.
They allow you to accept variables /0 through /9. /1 through /9 allows you to choose specific words from the message sent. If you send a text to “KEYWORD this is a test”, /1 would be “this”.
/0 represents the whole string and /p represents the phone number of the sender.
Within Textmarks you’re going to want to add this URL to your account.
Within Textmarks you’re going to want to add this URL to your account.
The cost to you is free, although standard carrier charges for SMS and MMS will still apply to the person sending the text message