Jump to content

admin

Administrators
  • Posts

    1,282
  • Joined

  • Last visited

 Content Type 

Profiles

Forums

Blogs

Gallery

Downloads

Poweramp Knowledge Base

База знаний Poweramp

Poweramp知识库

Poweramp Equalizer Knowledge Base

База знаний Poweramp Equalizer

Store

Events

Ideas

Posts posted by admin

  1. localh0st

    PowerAMP still processes headset MEDIA_* events as usual. Make sure no other apps intercepting/cancelling these messages before PowerAMP.

    1.

     Please check comments in PowerAMPiAPI.java for OPEN_TO_PLAY command (around line 94).

    startService(new Intent(PowerAMPiAPI.ACTION_API_COMMAND).putExtra(PowerAMPiAPI.COMMAND, PowerAMPiAPI.Commands.OPEN_TO_PLAY)
    .setData(Uri.parse("content://com.maxmpz.audioplayer/ALL/" + id)));

    The code above will force PowerAMP to play file from All Files list, by song id. You can also force to play it from other lists.

    Note that PowerAMP can play only from "external" storage.

    ALL/ARTIST/ALBUM/ARTIST_ALBUM/GENRE_ALBUM categories are library categories - media store ids are expected.

    FOLDER is special category - own ids namespace is used.

    2. This setting looks this way (right click on project => Properties).

    Of course you should have the poweramp_api_lib project first imported into Eclipse workspace.

    Thanks!

  2. poweramp_api_lyrics_proto

    This is prototype application utilizing Poweramp AA (Album Art) widget functionality. AA Widget is basically sort of app widget in Poweramp Album art area in main player screen. It's possible to display almost everything the app widget developer wants, and get user interaction events back in the app.

    Poweramp manages multiple AA widgets internally and shows appropriate UI for them - Close button (which remembers it's state), and selectable icons to switch between AA widgets.

    Example use of AA widgets are providing song lyrics, song extended information (e.g. pulled from internet), artist/album info, etc.

    [attachment=0]api_example_lyr.png[/attachment]

  3. poweramp_api_example

    This is sample application utilizing Poweramp API, it consists of 4 activities:

    MainActivity - provides basic, but pretty complete UI for Poweramp player functionality:

    - current track info

    - current track album art

    - <<<, <<, >, >>, >>> buttons, with long press doing the same actions as in Poweramp (for <<, >, >>)

    - shuffle/repeat buttons

    - seekable song progress bar

    - few buttons which calls various Poweramp actions, like opens Poweramp activities

    - buttons to open other example activities

    - simple testing buttons for Poweramp AA Widget functionality

    [attachment=1]api_example.png[/attachment]

    EqActivity - provides almost full control over Poweramp equalizer - 10 bands, 2 tone bands, preamp, presets (directly pulled from Poweramp database).

    [attachment=0]api_example_eq.png[/attachment]

    FoldersActivity - shows simple ListView of Poweramp folders. Provides example of how Poweramp folders database can be accessed.

    FilesActivity - shows simple ListView of Poweramp files. Provides example of how Poweramp folders database can be accessed.

    This project basically demonstrates that's ultimately possible to build complete custom Poweramp UI, but of course, you can utilize just few features from the complete set.

  4. poweramp_api_lib

    This is not a sample, but it's actually the Poweramp API definitions (com.maxmpz.audioplayer.player.PowerampiAPI class), Poweramp content data source definitions (com.maxmpz.audioplayer.data package) and few helper classes. This is android library project, meaning it's included into other samples as a library (ensure it's added as library in Project settings => Android => libraries list).

  5. The code is available here: https://github.com/maxmpz/powerampapi

    Poweramp API Sample App is update to all recent PowerampAPI changes, they are pretty minor, except Album Art:

    - album art now is not sent as bitmap within Intent
    - original album art (embed - from track file itself, or cached downloaded album art) is provided via specific Poweramp Content provider

    This allows hi-res images in apps utilizing PowerampAPI, but may require additional image processing (e.g. scaling / subsampling / etc. )

  6. Спасибо Maverick за перевод.

    Q: Почему экран блокировки разблокируется на стандартный экран блокировки?

    Q: PowerAMP использует нестандартные кодеки. Означает ли это, что используется больше ресурсов процессора и аккумулятора?
    Q: Я проверил в [вставить ваш любимый просмотрощик процессов], и мне кажется PowerAMP задействует процессор больше чем стандартный плеер, который потребляет 1%. Почему так происходит?

    Q: Почему PowerAMP требует [вставить требуемое разрешение]?

    Q: Есть поддержка текста песен? LRC?

    Q: Как в PowerAMP используются кнопки проводной/BT гарнитуры?

    Q. Как выбирается обложка?

    Q. Как остановить Poweramp

    Q. Где кнопка Выход (Exit).

    Q. Poweramp запускается сам.

    Q. Возможно ли использовать эквалайзер Poweramp для воспроизведения музыки в Пандоре и других музыкальных приложениях.

    Q. Музыкальная визуализация Live Wallpaper не работает с Poweramp

    Q. Poweramp останавливается или встает на паузу при фоновом воспроизведении или при выключенном экране.

    Q. Пропали треки из Папок/Библиотеки.

    Q. Удалены треки при обновлении до 2.0.

    Q. В Poweramp 1.4 было 1000 треков, а сейчас только 100 в Poweramp 2.0.

     

    Q. Скачет уровень звука и другие проблемы со звуком

     

    Q. Почему дублируются папки и треки?

×
×
  • Create New...