/[projects]/android/AndroidUtils/src/dk/thoerup/androidutils/CheckUpdates.java
ViewVC logotype

Diff of /android/AndroidUtils/src/dk/thoerup/androidutils/CheckUpdates.java

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

revision 1246 by torben, Wed Mar 30 19:25:10 2011 UTC revision 1247 by torben, Wed Mar 30 19:52:31 2011 UTC
# Line 177  public class CheckUpdates { Line 177  public class CheckUpdates {
177                          Log.e(CHECKUPDATES, "Forced update started");                          Log.e(CHECKUPDATES, "Forced update started");
178                          try {                          try {
179                                  byte[] apkData = HttpUtil.getContent(apkUrl, 5000);                                  byte[] apkData = HttpUtil.getContent(apkUrl, 5000);
180                                  File tempFile = new File( Environment.getExternalStorageDirectory() + "/temp.apk" );                                  File tempFile = new File( Environment.getExternalStorageDirectory() + "/"  + HttpUtil.getLastPart(apkUrl) );
181                                                                    
182                                  if (tempFile.exists()) {                                  if (tempFile.exists()) {
183                                          tempFile.delete();                                          tempFile.delete();

Legend:
Removed from v.1246  
changed lines
  Added in v.1247

  ViewVC Help
Powered by ViewVC 1.1.20