Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > BOOK: Professional BlackBerry
|
BOOK: Professional BlackBerry
This is the forum to discuss the Wrox book Professional BlackBerry by Craig J. Johnston, Richard Evers; ISBN: 9780764589539
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional BlackBerry section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2005, 04:46 AM
Registered User
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Push-based architecture in BlackBerry

We would like to have some material on how to write applications which can push information to the BlackBerry handheld. We have materials which gives the basic architecture and outline but nothing about coding. Can anyone help us, if possible with some sample codes also ?

Thanks in advance
Regards,

Rajeev
 
Old August 29th, 2005, 12:24 PM
Authorized User
 
Join Date: Dec 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ibanyan Send a message via MSN to ibanyan Send a message via Yahoo to ibanyan
Default

Hi Rajeev.

It depnds on what you would like to push. My book explains how to push out a channel, etc. and the sample PHP code is included in the download. I would start there to see the technique.

Cheers.

Craig.

---
Craig J. Johnston
---
 
Old August 31st, 2005, 06:36 AM
Registered User
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Craig,

Thank you for the reply.

I went through the details for Push in Chapter 11 and 12 in the Professional BlackBerry download.

We basically want to integrate an existing application with BlackBerry. We are looking at automatically popping up an alert to the user in his BlackBerry when there is an update in one of our tables in the Database / App server. When the user clicks on the alert on his BlackBerry he will be redirected to an URL which will prompt him for further actions.

Are there any classes / methods which will help us do this ? Is any reference to this scenario available in the BlackBerry Professional download, if possible with sample codes ? We are using BlackBerry JDE 4.0.2 and also have the MDS and Device simulators.

Thanks in advance
Regards,

Rajeev
 
Old August 31st, 2005, 09:00 AM
Authorized User
 
Join Date: Dec 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ibanyan Send a message via MSN to ibanyan Send a message via Yahoo to ibanyan
Default

Hi Rajeev.

It sounds like you could achieve this with a Channel. If you look at the sample code you will see a PHP file which allows you to push a Reliable Channel. When you do this you have options to force a popup on the screen (these extra commands are detailed in the book). When the user clicks OK, the channel is not invoked however, but the user can simply click on it to be directed to the URL.

I hope that this helps.

Craig.

---
Craig J. Johnston
---
 
Old September 6th, 2005, 12:07 AM
Registered User
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Craig,

Thank you for the help. We will try that out.

Regards

Rajeev V





Similar Threads
Thread Thread Starter Forum Replies Last Post
push to multi dimensional harpua PHP How-To 0 December 4th, 2006 01:47 AM
push to users dfeuerborn VB Databases Basics 2 August 29th, 2005 10:18 AM
push to users dfeuerborn Access VBA 3 August 22nd, 2005 03:10 AM
Pull or Push? sureshvb Crystal Reports 0 August 23rd, 2004 01:13 AM
how far to push Access DB ? seanUK Access 2 July 31st, 2004 05:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.