Jump to content

How do Poweramp accessing files while Android restricts apps from using files directly?


Go to solution Solved by maxmp,

Recommended Posts

You've probably been listening too much to what Sonos are trying to fob off on their users to avoid doing proper development work.

The Poweramp Library only works with files stored on your local device (plus some shoutcast streaming options) and it can read your audio files from both internal memory and SD Cards (if available) on all Android devices.

There are some Google hoops to jump through to provide the required access permissions, but that should only be necessary once when you first install the app.

Andre

  • 2 weeks later...
On 5/20/2023 at 9:34 PM, andrewilley said:

You've probably been listening too much to what Sonos are trying to fob off on their users to avoid doing proper development work.

The Poweramp Library only works with files stored on your local device (plus some shoutcast streaming options) and it can read your audio files from both internal memory and SD Cards (if available) on all Android devices.

There are some Google hoops to jump through to provide the required access permissions, but that should only be necessary once when you first install the app.

Andre

I don't know who is Soros but I was trying to build a media player app with flutter and some developers said about this android restrictions. But I find a workaround with a 3rd party library. 

  • Solution

@Rayraychen Android doesn't restrict from accessing files in general, it may disallow certain types of file IO on some folders/storages/directories (sometime in a weird way) - similar to other OSes. It's quite documented, e.g. https://developer.android.com/guide/topics/data

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...