Jump to content

Poweramp API Lib and Sample Applications (updated for v3)


admin

Recommended Posts

  • 3 months later...
  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Как через API знать что у  MP3 трека нет тегов имени артиста или альбома? Не подходит брать слова "Неизвест. артист". Если знать, что тегов нет, то буду брать только Title - имя файла. Фильтровать жестко "Неизвест. артист" не выход. Это будет только для русской локализации. Спасибо.

Link to comment
Share on other sites

  • 2 months later...

I don't think it will work, as:

- API is open to anyone, deleting user files via such API is a security hole
- there are read-only storages (==sd cards) which require permission UI to be shown anyway - that should be handled by the actual app requesting the deletion.

Link to comment
Share on other sites

  • 4 months later...

Hi all!
Trying the skin SDK from here: https://github.com/maxmpz/powerampapi/tree/master/poweramp_skin_sdk

I have dowloaded and copied `Poweramp-v3.apk` to project's root folder, and changed path in `app/build.gradle`.

Currently it looks like this:

`

aaptOptions {
    additionalParameters "--stable-ids", "stable-ids.txt", "--emit-ids", "stable-ids.txt",
                            "--shared-lib", "-I", "./../../Poweramp-v3.apk"
}

But i cannot make it work, I always get this:

AAPT: W/ziparchive(68291): Unable to open './../../Poweramp-v3.apk': No such file or directory
error: failed to open APK: I/O error.

Any help would be appreciated ;)

Thanks!

 

Link to comment
Share on other sites

  • 4 months later...

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