\r
public abstract class ThrustCurveAPI {\r
\r
- //private static String url_base = "http://www.thrustcurve.org/servlets/";\r
- \r
public static SearchResponse doSearch( SearchRequest request ) throws MalformedURLException, IOException {\r
\r
String requestString = request.toString();\r
\r
AndroidLogWrapper.d(ThrustCurveAPI.class, "doSearch: " + requestString);\r
+ // Froyo has troubles resolving URLS constructed with protocols. Because of this\r
+ // we need to do it in parts.\r
URL url = new URL("http", "www.thurustcurve.org", "servlets/search");\r
\r
OutputStream stream;\r
String requestString = dr.toString();\r
\r
AndroidLogWrapper.d(ThrustCurveAPI.class, "downloadData: " + requestString);\r
+ // Froyo has troubles resolving URLS constructed with protocols. Because of this\r
+ // we need to do it in parts.\r
URL url = new URL("http", "www.thurustcurve.org", "servlets/download");\r
\r
OutputStream stream;\r