Skip to content

Commit

Permalink
Parser and downloader both works
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Nov 5, 2011
1 parent eecc6ee commit 0db3333
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Binary file modified bin/classes.dex
Binary file not shown.
Binary file modified bin/com/sid/sid.class
Binary file not shown.
Binary file modified bin/sid.apk
Binary file not shown.
22 changes: 11 additions & 11 deletions src/com/sid/sid.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,28 @@ public void onCreate(Bundle savedInstanceState) {
//ParsedExampleDataSet s=new ParsedExampleDataSet() ;
List DataSet = myExampleHandler.getData();
// tv.setText(DataSet.toString());
// DataSet dataItem ;
ParsedExampleDataSet dataItem ;
// FileURL= (parsedExampleDataSet).getfileurl();
Iterator j;
j = DataSet.iterator();
while(j.hasNext())
{tv.append(j.next().toString());}
/* while(j.hasNext()){
{//tv.append(j.next().toString());}
while(j.hasNext()){

dataItem = (DataSet) j.next();
tv.append("\n" + dataItem.getname());
dataItem = (ParsedExampleDataSet) j.next();
/* tv.append("\n" + dataItem.getname());
tv.append("\n" + dataItem.gettype());
tv.append("\n" + dataItem.getdescription());
tv.append("\n" + dataItem.getdescription());*/
// FileName = "innovation.png";
// = "http://www.pragyan.org/11/cms/uploads/iconman/0000000702_innovation.png";
// Fn=dataItem.getname()+".jpg";
// Url=dataItem.getfileurl();
// startDownload();
}*/
Fn=dataItem.getname()+".jpg";
Url=dataItem.getfileurl();
startDownload();
}
// tv.setText(DataSet.toString());



}

} catch (Exception e) {
/* Display any Error to the GUI. */
Expand Down

0 comments on commit 0db3333

Please sign in to comment.