Code example for AssetFileDescriptor

Methods: createInputStreamgetLength

0
					{ 
						Log.e(TAG, "no file found for the Uri:"+ fileUri);
						return null; 
					} 
 
					size = fd.getLength();
					inStream = fd.createInputStream();
					if (size != mSize) {
						mSize = size;
					} 
				}  
            } catch (IOException e) {
					e.printStackTrace();
					return null; 
			} 
			return inStream;
		} 
 
		 
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE