Compare commits

...

10 Commits

Author SHA1 Message Date
7f5b422f97 Updated project properties to use api 16 2012-07-16 13:46:14 -04:00
077bd07fca Added Flags to prevent the confirmation dialog from appearing in recents 2012-07-14 22:03:14 -04:00
069a42749d Bumped version to 1.0b7
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 17:57:16 -04:00
eb3d9ae4e5 Increased build to 1.0b6
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-23 12:22:02 -04:00
7fba5c1c0c Added the exception reporting service to the mainfest
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-23 12:20:27 -04:00
ed48be2be1 Increased build to 1.0b5
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-22 11:18:27 -04:00
6b0d7d0c22 Added dynamic theme
uses Holo for api =>11

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-22 11:17:33 -04:00
6cb87ce722 Updated project properties and git ignore
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-22 11:08:37 -04:00
7472566126 Updated Exception handler Props file
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-22 11:06:20 -04:00
b06b2426a2 updated strings and build 2011-12-18 14:51:57 +00:00
34 changed files with 87 additions and 48 deletions

2
AutoPlayer/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/bin
/gen

View File

@@ -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>

View File

@@ -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>

View File

@@ -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.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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

View 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>

View File

@@ -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

View 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>

View File

@@ -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();
}