BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-21-2011, 05:14 AM   #1 (permalink)
New Member
 
Join Date: Feb 2011
Model: 7100T
PIN: N/A
Carrier: na
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Could you pls advise me this?

Please Login to Remove!

Hi,

I am just curious if it's possible to develop some BB application to connect and execute some UPDATE statement on the database after user write some string and send back BB message.

For example:

User receives some BB message and they would like to respond or accept the request, then they are just required to write something like 'SOME_CODE,Y' then send out, then UPDATE statement will be executed on the connected database. Such as UPDATE XXXX SET ACCEPT_FLAG = 'Y' WHERE CODE = SOME_CODE;

Thank you very much for your advice.

Last edited by INCEPTION : 02-21-2011 at 05:16 AM.
Offline  
Old 02-21-2011, 08:26 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Could you pls advise me this?

You'll need some type of code on the server side that accepts the request from the BB device and handles the database update.

In the BB domain, this type of simple request is most often done with some GET call to a servlet on the host side. The host code might be as simple as a PHP script that parses the call and makes the appropriate SQL statement.

You might want to look at the HTTP demo that ships with the dev tools, as a starting point.

Last edited by Dougsg38p : 02-21-2011 at 08:27 AM.
Offline  
Old 02-21-2011, 11:49 PM   #3 (permalink)
New Member
 
Join Date: Feb 2011
Model: 7100T
PIN: N/A
Carrier: na
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Could you pls advise me this?

OK, Thank you very much for advice.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Could you pls advise me this?
Thread Thread Starter Forum Replies Last Post
Home Screen of my BB 9700 hanged up! Pls Help!! vhn003 General 9700 Series Discussion - Bold 2 0 10-24-2010 01:37 AM
advise me pls. akhtark74 General BlackBerry Discussion 0 04-13-2010 05:37 AM
pls pls pls help thelibertine General BlackBerry Discussion 11 12-05-2009 08:35 PM
apps for streaming? pls advise.... markyeungcy Aftermarket Software 0 10-10-2008 08:43 AM
BES Admin Experts - pls advise MacFly BES Admin Corner 9 07-03-2007 05:38 PM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.