Change the application identifier and name (fork)
This commit is contained in:
parent
50a0c383e2
commit
2014d758fe
|
@ -1,4 +1,4 @@
|
|||
# Simple Protocol Player
|
||||
# Simple Protocol Player NG
|
||||
|
||||
This is a fork of SimpleProtocolPlayer (https://github.com/kaytat/SimpleProtocolServer).
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ android {
|
|||
compileSdkVersion 17
|
||||
buildToolsVersion '23.0.2'
|
||||
defaultConfig {
|
||||
applicationId "com.kaytat.simpleprotocolplayer"
|
||||
applicationId "fr.jakse.raphael.simpleprotocolplayer"
|
||||
minSdkVersion 8
|
||||
targetSdkVersion 17
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<!--
|
||||
Copyright (C) 2011 The Android Open Source Project
|
||||
Copyright (C) 2014 kaytat
|
||||
Copyright (C) 2019 Raphaël Jakse
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -17,9 +18,9 @@
|
|||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.kaytat.simpleprotocolplayer"
|
||||
android:versionCode="10"
|
||||
android:versionName="0.5.4.0">
|
||||
package="fr.jakse.raphael.simpleprotocolplayer"
|
||||
android:versionCode="11"
|
||||
android:versionName="2019.10.0">
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="8"
|
||||
|
@ -34,7 +35,7 @@
|
|||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_title" >
|
||||
<activity
|
||||
android:name="com.kaytat.simpleprotocolplayer.MainActivity"
|
||||
android:name="fr.jakse.raphael.simpleprotocolplayer.MainActivity"
|
||||
android:label="@string/app_title"
|
||||
android:theme="@style/theme_light">
|
||||
<intent-filter>
|
||||
|
@ -44,21 +45,21 @@
|
|||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="com.kaytat.simpleprotocolplayer.NoticeActivity"
|
||||
android:name="fr.jakse.raphael.simpleprotocolplayer.NoticeActivity"
|
||||
android:label="@string/notice_title"
|
||||
android:theme="@style/theme_light_nobar" >
|
||||
</activity>
|
||||
|
||||
<service
|
||||
android:name="com.kaytat.simpleprotocolplayer.MusicService"
|
||||
android:name="fr.jakse.raphael.simpleprotocolplayer.MusicService"
|
||||
android:exported="true" >
|
||||
<intent-filter>
|
||||
<action android:name="com.kaytat.simpleprotocolplayer.action.PLAY" />
|
||||
<action android:name="com.kaytat.simpleprotocolplayer.action.STOP" />
|
||||
<action android:name="fr.jakse.raphael.simpleprotocolplayer.action.PLAY" />
|
||||
<action android:name="fr.jakse.raphael.simpleprotocolplayer.action.STOP" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<receiver android:name="com.kaytat.simpleprotocolplayer.MusicIntentReceiver" >
|
||||
<receiver android:name="fr.jakse.raphael.simpleprotocolplayer.MusicIntentReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.media.AUDIO_BECOMING_NOISY" />
|
||||
</intent-filter>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.content.Context;
|
||||
import android.media.AudioManager;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.media.AudioTrack;
|
||||
import android.util.Log;
|
|
@ -18,7 +18,7 @@
|
|||
* http://stackoverflow.com/questions/8512762/autocompletetextview-disable-filtering
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
|
@ -1,4 +1,4 @@
|
|||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.media.AudioManager;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
/**
|
||||
* Represents something that can react to audio focus events. We implement this instead of just
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (C) 2011 The Android Open Source Project
|
||||
* Copyright (C) 2014 kaytat
|
||||
* Copyright (C) 2019 Raphaël Jakse
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -15,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -48,8 +49,8 @@ public class MusicService extends Service implements MusicFocusable {
|
|||
// constants exist in our class is a mere convenience: what really defines the actions our
|
||||
// service can handle are the <action> tags in the <intent-filters> tag for our service in
|
||||
// AndroidManifest.xml.
|
||||
public static final String ACTION_PLAY = "com.kaytat.simpleprotocolplayer.action.PLAY";
|
||||
public static final String ACTION_STOP = "com.kaytat.simpleprotocolplayer.action.STOP";
|
||||
public static final String ACTION_PLAY = "fr.jakse.raphael.simpleprotocolplayer.action.PLAY";
|
||||
public static final String ACTION_STOP = "fr.jakse.raphael.simpleprotocolplayer.action.STOP";
|
||||
|
||||
public static final String DATA_IP_ADDRESS = "ip_addr";
|
||||
public static final String DATA_AUDIO_PORT = "audio_port";
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.app.PendingIntent;
|
||||
import android.graphics.Bitmap;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import android.media.AudioManager;
|
||||
import android.util.Log;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
class ThreadStoppable extends Thread {
|
||||
volatile boolean running = true;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.kaytat.simpleprotocolplayer;
|
||||
package fr.jakse.raphael.simpleprotocolplayer;
|
||||
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<resources>
|
||||
|
||||
<string name="app_title">Simple Protocol Player</string>
|
||||
<string name="app_title">Simple Protocol Player NG</string>
|
||||
<string name="labelIpAddr">IP Address</string>
|
||||
<string name="labelAudioPort">Audio Port</string>
|
||||
<string name="defaultAudioPort">12345</string>
|
||||
|
|
Loading…
Reference in New Issue