BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-28-2012, 02:38 AM   #1
decimaltech
New Member
 
Join Date: Aug 2012
Model: 9800
PIN: N/A
Carrier: vodafone
Posts: 4
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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
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


8 AWG Gauge PV Wire 1000/2000 Volt Pre-Cut 15-500 Ft Solar Installation RED picture

8 AWG Gauge PV Wire 1000/2000 Volt Pre-Cut 15-500 Ft Solar Installation RED

$80.00



250 FT 12/2 NM-B W/GROUND ROMEX® Colonial Wire picture

250 FT 12/2 NM-B W/GROUND ROMEX® Colonial Wire

$103.50



20 Pieces tie Rod nut Wire Connector 8-Port PCT-218 Classified Conductor Comp... picture

20 Pieces tie Rod nut Wire Connector 8-Port PCT-218 Classified Conductor Comp...

$25.49



100FT 16/2 Gauge Red Black Cable Hookup Electrical Wire, 16AWG 2 Conductor 2 ... picture

100FT 16/2 Gauge Red Black Cable Hookup Electrical Wire, 16AWG 2 Conductor 2 ...

$32.48



WindyNation 6/3 SOOW SO 6 Gauge 3 Conductor Portable Power Cord 600V Cable Wire picture

WindyNation 6/3 SOOW SO 6 Gauge 3 Conductor Portable Power Cord 600V Cable Wire

$767.21



104100 100' 10/4 SOOW Wire Cord Cable Portable Power 10 Gauge 4 Conductor picture

104100 100' 10/4 SOOW Wire Cord Cable Portable Power 10 Gauge 4 Conductor

$294.36







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