Compare commits
10 Commits
433ee4b734
...
7f5b422f97
| Author | SHA1 | Date | |
|---|---|---|---|
| 7f5b422f97 | |||
|
|
077bd07fca | ||
| 069a42749d | |||
| eb3d9ae4e5 | |||
| 7fba5c1c0c | |||
| ed48be2be1 | |||
| 6b0d7d0c22 | |||
| 6cb87ce722 | |||
| 7472566126 | |||
| b06b2426a2 |
2
AutoPlayer/.gitignore
vendored
Normal file
2
AutoPlayer/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/bin
|
||||
/gen
|
||||
@@ -30,11 +30,4 @@
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>ExceptionHandlerLib_src</name>
|
||||
<type>2</type>
|
||||
<locationURI>_android_ExceptionHandlerLib_7d68b46a/src</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
</projectDescription>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.TwentyCodes.android.AutoPlayer"
|
||||
android:versionCode="3"
|
||||
android:versionName="1.0" >
|
||||
android:versionCode="8"
|
||||
android:versionName="1.1" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="7" />
|
||||
|
||||
@@ -13,17 +13,23 @@
|
||||
|
||||
<application
|
||||
android:icon="@drawable/icon"
|
||||
android:label="@string/app_name" >
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/MyTheme"
|
||||
>
|
||||
<activity
|
||||
android:name=".AutoPlayerActivity"
|
||||
android:label="@string/app_name" >
|
||||
android:label="@string/app_name"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity" >
|
||||
<activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity"
|
||||
android:noHistory="true"
|
||||
android:excludeFromRecents="true">
|
||||
|
||||
</activity>
|
||||
|
||||
<receiver android:name="HeadPhoneReceiver" >
|
||||
@@ -46,8 +52,14 @@
|
||||
android:name="ConfirmDialog"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation"
|
||||
android:launchMode="singleInstance"
|
||||
android:theme="@android:style/Theme.Dialog" >
|
||||
android:theme="@style/MyDialogTheme" >
|
||||
android:noHistory="true"
|
||||
android:excludeFromRecents="true"
|
||||
android:taskAffinity=""
|
||||
</activity>
|
||||
|
||||
<service android:name="com.TwentyCodes.android.exception.ReportPostingService" >
|
||||
</service>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
</manifest>
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
# exceptionhandler.properties
|
||||
# This is the default Twenty Codes, LLC Exception Handler properties file
|
||||
# @author ricky barrette <rickbarrette@gmail.com>
|
||||
# @author twenty codes <twentycodes@gmail.com>
|
||||
|
||||
# This file is used to tell the Exception Handler LIbrary how to file
|
||||
# new exception reports
|
||||
# HTTP ONLY
|
||||
#
|
||||
# Place this file in you project's assets folder and edit as needed
|
||||
#
|
||||
# @author Twenty Codes, LLC
|
||||
# @author ricky barrette
|
||||
|
||||
|
||||
# The following is for using our custom server based exception handler web application
|
||||
# server is the physical web address for your server
|
||||
# file is the path to your filing script
|
||||
# get is the path to your json retrieval script
|
||||
server = http://powers.doesntexist.com:666
|
||||
file = /index.php?post=1
|
||||
#get = /index.php?get=1
|
||||
# app is the redmine project name
|
||||
# tracker is the redmine tracker
|
||||
server = http://rickbarrette.dyndns.org/redmine/exceptionhandler
|
||||
app = Auto Player
|
||||
tracker = Bug
|
||||
|
||||
# uncomment the following if you want your application to use email to file reports.
|
||||
# if this is uncommented, email will always be used.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
AutoPlayer/bin/classes/com/TwentyCodes/android/exception/R.class
Normal file
BIN
AutoPlayer/bin/classes/com/TwentyCodes/android/exception/R.class
Normal file
Binary file not shown.
BIN
AutoPlayer/bin/res/drawable-hdpi/icon.png
Normal file
BIN
AutoPlayer/bin/res/drawable-hdpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
BIN
AutoPlayer/bin/res/drawable-ldpi/icon.png
Normal file
BIN
AutoPlayer/bin/res/drawable-ldpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
AutoPlayer/bin/res/drawable-mdpi/icon.png
Normal file
BIN
AutoPlayer/bin/res/drawable-mdpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
@@ -39,21 +39,23 @@ public final class R {
|
||||
public static final int main=0x7f030004;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int about=0x7f04000b;
|
||||
public static final int app_name=0x7f040007;
|
||||
public static final int build=0x7f04000f;
|
||||
public static final int confirm=0x7f04000d;
|
||||
public static final int about=0x7f04000d;
|
||||
public static final int app_name=0x7f040009;
|
||||
public static final int build=0x7f040011;
|
||||
public static final int confirm=0x7f04000f;
|
||||
public static final int crash=0x7f040000;
|
||||
public static final int description=0x7f040004;
|
||||
public static final int enable=0x7f04000c;
|
||||
public static final int hello=0x7f040006;
|
||||
public static final int loading=0x7f04000a;
|
||||
public static final int music_volume=0x7f040008;
|
||||
public static final int pick_an_activity=0x7f040009;
|
||||
public static final int enable=0x7f04000e;
|
||||
public static final int hello=0x7f040008;
|
||||
public static final int loading=0x7f04000c;
|
||||
public static final int music_volume=0x7f04000a;
|
||||
public static final int no_reports=0x7f040006;
|
||||
public static final int pick_an_activity=0x7f04000b;
|
||||
public static final int send=0x7f040003;
|
||||
public static final int sending=0x7f040002;
|
||||
public static final int sending_report=0x7f040007;
|
||||
public static final int sorry=0x7f040001;
|
||||
public static final int start=0x7f04000e;
|
||||
public static final int start=0x7f040010;
|
||||
public static final int version=0x7f040005;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,21 +39,23 @@ public final class R {
|
||||
public static final int main=0x7f030004;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int about=0x7f04000b;
|
||||
public static final int app_name=0x7f040007;
|
||||
public static final int build=0x7f04000f;
|
||||
public static final int confirm=0x7f04000d;
|
||||
public static final int about=0x7f04000d;
|
||||
public static final int app_name=0x7f040009;
|
||||
public static final int build=0x7f040011;
|
||||
public static final int confirm=0x7f04000f;
|
||||
public static final int crash=0x7f040000;
|
||||
public static final int description=0x7f040004;
|
||||
public static final int enable=0x7f04000c;
|
||||
public static final int hello=0x7f040006;
|
||||
public static final int loading=0x7f04000a;
|
||||
public static final int music_volume=0x7f040008;
|
||||
public static final int pick_an_activity=0x7f040009;
|
||||
public static final int enable=0x7f04000e;
|
||||
public static final int hello=0x7f040008;
|
||||
public static final int loading=0x7f04000c;
|
||||
public static final int music_volume=0x7f04000a;
|
||||
public static final int no_reports=0x7f040006;
|
||||
public static final int pick_an_activity=0x7f04000b;
|
||||
public static final int send=0x7f040003;
|
||||
public static final int sending=0x7f040002;
|
||||
public static final int sending_report=0x7f040007;
|
||||
public static final int sorry=0x7f040001;
|
||||
public static final int start=0x7f04000e;
|
||||
public static final int start=0x7f040010;
|
||||
public static final int version=0x7f040005;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
|
||||
android.library.reference.1=../ExceptionHandlerLib
|
||||
android.library.reference.1=../../exception_handler_library/ExceptionHandlerLib
|
||||
# Project target.
|
||||
target=android-15
|
||||
target=android-16
|
||||
#proguard.config=proguard.cfg
|
||||
|
||||
12
AutoPlayer/res/values-v11/theme.xml
Normal file
12
AutoPlayer/res/values-v11/theme.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="MyTheme" parent="@android:style/Theme.Holo">
|
||||
<!-- Any customizations for your app running on devices with Theme.Holo here -->
|
||||
</style>
|
||||
|
||||
<style name="MyDialogTheme" parent="@android:style/Theme.Holo.Dialog">
|
||||
<!-- Any customizations for your app running on pre-3.0 devices here -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -4,7 +4,7 @@
|
||||
<string name="hello">Hello World, AutoPlayerActivity!</string>
|
||||
<string name="app_name">AutoPlayer</string>
|
||||
<string name="music_volume">Music Volume</string>
|
||||
<string name="pick_an_activity">Pick an Activity</string>
|
||||
<string name="pick_an_activity">Pick an Application</string>
|
||||
<string name="loading">Loading...</string>
|
||||
<string name="about">Welcome to AutoPlayer \n\n
|
||||
|
||||
|
||||
12
AutoPlayer/res/values/theme.xml
Normal file
12
AutoPlayer/res/values/theme.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="MyTheme" parent="@android:style/Theme">
|
||||
<!-- Any customizations for your app running on pre-3.0 devices here -->
|
||||
</style>
|
||||
|
||||
<style name="MyDialogTheme" parent="@android:style/Theme.Dialog">
|
||||
<!-- Any customizations for your app running on pre-3.0 devices here -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -56,7 +56,7 @@ public class HeadPhoneReceiver extends BroadcastReceiver {
|
||||
|
||||
//Perform user's settings
|
||||
if(mSettings.getBoolean(AutoPlayerActivity.KEY_CONFIRM, false))
|
||||
context.startActivity(new Intent(context, ConfirmDialog.class).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
|
||||
context.startActivity(new Intent(context, ConfirmDialog.class).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS));
|
||||
else
|
||||
applySettings();
|
||||
}
|
||||
@@ -120,4 +120,4 @@ public class HeadPhoneReceiver extends BroadcastReceiver {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user