TeamAmaze / TeamAmaze/AmazeFileManager
Feature Request : MTP/PTP Browse
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Hi,
One of the missing functionalities of this must have File Manager for Android is the lack of support for external USB MTP/PTP devices. Such devices are CAMERAS, AUDIO PLAYERS and other Android devices connected by wire (USB).
The Android platform has an API with support for MTP/PTP HOST support:
https://developer.android.com/reference/android/mtp/package-summary
And you can test it with any stock Android device with USB OTG support:
- Connect one OTG cable to your Android smartphone.
- Connect one CAMERA over USB to the OTG cable, or connect another Android smartphone and select "USB connection to PC: MTP or PTP".
- Then a message will appear in your main Android smartphone asking to select the App to open with the new USB connected device... Select here the DOWNLOAD App.
- Then you can see the internal Android file manager that can browse and manage the files in the target device.
Then the required support is included. And the functionality can be added to the Amaze File Manager using stock Android APIs.
So, please consider to add this functionality.
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Android MTP/PTP host API linked in the issue and reproduce the USB OTG workflow with a camera or another Android device. Done means Amaze can recognize a connected MTP/PTP device and browse and manage its files through the file manager.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100