git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@658
180e2498-e6e9-4542-8430-
84ac67f01cd8
\r
public abstract class ThrustCurveAPI {\r
\r
\r
public abstract class ThrustCurveAPI {\r
\r
- private static String url_base = "http://www.thrustcurve.org/servlets/";\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
\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
- URL url = new URL(url_base + "search");\r
+ URL url = new URL("http", "www.thurustcurve.org", "servlets/search");\r
\r
OutputStream stream;\r
\r
\r
OutputStream stream;\r
\r
String requestString = dr.toString();\r
\r
AndroidLogWrapper.d(ThrustCurveAPI.class, "downloadData: " + requestString);\r
String requestString = dr.toString();\r
\r
AndroidLogWrapper.d(ThrustCurveAPI.class, "downloadData: " + requestString);\r
- URL url = new URL(url_base + "download");\r
+ URL url = new URL("http", "www.thurustcurve.org", "servlets/download");\r
\r
OutputStream stream;\r
\r
\r
OutputStream stream;\r
\r