BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 07-28-2008, 08:38 PM   #1 (permalink)
New Member
Join Date: Jul 2008
Model: none
Carrier: none
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default HTTP Post

Please Login to Remove!


Is it possible to HTTP post information to a server without having what the user sees refresh? Namely, I just want to send info to the server in the background.

Old 07-28-2008, 10:44 PM   #2 (permalink)
Thumbs Must Hurt
Join Date: Dec 2005
Model: 8310
Carrier: Rogers
Posts: 138
Post Thanks: 0
Thanked 0 Times in 0 Posts

Could you clarify what you mean by "having what the user sees refresh"?
Old 07-29-2008, 06:57 AM   #3 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

If I understand the question, the user is using the Browser on the hand held, and you want to send information back to the server without loading a new page. There may be some Java script functions that will do this, though you will have to limit yourself to the Java script supported by the Blackberry browser (or some third party browser).
Old 07-29-2008, 08:44 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts

if I understand the question, quantim5, you should utilize a Thread to send and receive information.

Initialize the thread when you need it, this way your UI Thread won't be blocked

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.