Keeping it in limits

What is a FileDescriptor?

A file descriptor is an abstract indicator used to access a file or other input/output resource, such as a pipe or network socket.

Any I/O connection is channeled via a FileDescriptor object.

In Android, all I/O operations like Files/Sockets/Database connections/network connections/Handlers/Loopers/Resources open a FileDescriptor and keep it open until this…

Sumeet Devidan

Software Engineer with attention to details.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store