Need help with samba-documents-provider?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

524 Stars 123 Forks GNU General Public License v3.0 35 Commits 30 Opened issues


Access network file shares directly from the Android Downloads/Files app

Services available


Need anything else?

Contributors list

Samba Documents Provider


This is an Android app that extends the built in File Manager to support connecting to SMB file shares.

This app is built on top of Samba 4.5.1.



Android SDK and NDK r15b or above are required to build this app. Android Studio is highly recommended.

This build guide is only tested on Ubuntu. Changes to make it build on other platforms are welcome.

Build Steps

  1. Download and unarchive Samba 4.5.1 source code.
  2. Change directory to the root of Samba source code.
  3. Create a git repository.
  4. Run
    git apply /sambapatch.diff
  5. Modify to change $NDK to point to your NDK folder.
  6. Uncomment corresponding flags in to compile for different architecture. Uncomment flags for ARMv7 in addition to 32-bit ARM to compile it for ARMv7.
  7. Run
    to configure Samba project.
  8. Run
    to compile
  9. Run /app/src/main/jniLibs/
  10. Change directory to SambaDocumentsProvider source code.
  11. Run
    mv app/src/main/jniLibs//includes app/src/main/cpp/samba_includes
  12. Change directory to the root of Samba source code and run
    make distclean
  13. Repeat step 6-12 for all desired ABI's.
  14. Make sure to change app's
    to include only ABI's that Samba was built for in previous steps.
  15. Compile SambaDocumentsProvider.


Please go to our Google group to discuss any issues.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.