Private
Public Access
- One build per Android level, as in Tenda: build/PlexampLite.apk (Android 2.2+, versionCode 1508) and build/PlexampLite-api16.apk (Android 4.1+, 1516), from shared src/ plus platform/api8 or platform/api16. - Android 4.1 build: ExoPlayer 2.18.7 behind a small Engine interface (gapless hand-over to read-ahead and downloaded files, a longer buffer, MediaPlayer fallback for tracks it can't decode), a notification and lock screen with art and buttons, a resizable widget, Holo, a menu button without a Menu key, metered networks. R8 shrinks ExoPlayer and Guava (tools/fetch_exoplayer.sh, tools/r8-rules.pro). - Both builds: lyrics in Now Playing as in the Mac app (timed lyrics follow and seek), a home-screen widget, media play/pause keys, the moon icon drawn without clipPath. - PlexampLite-noreport on the SD card stops play reports, for tests against a real server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
74 lines
3.1 KiB
XML
74 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- build.sh makes one APK per Android level from this file: it sets minSdkVersion and targetSdkVersion for each,
|
|
and versionCode = the one below x 100 + the level (15 -> 1508 for Android 2.2, 1516 for 4.1). -->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.minamp"
|
|
android:versionCode="15"
|
|
android:versionName="1.14"
|
|
android:installLocation="internalOnly">
|
|
|
|
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
|
|
|
|
<supports-screens
|
|
android:smallScreens="true"
|
|
android:normalScreens="true"
|
|
android:largeScreens="true"
|
|
android:anyDensity="true" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<application
|
|
android:name=".App"
|
|
android:label="@string/app_name"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:theme="@style/AppTheme">
|
|
|
|
<activity
|
|
android:name=".HomeActivity"
|
|
android:label="@string/app_name"
|
|
android:screenOrientation="portrait"
|
|
android:launchMode="singleTask">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name=".SetupActivity"
|
|
android:screenOrientation="portrait"
|
|
android:windowSoftInputMode="adjustResize" />
|
|
<activity android:name=".BrowseActivity"
|
|
android:screenOrientation="portrait" />
|
|
<activity android:name=".SearchActivity"
|
|
android:screenOrientation="portrait"
|
|
android:windowSoftInputMode="stateVisible|adjustResize" />
|
|
<activity android:name=".NowPlayingActivity"
|
|
android:screenOrientation="portrait"
|
|
android:launchMode="singleTop" />
|
|
<activity android:name=".QueueActivity"
|
|
android:screenOrientation="portrait" />
|
|
<activity android:name=".DownloadsActivity"
|
|
android:screenOrientation="portrait" />
|
|
|
|
<service android:name=".PlayerService" android:exported="false" />
|
|
|
|
<receiver android:name=".PlayerWidget" android:label="@string/widget_name">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_player" />
|
|
</receiver>
|
|
|
|
<receiver android:name=".MediaButtonReceiver">
|
|
<intent-filter android:priority="1000">
|
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
|
</intent-filter>
|
|
</receiver>
|
|
</application>
|
|
</manifest>
|