/[projects]/android/Side9/src/dk/thoerup/side9/Side9Xml.java
ViewVC logotype

Diff of /android/Side9/src/dk/thoerup/side9/Side9Xml.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 649 by torben, Mon Apr 19 12:49:31 2010 UTC revision 793 by torben, Thu Jun 3 09:39:56 2010 UTC
# Line 22  import android.util.Log; Line 22  import android.util.Log;
22    
23  public class Side9Xml {  public class Side9Xml {
24                    
25          static final int WIDTH = 400;          static final int WIDTH = 450;
26          static final String BASEURL = "http://apps.todic.net/side9/";          static final String BASEURL = "http://apps.todic.net/side9/";
27    
28          public static Document parseXML(String str) throws SAXException, IOException, ParserConfigurationException          public static Document parseXML(String str) throws SAXException, IOException, ParserConfigurationException
# Line 39  public class Side9Xml { Line 39  public class Side9Xml {
39                                    
40                  URL url = new URL(uri);                  URL url = new URL(uri);
41                  URLConnection connection = url.openConnection();                  URLConnection connection = url.openConnection();
42                    connection.setConnectTimeout(2500);
43                  InputStream is = connection.getInputStream();                  InputStream is = connection.getInputStream();
44                                    
45                  try {                  try {

Legend:
Removed from v.649  
changed lines
  Added in v.793

  ViewVC Help
Powered by ViewVC 1.1.20