Moved GUI classes to new gui package.

This commit is contained in:
Felix Ableitner 2013-09-20 01:39:21 +02:00
parent b9802245fe
commit d29680d695
9 changed files with 21 additions and 9 deletions

View file

@ -11,7 +11,7 @@
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
android:targetSdkVersion="18" />
<application
android:allowBackup="true"
@ -20,7 +20,7 @@
android:theme="@style/Theme.Sherlock.Light" >
<activity
android:name="com.github.nutomic.controldlna.MainActivity"
android:name="com.github.nutomic.controldlna.gui.MainActivity"
android:label="@string/app_name" >
<intent-filter android:label="@string/app_name" >

Binary file not shown.

View file

@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-17
target=android-18
android.library.reference.1=../actionbarsherlock

View file

@ -37,6 +37,9 @@ import org.teleal.cling.model.meta.RemoteDevice;
import org.teleal.cling.registry.Registry;
import org.teleal.cling.registry.RegistryListener;
import com.github.nutomic.controldlna.RemoteImageView;
import android.app.Activity;
import android.content.Context;
import android.util.Log;

View file

@ -2,6 +2,9 @@ package com.github.nutomic.controldlna;
import java.net.URI;
import com.github.nutomic.controldlna.LoadImageTask;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.AttributeSet;

View file

@ -25,7 +25,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.github.nutomic.controldlna;
package com.github.nutomic.controldlna.gui;
import java.util.List;
@ -41,6 +41,7 @@ import android.view.KeyEvent;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.github.nutomic.controldlna.R;
/**
* Main activity, with tabs for media servers and media renderers.

View file

@ -25,7 +25,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.github.nutomic.controldlna;
package com.github.nutomic.controldlna.gui;
import java.util.List;
import java.util.Map;
@ -78,7 +78,10 @@ import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener;
import android.widget.Toast;
import com.github.nutomic.controldlna.MainActivity.OnBackPressedListener;
import com.github.nutomic.controldlna.DeviceArrayAdapter;
import com.github.nutomic.controldlna.FileArrayAdapter;
import com.github.nutomic.controldlna.R;
import com.github.nutomic.controldlna.gui.MainActivity.OnBackPressedListener;
import com.github.nutomic.controldlna.service.PlayService;
import com.github.nutomic.controldlna.service.PlayServiceBinder;

View file

@ -25,7 +25,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.github.nutomic.controldlna;
package com.github.nutomic.controldlna.gui;
import java.util.ArrayList;
import java.util.List;
@ -56,7 +56,9 @@ import android.util.Log;
import android.view.View;
import android.widget.ListView;
import com.github.nutomic.controldlna.MainActivity.OnBackPressedListener;
import com.github.nutomic.controldlna.DeviceArrayAdapter;
import com.github.nutomic.controldlna.FileArrayAdapter;
import com.github.nutomic.controldlna.gui.MainActivity.OnBackPressedListener;
/**
* Shows a list of media servers, upon selecting one, allows browsing theur

View file

@ -70,8 +70,8 @@ import android.util.Log;
import android.widget.Toast;
import com.github.nutomic.controldlna.LoadImageTask;
import com.github.nutomic.controldlna.MainActivity;
import com.github.nutomic.controldlna.R;
import com.github.nutomic.controldlna.gui.MainActivity;
public class PlayService extends Service {