Skip to content

Commit bf6d050

Browse files
author
Chris Bellew
committed
Renamed package.
1 parent 0184bdd commit bf6d050

25 files changed

+65
-64
lines changed

AndroidManifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.atomjack.vcfpht"
3+
package="com.atomjack.vcfp"
44
android:versionCode="4"
55
android:versionName="1.4" >
66

@@ -18,7 +18,7 @@
1818
android:label="@string/app_name"
1919
android:theme="@style/AppTheme" >
2020
<activity
21-
android:name="com.atomjack.vcfpht.MainActivity"
21+
android:name=".MainActivity"
2222
android:label="@string/app_name" >
2323
<intent-filter>
2424
<action android:name="android.intent.action.MAIN" />
@@ -27,17 +27,17 @@
2727
</intent-filter>
2828
</activity>
2929
<activity
30-
android:name="com.atomjack.vcfpht.PlayMediaActivity"
30+
android:name=".PlayMediaActivity"
3131
android:configChanges="orientation|screenSize"
3232
android:label="@string/app_name" >
3333
</activity>
3434

3535
<service
36-
android:name="com.atomjack.vcfpht.GDMService"
36+
android:name=".GDMService"
3737
android:exported="false" />
3838

3939
<receiver
40-
android:name="com.atomjack.vcfpht.GoogleSearchReceiver"
40+
android:name=".GoogleSearchReceiver"
4141
android:exported="true" >
4242
<intent-filter>
4343
<action android:name="com.mohammadag.googlesearchapi.NEW_SEARCH" />

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Voice Control for Plex Home Theater
1+
#Voice Control for Plex
22

3-
A Plug-in for Google Search API for Plex Home Theater
3+
A Plug-in for Google Search API for Plex
44

55
## Requirements
66
You must have a rooted phone, the Xposed Framework (http://forum.xda-developers.com/showthread.php?t=1574401), and the Google Search API (http://forum.xda-developers.com/showthread.php?t=2554173)

VoiceControlForPlexHomeTheater.iml renamed to VoiceControlForPlex.iml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<module type="JAVA_MODULE" version="4">
33
<component name="FacetManager">
44
<facet type="android" name="Android">
5-
<configuration />
5+
<configuration>
6+
<option name="UPDATE_PROPERTY_FILES" value="true" />
7+
</configuration>
68
</facet>
79
</component>
810
<component name="NewModuleRootManager" inherit-compiler-output="true">
911
<exclude-output />
1012
<content url="file://$MODULE_DIR$">
11-
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
1213
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
14+
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
1315
</content>
1416
<orderEntry type="inheritedJdk" />
1517
<orderEntry type="sourceFolder" forTests="false" />

project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=android-19
14+
target=android-17

res/values/strings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<string name="app_name">Voice Control for Plex Home Theater</string>
4+
<string name="app_name">Voice Control for Plex</string>
55
<string name="action_settings">Settings</string>
66
<string name="hello_world">Hello world!</string>
77
<string name="ok">OK</string>
@@ -10,7 +10,7 @@
1010
<string name="resume_if_in_progress">Resume if in progress</string>
1111
<string name="search">Search</string>
1212
<string name="menu_about">About</string>
13-
<string name="about_text">Voice Control for Plex Home Theater\n© 2013 Chris Bellew\nLicensed under GPLv3\n\nPlex Home Theater is copyright Plex, Inc.</string>
13+
<string name="about_text">Voice Control for Plex\n© 2013 Chris Bellew\nLicensed under GPLv3\n\nPlex is copyright Plex, Inc.</string>
1414
<string name="menu_donate">Donate</string>
1515
<string name="feedback_voice">Voice</string>
1616
<string name="feedback_toast">Toast</string>

src/com/atomjack/vcfpht/GDMService.java renamed to src/com/atomjack/vcfp/GDMService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.atomjack.vcfpht;
1+
package com.atomjack.vcfp;
22

33
import java.io.IOException;
44
import java.net.DatagramPacket;

src/com/atomjack/vcfpht/GoogleSearchApi.java renamed to src/com/atomjack/vcfp/GoogleSearchApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.atomjack.vcfpht;
1+
package com.atomjack.vcfp;
22

33
import android.content.Context;
44
import android.content.Intent;

src/com/atomjack/vcfpht/GoogleSearchReceiver.java renamed to src/com/atomjack/vcfp/GoogleSearchReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.atomjack.vcfpht;
1+
package com.atomjack.vcfp;
22

33
import android.content.BroadcastReceiver;
44
import android.content.Context;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.atomjack.vcfpht;
1+
package com.atomjack.vcfp;
22

33
import android.util.Log;
44

@@ -10,24 +10,24 @@ public class Logger
1010
public static void i(String format, Object ... args)
1111
{
1212
String msg = String.format(format, args);
13-
Log.i("VoiceControlForPlexHomeTheater", msg);
13+
Log.i("VoiceControlForPlex", msg);
1414
}
1515

1616
public static void d(String format, Object ... args)
1717
{
1818
String msg = String.format(format, args);
19-
Log.d("VoiceControlForPlexHomeTheater", msg);
19+
Log.d("VoiceControlForPlex", msg);
2020
}
2121

2222
public static void w(String format, Object ... args)
2323
{
2424
String msg = String.format(format, args);
25-
Log.w("VoiceControlForPlexHomeTheater", msg);
25+
Log.w("VoiceControlForPlex", msg);
2626
}
2727

2828
public static void e(String format, Object ... args)
2929
{
3030
String msg = String.format(format, args);
31-
Log.e("VoiceControlForPlexHomeTheater", msg);
31+
Log.e("VoiceControlForPlex", msg);
3232
}
3333
}

src/com/atomjack/vcfpht/MainActivity.java renamed to src/com/atomjack/vcfp/MainActivity.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.atomjack.vcfpht;
1+
package com.atomjack.vcfp;
22

33
import java.util.ArrayList;
44
import java.util.List;
@@ -28,18 +28,18 @@
2828
import android.widget.CheckBox;
2929
import android.widget.ListView;
3030

31-
import com.atomjack.vcfpht.MainListAdapter.SettingHolder;
32-
import com.atomjack.vcfpht.model.MainSetting;
33-
import com.atomjack.vcfpht.model.MediaContainer;
34-
import com.atomjack.vcfpht.model.PlexClient;
35-
import com.atomjack.vcfpht.model.PlexServer;
31+
import com.atomjack.vcfp.MainListAdapter.SettingHolder;
32+
import com.atomjack.vcfp.model.MainSetting;
33+
import com.atomjack.vcfp.model.MediaContainer;
34+
import com.atomjack.vcfp.model.PlexClient;
35+
import com.atomjack.vcfp.model.PlexServer;
3636
import com.google.gson.Gson;
3737
import com.loopj.android.http.AsyncHttpClient;
3838
import com.loopj.android.http.AsyncHttpResponseHandler;
3939
import com.bugsense.trace.BugSenseHandler;
4040

4141
public class MainActivity extends Activity {
42-
public final static String PREFS = "VoiceControlForPlexHomeTheaterPrefs";
42+
public final static String PREFS = "VoiceControlForPlexPrefs";
4343

4444
public final static int FEEDBACK_VOICE = 0;
4545
public final static int FEEDBACK_TOAST = 1;
@@ -284,7 +284,7 @@ public void onSuccess(String response) {
284284
searchDialog.dismiss();
285285
if(clients.size() == 0) {
286286
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
287-
builder.setTitle("No Plex Home Theater Clients Found");
287+
builder.setTitle("No Plex Clients Found");
288288
builder.setCancelable(false)
289289
.setNeutralButton(R.string.ok, new DialogInterface.OnClickListener() {
290290
public void onClick(DialogInterface dialog, int id) {
@@ -442,7 +442,7 @@ public void onSuccess(String response) {
442442
searchDialog.dismiss();
443443
if(clients.size() == 0) {
444444
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
445-
builder.setTitle("No Plex Home Theater Clients Found");
445+
builder.setTitle("No Plex Clients Found");
446446
builder.setCancelable(false)
447447
.setNeutralButton(R.string.ok, new DialogInterface.OnClickListener() {
448448
public void onClick(DialogInterface dialog, int id) {

0 commit comments

Comments
 (0)