BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-28-2012, 02:38 AM   #1 (permalink)
New Member
 
Join Date: Aug 2012
Model: 9800
PIN: N/A
Carrier: vodafone
Posts: 4
Post Thanks: 1
Thanked 0 Times in 0 Posts
Angry How to pass a query string using browser field in blackberry on local

Please Login to Remove!

String baseurl="file:///SDCard/dynamictest.html";
String postData = "name="+namearr+"&age="+agearr;
Hashtable header = new Hashtable();
header.put("Content-Length", "" + postData.length());
header.put("Content-Type", "application/x-www-form-urlencoded");
byte[] post=postData.getBytes();
session.requestContent(baseurl, postData.getBytes(), new HttpHeaders(header));

this code is given in BB site but session.requestContent(baseurl, postData.getBytes(), new HttpHeaders(header)); method does not exist in rim. so i have used
session.requestContent(baseurl, post, header);
this method and wont be able to get the required solution, can anybody tell me the process to pass a query string using browser field in blackberry on local.
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: How to pass a query string using browser field in blackberry on local
Thread Thread Starter Forum Replies Last Post
Las Vegas CES Stuff ZombieBerry BlackBerry In the News 12 01-15-2012 01:59 PM
Unite! Help Guide Sith_Apprentice BlackBerry Unite 17 12-25-2008 02:08 PM
Another Activating Initializing on BB Professional patrickd26 BES Admin Corner 4 05-06-2008 05:12 AM
OS 4.1.0.529/4.1.0.377 - Release Notes and Known Issues jibi General Legacy Device Discussion 19 02-26-2007 07:52 PM
BES for Exchange 4.0.4 Available Now BlackBerryLinks BES Admin Corner 28 05-06-2006 10:38 AM

Flash Furniture Soccer Swivel Task Chair Vinyl Upholstered Round Seat and Back
$58.59
Flash Furniture Soccer Swivel Task Chair Vinyl Upholstered Round Seat and Back picture12 LED Car Emergency Warning Strobe Visor Mount Deck Flashing Dash LightBar Lamp
$34.98
12 LED Car Emergency Warning Strobe Visor Mount Deck Flashing Dash LightBar Lamp picture50Pcs WINBOND W25Q128FVSG W25Q128FVSIG 25Q128FVSIG SOP-8 IC Chips FLASH BS1
$58.95
50Pcs WINBOND W25Q128FVSG W25Q128FVSIG 25Q128FVSIG SOP-8 IC Chips FLASH BS1 pictureFlash Furniture 24'' x 30'' Rectangular Table Top with Natural or Walnut Reve...
$24.96
Flash Furniture 24'' x 30'' Rectangular Table Top with Natural or Walnut Reve... pictureFederal Ultra-Flash Dash Light FB3
$25.0
Federal Ultra-Flash Dash Light FB3  picture






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