Code example for StringBuilder

Methods: append, toString

0
    		}//if 
    	}//if 
    	 
    	//Delete comic from library 
    	if(db.delete("ComicLibrary", "comicID = '"+id.replace("'","''")+"'",null) > 0){
    		file = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/OpenComicReader/thumbs/" + id +".jpg");
    		if(file.exists()) file.delete();
    	}//if 
    	 
    	db.close();
    }//func 
     
    public static void resetProgress(Context context,String id){
    	ContentValues cv = new ContentValues();
    	cv.put("pgRead",0);
    	cv.put("pgCurrent",0);
    	sage.data.Sqlite.update(context,"ComicLibrary", cv,"comicID='"+id.replace("'","''")+"'",null);
    }//func 
     
     
	/*========================================================