project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Downloader/DownloadPackage.java
changeset 7508 763d3961400b
parent 6842 2e6391f33204
child 7584 7831c84cc644
equal deleted inserted replaced
7504:ed1d52c5aa94 7508:763d3961400b
    18 
    18 
    19 package org.hedgewars.hedgeroid.Downloader;
    19 package org.hedgewars.hedgeroid.Downloader;
    20 
    20 
    21 import java.io.IOException;
    21 import java.io.IOException;
    22 
    22 
    23 import org.hedgewars.hedgeroid.Utils;
    23 import org.hedgewars.hedgeroid.util.FileUtils;
    24 import org.xmlpull.v1.XmlPullParser;
    24 import org.xmlpull.v1.XmlPullParser;
    25 import org.xmlpull.v1.XmlPullParserException;
    25 import org.xmlpull.v1.XmlPullParserException;
    26 
    26 
    27 import android.content.Context;
    27 import android.content.Context;
    28 import android.content.SharedPreferences;
    28 import android.content.SharedPreferences;
   134 						}catch (NumberFormatException e){
   134 						}catch (NumberFormatException e){
   135 							e.printStackTrace();
   135 							e.printStackTrace();
   136 							version = -1;
   136 							version = -1;
   137 						}
   137 						}
   138 					}else if(name.equals("path")){
   138 					}else if(name.equals("path")){
   139 						path = Utils.getDataPath(c) + text;
   139 						path = FileUtils.getDataPath(c) + text;
   140 					}else if(name.equals("representation")){
   140 					}else if(name.equals("representation")){
   141 						representation = text;
   141 						representation = text;
   142 					}else if(name.equals("description")){
   142 					}else if(name.equals("description")){
   143 						description = text;
   143 						description = text;
   144 					}else if(name.equals("uniqueid")){
   144 					}else if(name.equals("uniqueid")){