Array

Create Text Message

Must Read

Canon PowerShot G12, A Sense of Motion

Shooting action isn’t always about freezing the action. There are times when you want to convey a sense of...

Online Holiday Shopping – Make it an Easy Holiday!

Holiday shopping can be an adventure in and of itself. Searching for the perfect gift, navigating through hectic stores,...

Proper Main Light Meter Placement

The correct position of the light meter determines the correctness of exposure. Indeed, there’s a reason why incident light...

Storyboarding Your Web Site

Before you start construction on your Web site, there are many steps to be taken. First you must have...

Unsecured Debt Consolidation Loan – Discover the Way Out of Debt

If you have multiple debts, do not think you are alone there living a life of debtor. It has...

Black Friday 2010 Deals At The Biggest Online Retailers

As every year, this year the big online retailers will capture a big percentage of the holiday shopping. With...
Admin
test

The URLRequest class can be used to open the Messaging application to send text messages. By prepending the request with sms:, you will tell Android to launch the Messaging application when the navigateToURL method is called. Figure 6-3 shows
the sample application running and Figure 6-4 shows the Messaging application with the phone number pre-populated. Unfortunately, at this time it is not possible to send a message along with the phone number when using the Messaging application:

<?xml version=”1.0″ encoding=”utf-8″?>
<s:Application xmlns:fx=”http://ns.adobe.com/mxml/2009″
xmlns:s=”library://ns.adobe.com/flex/spark”>
<fx:Script>
<![CDATA[
protectedfunction sendIt_clickHandler(event:MouseEvent):void
{
var s:String = “”;
s += “sms:”;
s+= sendTo.text;
navigateToURL(new URLRequest(s));
}
]]>
</fx:Script>
<fx:Declarations>
<!– Place non-visual elements (e.g., services, value objects) here –>
</fx:Declarations>
<s:Label text=”Send To” top=”40″ left=”50″/>
<s:TextInput id=”sendTo” top=”30″ left=”160″ text=”2125559999″ width=”250″/>
<s:Button id=”sendIt” label=”Send” click=”sendIt_clickHandler(event)” top=”110″
left=”160″/>
</s:Application>

Open a text message in the Messaging application

The Messenging application has opened

Previous articleOpen in Browser
Next articleCreate Email

Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place...

What are 7 things poor people do that the rich don’t?

1. poor people watch TV in which people read books how many hours you spend in front of the TV and when...

Top 18 best small business ideas for beginners starting

A small business can be frightening and requires plenty of careful planning there are many small business ideas which can be beneficial...

Summer that makes you happy

We saw were already here I've been thinking about some of the things. I used to do with my husband even though...

4 Point to helpful tips specifically for caregivers

What you need to take a vacation. I know it sounds impossible creative and try to make it work for you almost...

More Articles Like This