Renamed Package to org.RickBarrette.android.LocationRinger

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-11-13 10:12:14 -05:00
parent dbc71f3e73
commit 92119df076
39 changed files with 153 additions and 145 deletions

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.TwentyCodes.android.LocationRinger" package="org.RickBarrette.android.LocationRinger"
android:installLocation="internalOnly" android:installLocation="internalOnly"
android:versionCode="199" android:versionCode="206"
android:versionName="ae0eef3" > android:versionName="1.0" >
<uses-sdk android:minSdkVersion="7"/> <uses-sdk android:minSdkVersion="7"/>

View File

@@ -53,7 +53,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_above="@id/buttons" android:layout_above="@id/buttons"
android:layout_below="@id/map_controls" android:layout_below="@id/map_controls"
class="com.TwentyCodes.android.LocationRinger.ui.fragments.MapFragment" > class="org.RickBarrette.android.LocationRinger.ui.fragments.MapFragment" >
</fragment> </fragment>
<TextView <TextView

View File

@@ -24,7 +24,7 @@
android:id="@+id/ringer_name" android:id="@+id/ringer_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
class="com.TwentyCodes.android.LocationRinger.ui.fragments.AboutRingerFragment$ListeningEditText" class="org.RickBarrette.android.LocationRinger.ui.fragments.AboutRingerFragment$ListeningEditText"
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:inputType="textCapWords" android:inputType="textCapWords"
android:singleLine="true" /> android:singleLine="true" />
@@ -41,7 +41,7 @@
android:id="@+id/ringer_description" android:id="@+id/ringer_description"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
class="com.TwentyCodes.android.LocationRinger.ui.fragments.AboutRingerFragment$ListeningEditText" class="org.RickBarrette.android.LocationRinger.ui.fragments.AboutRingerFragment$ListeningEditText"
android:inputType="textCapSentences" /> android:inputType="textCapSentences" />
</LinearLayout> </LinearLayout>

View File

@@ -26,7 +26,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="10dip" /> android:padding="10dip" />
<com.TwentyCodes.android.LocationRinger.ui.ViewPager <org.RickBarrette.android.LocationRinger.ui.ViewPager
android:id="@+id/pager" android:id="@+id/pager"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"

View File

@@ -9,7 +9,7 @@
<!-- </CheckBoxPreference> --> <!-- </CheckBoxPreference> -->
<PreferenceScreen android:title="@string/about" > <PreferenceScreen android:title="@string/about" >
<com.TwentyCodes.android.LocationRinger.ui.TextViewPreference android:title="@string/hello" /> <org.RickBarrette.android.LocationRinger.ui.TextViewPreference android:title="@string/hello" />
</PreferenceScreen> </PreferenceScreen>
<PreferenceCategory android:title="@string/contact_us" > <PreferenceCategory android:title="@string/contact_us" >

View File

@@ -19,6 +19,8 @@ package com.jakewharton.android.viewpagerindicator;
import java.util.ArrayList; import java.util.ArrayList;
import org.RickBarrette.android.LocationRinger.R;
import android.content.Context; import android.content.Context;
import android.content.res.Resources; import android.content.res.Resources;
import android.content.res.TypedArray; import android.content.res.TypedArray;
@@ -34,8 +36,6 @@ import android.view.MotionEvent;
import android.view.View; import android.view.View;
import android.widget.TextView; import android.widget.TextView;
import com.TwentyCodes.android.LocationRinger.R;
/** /**
* A TitlePageIndicator is a PageIndicator which displays the title of left view * A TitlePageIndicator is a PageIndicator which displays the title of left view
* (if exist), the title of the current select view (centered) and the title of * (if exist), the title of the current select view (centered) and the title of

View File

@@ -17,7 +17,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License * limitations under the License
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
import android.app.AlarmManager; import android.app.AlarmManager;
import android.content.Context; import android.content.Context;

View File

@@ -4,7 +4,7 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
/** /**
* A simple listener to allow fragments to set scrolling enabled * A simple listener to allow fragments to set scrolling enabled

View File

@@ -4,7 +4,7 @@
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;

View File

@@ -17,7 +17,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License * limitations under the License
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
import android.app.Activity; import android.app.Activity;
import android.os.Bundle; import android.os.Bundle;

View File

@@ -17,7 +17,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License * limitations under the License
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
/** /**
* A convince class for logging with log level constraints * A convince class for logging with log level constraints

View File

@@ -4,7 +4,7 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
import android.content.ContentValues; import android.content.ContentValues;

View File

@@ -4,7 +4,7 @@
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
package com.TwentyCodes.android.LocationRinger; package org.RickBarrette.android.LocationRinger;
/** /**
* A simple interface to allow a compent other than an activity to handle a * A simple interface to allow a compent other than an activity to handle a

View File

@@ -4,7 +4,7 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.db; package org.RickBarrette.android.LocationRinger.db;
/** /**
* This interface will be used to listen to see when the database events are * This interface will be used to listen to see when the database events are

View File

@@ -4,7 +4,7 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.db; package org.RickBarrette.android.LocationRinger.db;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@@ -15,6 +15,10 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map.Entry; import java.util.Map.Entry;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.R;
import android.app.ProgressDialog; import android.app.ProgressDialog;
import android.content.ContentValues; import android.content.ContentValues;
import android.content.Context; import android.content.Context;
@@ -27,10 +31,6 @@ import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import android.os.Message; import android.os.Message;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.R;
/** /**
* This class will be the main interface between location ringer and it's * This class will be the main interface between location ringer and it's
* database * database

View File

@@ -4,7 +4,13 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.receivers; package org.RickBarrette.android.LocationRinger.receivers;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.services.LocationService;
import org.RickBarrette.android.LocationRinger.ui.SettingsActivity;
import android.app.PendingIntent; import android.app.PendingIntent;
import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetManager;
@@ -14,12 +20,6 @@ import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.widget.RemoteViews; import android.widget.RemoteViews;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.services.LocationService;
import com.TwentyCodes.android.LocationRinger.ui.SettingsActivity;
/** /**
* This widget will be used to force a Location update from the users home * This widget will be used to force a Location update from the users home
* screen * screen

View File

@@ -4,14 +4,15 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.receivers; package org.RickBarrette.android.LocationRinger.receivers;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.services.RingerProcessingService;
import android.content.Intent; import android.content.Intent;
import android.location.Location; import android.location.Location;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.services.RingerProcessingService;
import com.TwentyCodes.android.debug.LocationLibraryConstants; import com.TwentyCodes.android.debug.LocationLibraryConstants;
import com.TwentyCodes.android.location.BaseLocationReceiver; import com.TwentyCodes.android.location.BaseLocationReceiver;

View File

@@ -4,7 +4,7 @@
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
package com.TwentyCodes.android.LocationRinger.receivers; package org.RickBarrette.android.LocationRinger.receivers;
/** /**
* This class will be used to listen for location updates passively. * This class will be used to listen for location updates passively.

View File

@@ -4,7 +4,11 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.receivers; package org.RickBarrette.android.LocationRinger.receivers;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.services.LocationService;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;
import android.content.Context; import android.content.Context;
@@ -12,9 +16,6 @@ import android.content.Intent;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.os.Handler; import android.os.Handler;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.services.LocationService;
import com.TwentyCodes.android.location.PassiveLocationListener; import com.TwentyCodes.android.location.PassiveLocationListener;
/** /**

View File

@@ -4,7 +4,12 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.services; package org.RickBarrette.android.LocationRinger.services;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.ui.ListActivity;
import org.RickBarrette.android.LocationRinger.ui.SettingsActivity;
import android.app.AlarmManager; import android.app.AlarmManager;
import android.app.NotificationManager; import android.app.NotificationManager;
@@ -16,10 +21,6 @@ import android.content.SharedPreferences;
import android.os.SystemClock; import android.os.SystemClock;
import anroid.v4.compat.NotificationCompat; import anroid.v4.compat.NotificationCompat;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.ui.ListActivity;
import com.TwentyCodes.android.LocationRinger.ui.SettingsActivity;
import com.TwentyCodes.android.debug.LocationLibraryConstants; import com.TwentyCodes.android.debug.LocationLibraryConstants;
import com.TwentyCodes.android.exception.ExceptionHandler; import com.TwentyCodes.android.exception.ExceptionHandler;

View File

@@ -4,10 +4,16 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.services; package org.RickBarrette.android.LocationRinger.services;
import java.util.Map.Entry; import java.util.Map.Entry;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import org.RickBarrette.android.LocationRinger.receivers.GetLocationWidget;
import org.RickBarrette.android.LocationRinger.ui.SettingsActivity;
import android.app.Service; import android.app.Service;
import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothAdapter;
import android.content.ContentValues; import android.content.ContentValues;
@@ -25,11 +31,6 @@ import android.os.PowerManager;
import android.os.PowerManager.WakeLock; import android.os.PowerManager.WakeLock;
import android.provider.Settings; import android.provider.Settings;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
import com.TwentyCodes.android.LocationRinger.receivers.GetLocationWidget;
import com.TwentyCodes.android.LocationRinger.ui.SettingsActivity;
import com.TwentyCodes.android.debug.LocationLibraryConstants; import com.TwentyCodes.android.debug.LocationLibraryConstants;
import com.TwentyCodes.android.exception.ExceptionHandler; import com.TwentyCodes.android.exception.ExceptionHandler;
import com.TwentyCodes.android.location.GeoUtils; import com.TwentyCodes.android.location.GeoUtils;

View File

@@ -18,16 +18,16 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.services.LocationService;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.os.Parcelable; import android.os.Parcelable;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.services.LocationService;
/** /**
* This Activity actually handles two stages of a launcher shortcut's life * This Activity actually handles two stages of a launcher shortcut's life
* cycle. * cycle.

View File

@@ -4,16 +4,16 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.R;
import android.app.Dialog; import android.app.Dialog;
import android.content.Context; import android.content.Context;
import android.view.View; import android.view.View;
import android.view.Window; import android.view.Window;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.R;
/** /**
* This class will be used to display the first boot dialog * This class will be used to display the first boot dialog
* *

View File

@@ -5,7 +5,14 @@
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.DatabaseListener;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import org.RickBarrette.android.LocationRinger.receivers.PassiveLocationChangedReceiver;
import org.RickBarrette.android.LocationRinger.services.LocationService;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
@@ -38,12 +45,6 @@ import android.widget.AdapterView.OnItemClickListener;
import android.widget.ListView; import android.widget.ListView;
import android.widget.Toast; import android.widget.Toast;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.DatabaseListener;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
import com.TwentyCodes.android.LocationRinger.receivers.PassiveLocationChangedReceiver;
import com.TwentyCodes.android.LocationRinger.services.LocationService;
import com.TwentyCodes.android.location.PassiveLocationListener; import com.TwentyCodes.android.location.PassiveLocationListener;
@SuppressLint("Registered") @SuppressLint("Registered")

View File

@@ -4,11 +4,21 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Map.Entry; import java.util.Map.Entry;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.EnableScrollingListener;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import org.RickBarrette.android.LocationRinger.ui.fragments.AboutRingerFragment;
import org.RickBarrette.android.LocationRinger.ui.fragments.FeatureListFragment;
import org.RickBarrette.android.LocationRinger.ui.fragments.LocationInfomationFragment;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
import android.app.ProgressDialog; import android.app.ProgressDialog;
@@ -25,15 +35,6 @@ import android.view.MenuInflater;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.inputmethod.InputMethodManager; import android.view.inputmethod.InputMethodManager;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.EnableScrollingListener;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
import com.TwentyCodes.android.LocationRinger.ui.fragments.AboutRingerFragment;
import com.TwentyCodes.android.LocationRinger.ui.fragments.FeatureListFragment;
import com.TwentyCodes.android.LocationRinger.ui.fragments.LocationInfomationFragment;
import com.TwentyCodes.android.exception.ExceptionHandler; import com.TwentyCodes.android.exception.ExceptionHandler;
import com.jakewharton.android.viewpagerindicator.TitlePageIndicator; import com.jakewharton.android.viewpagerindicator.TitlePageIndicator;
import com.jakewharton.android.viewpagerindicator.TitledFragmentAdapter; import com.jakewharton.android.viewpagerindicator.TitledFragmentAdapter;
@@ -153,7 +154,7 @@ public class RingerInformationActivity extends FragmentActivity implements OnCon
/** /**
* Called when the ringer info has changed (non-Javadoc) * Called when the ringer info has changed (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.OnContentChangedListener#onInfoContentChanged(android.content.ContentValues) * @see org.RickBarrette.android.LocationRinger.OnContentChangedListener#onInfoContentChanged(android.content.ContentValues)
*/ */
@Override @Override
public void onInfoContentChanged(final ContentValues values) { public void onInfoContentChanged(final ContentValues values) {
@@ -165,7 +166,7 @@ public class RingerInformationActivity extends FragmentActivity implements OnCon
/** /**
* Called when a feature is removed (non-Javadoc) * Called when a feature is removed (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.OnContentChangedListener#onInfoContentRemoved(java.lang.String[]) * @see org.RickBarrette.android.LocationRinger.OnContentChangedListener#onInfoContentRemoved(java.lang.String[])
*/ */
@Override @Override
public void onInfoContentRemoved(final String... keys) { public void onInfoContentRemoved(final String... keys) {
@@ -219,7 +220,7 @@ public class RingerInformationActivity extends FragmentActivity implements OnCon
/** /**
* Called when the ringer content has been changed (non-Javadoc) * Called when the ringer content has been changed (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.OnContentChangedListener#onRingerContentChanged(android.content.ContentValues) * @see org.RickBarrette.android.LocationRinger.OnContentChangedListener#onRingerContentChanged(android.content.ContentValues)
*/ */
@Override @Override
public void onRingerContentChanged(final ContentValues values) { public void onRingerContentChanged(final ContentValues values) {
@@ -267,7 +268,7 @@ public class RingerInformationActivity extends FragmentActivity implements OnCon
* Called when the scrolling state of the view pager is changed * Called when the scrolling state of the view pager is changed
* (non-Javadoc) * (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.EnableScrollingListener#setScrollEnabled(boolean) * @see org.RickBarrette.android.LocationRinger.EnableScrollingListener#setScrollEnabled(boolean)
*/ */
@Override @Override
public void setScrollEnabled(final boolean enabled) { public void setScrollEnabled(final boolean enabled) {

View File

@@ -4,10 +4,14 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import java.util.List; import java.util.List;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import android.content.Context; import android.content.Context;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@@ -18,10 +22,6 @@ import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener; import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.TextView; import android.widget.TextView;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
/** /**
* This adapter will be used to populate the list view with all the ringers * This adapter will be used to populate the list view with all the ringers
* names, and manage enabling/disabling of ringers based on their check box. * names, and manage enabling/disabling of ringers based on their check box.

View File

@@ -4,11 +4,13 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.R;
import org.json.JSONArray; import org.json.JSONArray;
import org.json.JSONException; import org.json.JSONException;
@@ -28,8 +30,6 @@ import android.widget.ProgressBar;
import android.widget.TextView; import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener; import android.widget.TextView.OnEditorActionListener;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.location.OnLocationSelectedListener; import com.TwentyCodes.android.location.OnLocationSelectedListener;
import com.TwentyCodes.android.location.ReverseGeocoder; import com.TwentyCodes.android.location.ReverseGeocoder;
import com.google.android.maps.GeoPoint; import com.google.android.maps.GeoPoint;

View File

@@ -4,7 +4,7 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@@ -12,6 +12,10 @@ import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.nio.channels.FileChannel; import java.nio.channels.FileChannel;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.LegalActivity;
import org.RickBarrette.android.LocationRinger.R;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
@@ -26,10 +30,6 @@ import android.preference.Preference.OnPreferenceClickListener;
import android.preference.PreferenceActivity; import android.preference.PreferenceActivity;
import android.view.MenuItem; import android.view.MenuItem;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.LegalActivity;
import com.TwentyCodes.android.LocationRinger.R;
/** /**
* This is the settings activity for location ringer * This is the settings activity for location ringer
* *

View File

@@ -2,7 +2,7 @@
* @author Twenty Codes * @author Twenty Codes
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import android.content.Context; import android.content.Context;
import android.graphics.Typeface; import android.graphics.Typeface;

View File

@@ -4,7 +4,7 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui; package org.RickBarrette.android.LocationRinger.ui;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@@ -4,10 +4,15 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import java.util.Map.Entry; import java.util.Map.Entry;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.ContentValues; import android.content.ContentValues;
import android.content.Context; import android.content.Context;
@@ -24,11 +29,6 @@ import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.EditText; import android.widget.EditText;
import android.widget.ToggleButton; import android.widget.ToggleButton;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
/** /**
* This fragment will used to allow the user to enter/edit ringer information * This fragment will used to allow the user to enter/edit ringer information
* *

View File

@@ -4,7 +4,10 @@
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import org.RickBarrette.android.LocationRinger.FeatureRemovedListener;
import org.RickBarrette.android.LocationRinger.R;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.os.Bundle; import android.os.Bundle;
@@ -15,9 +18,6 @@ import android.view.View.OnClickListener;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.ImageView; import android.widget.ImageView;
import com.TwentyCodes.android.LocationRinger.FeatureRemovedListener;
import com.TwentyCodes.android.LocationRinger.R;
/** /**
* This is a simple extention of a fragment that will allow for storage of an id * This is a simple extention of a fragment that will allow for storage of an id
* *

View File

@@ -4,11 +4,13 @@
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import org.RickBarrette.android.LocationRinger.Log;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
@@ -17,7 +19,6 @@ import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import com.TwentyCodes.android.LocationRinger.Log;
/** /**
* This fragment will be used to display a list of fragments * This fragment will be used to display a list of fragments

View File

@@ -4,10 +4,15 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import java.util.ArrayList; import java.util.ArrayList;
import org.RickBarrette.android.LocationRinger.FeatureRemovedListener;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.content.ContentValues; import android.content.ContentValues;
@@ -23,11 +28,6 @@ import android.view.ViewGroup;
import android.widget.ArrayAdapter; import android.widget.ArrayAdapter;
import android.widget.TextView; import android.widget.TextView;
import com.TwentyCodes.android.LocationRinger.FeatureRemovedListener;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
/** /**
* This fragment will be used to display a list of features * This fragment will be used to display a list of features
* *
@@ -240,7 +240,7 @@ public class FeatureListFragment extends BaseFragmentListFragment implements OnC
/** /**
* Called when the view needs to be created (non-Javadoc) * Called when the view needs to be created (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.ui.fragments.BaseFragmentListFragment#onCreateView(android.view.LayoutInflater, * @see org.RickBarrette.android.LocationRinger.ui.fragments.BaseFragmentListFragment#onCreateView(android.view.LayoutInflater,
* android.view.ViewGroup, android.os.Bundle) * android.view.ViewGroup, android.os.Bundle)
*/ */
@Override @Override
@@ -253,7 +253,7 @@ public class FeatureListFragment extends BaseFragmentListFragment implements OnC
/** /**
* Called when a fragment needs to be removed (non-Javadoc) * Called when a fragment needs to be removed (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.FeatureRemovedListener#onFeatureRemoved(android.support.v4.app.Fragment) * @see org.RickBarrette.android.LocationRinger.FeatureRemovedListener#onFeatureRemoved(android.support.v4.app.Fragment)
*/ */
@Override @Override
public void onFeatureRemoved(final Fragment f) { public void onFeatureRemoved(final Fragment f) {

View File

@@ -4,7 +4,16 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import org.RickBarrette.android.LocationRinger.Constraints;
import org.RickBarrette.android.LocationRinger.EnableScrollingListener;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.SearchRequestedListener;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import org.RickBarrette.android.LocationRinger.ui.SearchDialog;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.ContentValues; import android.content.ContentValues;
@@ -22,14 +31,6 @@ import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import android.widget.ToggleButton; import android.widget.ToggleButton;
import com.TwentyCodes.android.LocationRinger.Constraints;
import com.TwentyCodes.android.LocationRinger.EnableScrollingListener;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.SearchRequestedListener;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
import com.TwentyCodes.android.LocationRinger.ui.SearchDialog;
import com.TwentyCodes.android.location.AndroidGPS; import com.TwentyCodes.android.location.AndroidGPS;
import com.TwentyCodes.android.location.GeoPointLocationListener; import com.TwentyCodes.android.location.GeoPointLocationListener;
import com.TwentyCodes.android.location.GeoUtils; import com.TwentyCodes.android.location.GeoUtils;
@@ -275,7 +276,7 @@ public class LocationInfomationFragment extends Fragment implements GeoPointLoca
/** /**
* (non-Javadoc) * (non-Javadoc)
* *
* @see com.TwentyCodes.android.LocationRinger.SearchRequestedListener#onSearchRequested() * @see org.RickBarrette.android.LocationRinger.SearchRequestedListener#onSearchRequested()
*/ */
@Override @Override
public boolean onSearchRequested() { public boolean onSearchRequested() {

View File

@@ -4,7 +4,7 @@
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import com.TwentyCodes.android.fragments.BaseMapFragment; import com.TwentyCodes.android.fragments.BaseMapFragment;
import com.TwentyCodes.android.location.MapView; import com.TwentyCodes.android.location.MapView;

View File

@@ -4,10 +4,16 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import java.util.Map.Entry; import java.util.Map.Entry;
import org.RickBarrette.android.LocationRinger.FeatureRemovedListener;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
import android.content.ContentValues; import android.content.ContentValues;
@@ -27,12 +33,6 @@ import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener; import android.widget.SeekBar.OnSeekBarChangeListener;
import android.widget.TextView; import android.widget.TextView;
import com.TwentyCodes.android.LocationRinger.FeatureRemovedListener;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
/** /**
* This fragment will be for ringtone settings * This fragment will be for ringtone settings
* *

View File

@@ -4,7 +4,12 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import org.RickBarrette.android.LocationRinger.FeatureRemovedListener;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.ContentValues; import android.content.ContentValues;
@@ -17,11 +22,6 @@ import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.TextView; import android.widget.TextView;
import android.widget.ToggleButton; import android.widget.ToggleButton;
import com.TwentyCodes.android.LocationRinger.FeatureRemovedListener;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
/** /**
* A simple fragment that displays a toggle button and a title label * A simple fragment that displays a toggle button and a title label
* *

View File

@@ -4,10 +4,16 @@
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
* @author ricky barrette * @author ricky barrette
*/ */
package com.TwentyCodes.android.LocationRinger.ui.fragments; package org.RickBarrette.android.LocationRinger.ui.fragments;
import java.util.Map.Entry; import java.util.Map.Entry;
import org.RickBarrette.android.LocationRinger.FeatureRemovedListener;
import org.RickBarrette.android.LocationRinger.Log;
import org.RickBarrette.android.LocationRinger.OnContentChangedListener;
import org.RickBarrette.android.LocationRinger.R;
import org.RickBarrette.android.LocationRinger.db.RingerDatabase;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.ContentValues; import android.content.ContentValues;
import android.content.Context; import android.content.Context;
@@ -20,12 +26,6 @@ import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener; import android.widget.SeekBar.OnSeekBarChangeListener;
import android.widget.TextView; import android.widget.TextView;
import com.TwentyCodes.android.LocationRinger.FeatureRemovedListener;
import com.TwentyCodes.android.LocationRinger.Log;
import com.TwentyCodes.android.LocationRinger.OnContentChangedListener;
import com.TwentyCodes.android.LocationRinger.R;
import com.TwentyCodes.android.LocationRinger.db.RingerDatabase;
/** /**
* This fragment will represent the volume fragments * This fragment will represent the volume fragments
* *