Sencha Inc. | HTML5 Apps

Blog

Announcing AT&T API Platform SDK 2.1

August 30, 2012 | Kevin Cassidy

Introduction

Sencha and AT&T

Sencha is pleased to announce the release of the latest version of our SDK that allows developers to utilize AT&T APIs from within an HTML5 application.

This release of the SDK builds upon the previous release by including Sencha Touch 2 and adding access to new APIs such as Speech and In App Messaging from Mobile Number (Beta).

SDK Contents

The kit is available from the AT&T Developer Program website and contains the required classes to include in your Sencha Touch application. Required gateway server software is also provided in three popular languages—Ruby on Rails, Java, and PHP—with detailed documentation on installation and configuration of each server.

The SDK makes use of Ext.Direct to communicate with the server which acts as a gateway between your Sencha Touch application running on a user client, and the AT&T API servers.

Getting Started

As with the previous version of the SDK, you will need to download and unpack the kit into your development environment. Note that this SDK is not backwards compatible with the previous version, so any application you have already created needs to be upgraded to Sencha Touch 2. For information about migrating your applications from ST 1 to ST 2 please review our migration guide.

New APIs

AT&T has introduced a few new APIs in this release which are quite exciting and open up a world of possibilities for your application.

The Speech API allows you to send an audio file to AT&T where it will analyze and convert the audio to text. It is optimized to transcribe speech to text for numerous contexts, allowing it to return more accurate results.

In App Messaging from Mobile Number (Beta) allows users to send text and picture messages from within your app to any U.S. mobile phone using their own AT&T phone number.

Existing APIs

In addition to the new APIs introduced above, AT&T has a strong suite of APIs available on the AT&T Platform.

SMS, Short Messaging Service—send texts from your application to AT&T wireless customers.

Payments—gives developers and merchants the ability to charge goods and services directly to an AT&T subscriber bill.

MMS, Multimedia Messaging Service—send longer text messages and pictures to AT&T wireless customers.

Location—locate and retrieve coordinates for a device with the user’s consent.


Invocation

Using Sencha Touch MVC architecture, including the SDK in your application is a simple matter of configuring the location of the class in the Ext.Loader and invoking an instance of the class:

Ext.Loader.setConfig({
    enabled: true
});

Ext.Loader.setPath({
    'Att': 'app/lib'
});

/**
 * {Sample description here}
 * @class SampleApp
 */
Ext.application({
    name: 'SampleApp',

    // add your controllers, views, models and stores here
    controllers: [],
    views: [],

    launch: function(){
        this.Provider = new Att.Provider({
            // optional configurations
        });

        this.provider.sendSms({
            address : '1-818-555-1212',
            message : 'Your message here',
            success : function(response) { .... },
            failure : function(error) { ... }
        });

    }
});

Imagine Possibilities, Create Functionality

With Sencha Touch and the AT&T SDK, your mobile applications can communicate with your users in ways other applications cannot. Using the APIs from AT&T you now have the ability for your application to reach out to mobile devices and do things like:

  • Let users know of account activity such as new messages.
  • Send users lost passwords to their mobile device.
  • Collect payment for enhanced app features.
  • Locate services and businesses nearby.
  • Send images to mobile devices for coupons, etc.
  • Implement text polls and contests for your members.

For more information and to get started, visit the AT&T Developer Site.

Written by Kevin Cassidy
A graduate of Acadia University and a proud 'bluenoser', Kevin has been developing web based applications, administering Linux networks and providing support for over 20 years for a variety of companies large and small. He joined Sencha in the spring of 2012 as a member of the Services Team. Kevin is one of a growing number of Canadians to find a home at Sencha and currently lives in Winnipeg, Manitoba (about as far from the ocean as you can get in Canada).

Share this post:
Leave a reply

There are 7 responses. Add yours.

Jacques

2 years ago

AT and who?

signed: The world

Matt Golding

2 years ago

Jacques +1

Apparently Sencha Touch is only used to create American apps.

Kevin Cassidy

2 years ago

Currently, AT&T is the only U.S. wireless provider who has contracted with us to create an HTML5 SDK for their network. No other U.S. providers offers any APIs to developers that are HTML5 compatible - AT&T is the first to do so.

SDKs for other providers (both domestic and international) may become available in the future, but as of yet, AT&T is the first to approach the Sencha Services Team to create an HTML5 solution for their networks.

If you know of any wireless provider that has a developer program, such as AT&T does, and have APIs which are HTML5 compatible, feel free to let them know about us and our services.

Regards,

Kevin Cassidy
Solutions Engineer,
Sencha, Inc.

masterpapers.com

2 years ago

Very interesting article! Thx dude =)

vivien

2 years ago

  Let users know of account activity such as new messages.
  Send users lost passwords to their mobile device.
  Collect payment for enhanced app features.
  Locate services and businesses nearby.
  Send images to mobile devices for coupons, etc.
  Implement text polls and contests for your members.
yes

Ada Smith

2 years ago

nice work

Kazuhiro Kotsutsumi

2 years ago

I translated it into Japanese.

http://www.xenophy.com/javascript/2849

Provision: Japan Sencha User Group
http://www.meetup.com/Japan-Sencha-User-Group/about/

Comments are Gravatar enabled. Your email address will not be shown.

Commenting is not available in this channel entry.