case R.id.btnSaveImages:
try {
/*for(int i =0; i<resized.length;i++){
Thread.sleep(10000);
getApplicationContext().setWallpaper(resized[i]);
}*/
Intent i = new Intent(MainActivity.this,WallService.class);
i.putExtra("Imagess", resized);
startService(i);
//getApplicationContext().setWallpaper(resized[0]);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;
try {
/*for(int i =0; i<resized.length;i++){
Thread.sleep(10000);
getApplicationContext().setWallpaper(resized[i]);
}*/
Intent i = new Intent(MainActivity.this,WallService.class);
i.putExtra("Imagess", resized);
startService(i);
//getApplicationContext().setWallpaper(resized[0]);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;