Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
08-20-2010 11:17 PM
this should be a simple problem but i still can't get it to work.
i have a class. i've attached a bit of the code.
public class HttpRequestDispatcher extends Thread
private String url;
private String method;
private NetworkingMainScreen screen;
public void run()
i'm trying to pass the value of the url to this class from the main class using -
private void getURL()
HttpRequestDispatcher dispatcher = new HttpRequestDispatcher(urlField.getText(),"GET",thi
dispatcher.start(); //urlField.getText(), "GET", this
this gives an error and it should as the class HttpRequestDispatcher does not acceptany parameters. but how do i solve the problem
thanks a lot
Solved! Go to Solution.
08-21-2010 12:00 AM
public HttpRequestDispatcher(String url, String method, NetworkingMainScreen screen)
Do like this , u didnt used formal arguments in the constructor
08-21-2010 12:05 AM
When u acll ur Thread class then U r passing three parameter,
But in the thread class constracter U r not using parameter.
now what is this. Errror must Come.
Look at the swati example, This is right.