p_mcp
p_mcp

Reputation: 2801

Push from Server to Blackberry Playbook

Is possible to make a "push", initiated by a server, to send data down to a Blackberry playbook application?

If so how is this best implemented in Flex/Actionscript? ie. How do we capture this on the client?

Upvotes: 0

Views: 139

Answers (1)

J_A_X
J_A_X

Reputation: 12847

You'll need to use a server that has push technology like BlazeDS, GraniteDS, LCDS, Wowza Server, FMS, etc. Although BlazeDs and GraniteDS isn't 'true' push (it's long polling), it should be more than adequate for 99% of all projects, plus it's completely free to use.

On the Flex end, you only need to setup the consumer to point to the AMF channel (your server) for it to work:

<s:Consumer destination="MessagingDestination" message="onMessage(event)">
    <s:channelSet>
        <s:AMFChannel url="YourServerURL" />
    </s:channelSet>
</s:Consumer>

Upvotes: 1

Related Questions