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


CBB60 Motor Run Capacitor 450VAC 10uF/20uF/30uF/40uF/50uF 4 Pins CE Standard picture

CBB60 Motor Run Capacitor 450VAC 10uF/20uF/30uF/40uF/50uF 4 Pins CE Standard

$12.99



BEEYUIHF 625Pcs 24Values Aluminum Electrolytic Capacitor Kit 10V-100V 1F-1000uF picture

BEEYUIHF 625Pcs 24Values Aluminum Electrolytic Capacitor Kit 10V-100V 1F-1000uF

$24.99



CBB60 Capacitor 250VAC 60UF MFD For Motor Run 2 Wires Metallized Polypropylene picture

CBB60 Capacitor 250VAC 60UF MFD For Motor Run 2 Wires Metallized Polypropylene

$12.99



CBB60 Capacitor 450VAC 50UF MFD For Motor Run 2 Wires Metallized Polypropylene picture

CBB60 Capacitor 450VAC 50UF MFD For Motor Run 2 Wires Metallized Polypropylene

$12.99



6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59



CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$129.95







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