Code example for ParcelFileDescriptor

Methods: close

0
 
        try 
        { 
            if (mFileDescriptor != null)
            { 
                mFileDescriptor.close();
            } 
        } 
        catch (IOException e)
        { 
            Log.e(TAG, "Error closing file", e);
        } 
        finally 
        { 
            mFileDescriptor = null;
            mAccessory = null;
        } 
    } 
     
    private void showTemp() 
    {