Jump to content

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


Go to solution Solved by maxmp,

Recommended Posts

Yeah, in the title how does Poweramp actually work on Android. Is it caching files while opening or is there a way to access media files directly. Because I heard that new Android restricts users from using files directly.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 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. 

Link to comment
Share on other sites

  • 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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...