I am downloading a image file to save in apps internal storage using AsyncTask but I couldn't find the file in my emulator device manager. here is the code can you tell me exactly where it is saving the image
private class ImageDownloader extends AsyncTask<String,Void,Bitmap>{
HttpURLConnection httpURLConnection;
@Override
protected Bitmap doInBackground(String... strings) {
try {
URL url = new URL(strings[0]);
httpURLConnection = (HttpURLConnection) url.openConnection();
InputStream inputStream = new BufferedInputStream(httpURLConnection.getInputStream());
Bitmap temp = BitmapFactory.decodeStream(inputStream);
return temp;
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
httpURLConnection.disconnect();
}
return null;
}