Compare commits

...

10 Commits

Author SHA1 Message Date
71e0c7ca4c fixed inital 10s count twice bug 2013-06-14 15:32:57 -04:00
3ca0642a05 Added 10 the successes 2013-06-14 15:20:58 -04:00
a5ae6af56b Removed Ads 2013-06-14 15:20:34 -04:00
a83d85b143 Added @suppresslint markers 2013-06-14 15:12:32 -04:00
240ff7fcb1 Added Exception Handler Library as a sub module
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2013-01-12 12:42:10 -05:00
5dd35f38f5 I added the ExceptionHandler to GameListActivity 2012-07-18 15:02:13 -04:00
67c0bc11a1 Added the build incremeter
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-06-27 10:27:38 -04:00
7638f34290 I added a check to see if the database is open
before creating/showing the new game dialog.

closes #19

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-31 11:37:29 -04:00
522339f0c8 Added a check for the roll mod value, before tring to append it's
information onto the roll text view

closes #20

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-31 11:27:23 -04:00
23ea7b7e2d Proguard files
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-06 18:12:41 -04:00
23 changed files with 51239 additions and 28021 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "exception_handler_library"]
path = exception_handler_library
url = ssh://dev/srv/git/exception_handler_library.git

Binary file not shown.

View File

@@ -4,5 +4,6 @@
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/ExaltedDice/AndroidManifest.xml&quot; type=&quot;1&quot;/&gt;&#10;&lt;/resources&gt;}"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/ExaltedDice/AndroidManifest.xml&quot; type=&quot;1&quot;/&gt;&#10;&lt;/resources&gt;}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc}/exalted_dice/AndroidAutoIncrementVersionCode.exe"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,auto,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/ExaltedDice}"/>
</launchConfiguration>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/LocationRinger/AndroidManifest.xml&quot; type=&quot;1&quot;/&gt;&#10;&lt;/resources&gt;}"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/LocationRinger/AndroidManifest.xml&quot; type=&quot;1&quot;/&gt;&#10;&lt;/resources&gt;}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/home/ricky/Development/git/location_ringer/AndroidAutoIncrementVersionCode.exe"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,auto,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/LocationRinger}"/>
</launchConfiguration>

View File

@@ -25,6 +25,16 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>auto,full,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/Build Auto Increment.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>

33
ExaltedDice/.project~ Executable file
View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ExaltedDice</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6

View File

@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.TwentyCode.android.ExaltedDice"
android:installLocation="auto"
android:versionCode="82"
android:versionName="2.2" >
android:versionCode="95"
android:versionName="3ca0642" >
<uses-sdk android:minSdkVersion="7" />
@@ -12,6 +12,7 @@
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/MyTheme" >
@@ -35,9 +36,5 @@
<service android:name="com.TwentyCodes.android.exception.ReportPostingService" >
</service>
<activity
android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
</application>
</manifest> <!-- android:screenOrientation="portrait" -->
</manifest>

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -27,6 +27,7 @@ com.TwentyCode.android.ExaltedDice.R$array: int dice_types
com.TwentyCode.android.ExaltedDice.R$array: int game_modes
com.TwentyCode.android.ExaltedDice.R$array: int hello_msg
com.TwentyCode.android.ExaltedDice.R$array: int mods
com.TwentyCode.android.ExaltedDice.R$array: int success_after
com.TwentyCode.android.ExaltedDice.R$attr: int backgroundColor
com.TwentyCode.android.ExaltedDice.R$attr: int defaultValue
com.TwentyCode.android.ExaltedDice.R$attr: int endRange
@@ -118,7 +119,11 @@ com.TwentyCode.android.ExaltedDice.R$string: int higlight_color
com.TwentyCode.android.ExaltedDice.R$string: int higlight_color_msg
com.TwentyCode.android.ExaltedDice.R$string: int new_game
com.TwentyCode.android.ExaltedDice.R$string: int no_reports
com.TwentyCode.android.ExaltedDice.R$string: int ones_subtract
com.TwentyCode.android.ExaltedDice.R$string: int ones_subtract_msg
com.TwentyCode.android.ExaltedDice.R$string: int quit
com.TwentyCode.android.ExaltedDice.R$string: int reporting_error
com.TwentyCode.android.ExaltedDice.R$string: int reporting_error_msg
com.TwentyCode.android.ExaltedDice.R$string: int roll
com.TwentyCode.android.ExaltedDice.R$string: int roll_again
com.TwentyCode.android.ExaltedDice.R$string: int roll_again_summary
@@ -130,7 +135,10 @@ com.TwentyCode.android.ExaltedDice.R$string: int send
com.TwentyCode.android.ExaltedDice.R$string: int sending
com.TwentyCode.android.ExaltedDice.R$string: int sending_report
com.TwentyCode.android.ExaltedDice.R$string: int settings
com.TwentyCode.android.ExaltedDice.R$string: int seven
com.TwentyCode.android.ExaltedDice.R$string: int sorry
com.TwentyCode.android.ExaltedDice.R$string: int success_after
com.TwentyCode.android.ExaltedDice.R$string: int success_after_msg
com.TwentyCode.android.ExaltedDice.R$string: int successes
com.TwentyCode.android.ExaltedDice.R$string: int sucesses
com.TwentyCode.android.ExaltedDice.R$string: int tens_count_twice
@@ -160,6 +168,7 @@ com.TwentyCodes.android.exception.R$array: int dice_types
com.TwentyCodes.android.exception.R$array: int game_modes
com.TwentyCodes.android.exception.R$array: int hello_msg
com.TwentyCodes.android.exception.R$array: int mods
com.TwentyCodes.android.exception.R$array: int success_after
com.TwentyCodes.android.exception.R$attr: int backgroundColor
com.TwentyCodes.android.exception.R$attr: int defaultValue
com.TwentyCodes.android.exception.R$attr: int endRange
@@ -251,7 +260,11 @@ com.TwentyCodes.android.exception.R$string: int higlight_color
com.TwentyCodes.android.exception.R$string: int higlight_color_msg
com.TwentyCodes.android.exception.R$string: int new_game
com.TwentyCodes.android.exception.R$string: int no_reports
com.TwentyCodes.android.exception.R$string: int ones_subtract
com.TwentyCodes.android.exception.R$string: int ones_subtract_msg
com.TwentyCodes.android.exception.R$string: int quit
com.TwentyCodes.android.exception.R$string: int reporting_error
com.TwentyCodes.android.exception.R$string: int reporting_error_msg
com.TwentyCodes.android.exception.R$string: int roll
com.TwentyCodes.android.exception.R$string: int roll_again
com.TwentyCodes.android.exception.R$string: int roll_again_summary
@@ -263,7 +276,10 @@ com.TwentyCodes.android.exception.R$string: int send
com.TwentyCodes.android.exception.R$string: int sending
com.TwentyCodes.android.exception.R$string: int sending_report
com.TwentyCodes.android.exception.R$string: int settings
com.TwentyCodes.android.exception.R$string: int seven
com.TwentyCodes.android.exception.R$string: int sorry
com.TwentyCodes.android.exception.R$string: int success_after
com.TwentyCodes.android.exception.R$string: int success_after_msg
com.TwentyCodes.android.exception.R$string: int successes
com.TwentyCodes.android.exception.R$string: int sucesses
com.TwentyCodes.android.exception.R$string: int tens_count_twice
@@ -294,23 +310,28 @@ com.TwentyCodes.android.exception.ReportPostingService
com.TwentyCodes.android.exception.VersionInformationPreference
com.TwentyCodes.android.exception.VersionInformationPreference: VersionInformationPreference(android.content.Context,android.util.AttributeSet)
com.TwentyCodes.android.exception.VersionInformationPreference: VersionInformationPreference(android.content.Context,android.util.AttributeSet,int)
com.admob.android.ads.AdManager$Gender: com.admob.android.ads.AdManager$Gender[] values()
com.admob.android.ads.AdManager$Gender: com.admob.android.ads.AdManager$Gender valueOf(java.lang.String)
com.admob.android.ads.AdView
com.admob.android.ads.AdView: AdView(android.content.Context,android.util.AttributeSet)
com.admob.android.ads.AdView: AdView(android.content.Context,android.util.AttributeSet,int)
com.admob.android.ads.AdView: void setRequestInterval(int)
com.admob.android.ads.AdView: void setTextColor(int)
com.admob.android.ads.AdView: void setPrimaryTextColor(int)
com.admob.android.ads.AdView: void setSecondaryTextColor(int)
com.admob.android.ads.AdView: void setBackgroundColor(int)
com.admob.android.ads.AdView: void setKeywords(java.lang.String)
com.admob.android.ads.AdView: void setSearchQuery(java.lang.String)
com.admob.android.ads.AdView: void setGoneWithoutAd(boolean)
com.admob.android.ads.AdView: void setVisibility(int)
com.admob.android.ads.AdView: void setEnabled(boolean)
com.admob.android.ads.AdView: void setAdListener(com.admob.android.ads.AdListener)
com.admob.android.ads.d$f: com.admob.android.ads.d$f[] values()
com.admob.android.ads.d$f: com.admob.android.ads.d$f valueOf(java.lang.String)
com.admob.android.ads.q
com.admob.android.ads.view.AdMobWebView
com.google.ads.AdActivity
com.google.ads.AdActivity: void onClick(android.view.View)
com.google.ads.AdRequest$ErrorCode: com.google.ads.AdRequest$ErrorCode[] values()
com.google.ads.AdRequest$ErrorCode: com.google.ads.AdRequest$ErrorCode valueOf(java.lang.String)
com.google.ads.AdRequest$Gender: com.google.ads.AdRequest$Gender[] values()
com.google.ads.AdRequest$Gender: com.google.ads.AdRequest$Gender valueOf(java.lang.String)
com.google.ads.AdView
com.google.ads.AdView: AdView(android.content.Context,android.util.AttributeSet)
com.google.ads.AdView: AdView(android.content.Context,android.util.AttributeSet,int)
com.google.ads.AdView: void setAdListener(com.google.ads.AdListener)
com.google.ads.ag$b: com.google.ads.ag$b[] values()
com.google.ads.ag$b: com.google.ads.ag$b valueOf(java.lang.String)
com.google.ads.internal.AdVideoView
com.google.ads.internal.AdVideoView: void setMediaControllerEnabled(boolean)
com.google.ads.internal.AdVideoView: void setSrc(java.lang.String)
com.google.ads.internal.AdWebView
com.google.ads.internal.AdWebView: void setAdActivity(com.google.ads.AdActivity)
com.google.ads.internal.AdWebView: void setIsExpandedMraid(boolean)
com.google.ads.searchads.SearchAdRequest$BorderType: com.google.ads.searchads.SearchAdRequest$BorderType[] values()
com.google.ads.searchads.SearchAdRequest$BorderType: com.google.ads.searchads.SearchAdRequest$BorderType valueOf(java.lang.String)
com.google.ads.util.AdUtil$UserActivityReceiver
com.google.ads.util.AdUtil$a: com.google.ads.util.AdUtil$a[] values()
com.google.ads.util.AdUtil$a: com.google.ads.util.AdUtil$a valueOf(java.lang.String)
com.google.ads.util.b$a: com.google.ads.util.b$a[] values()
com.google.ads.util.b$a: com.google.ads.util.b$a valueOf(java.lang.String)

View File

@@ -22,10 +22,10 @@ com.TwentyCode.android.ExaltedDice.Database:
185:188:public Database(android.content.Context)
208:222:public boolean backup()
303:313:private void copyFile(java.io.File,java.io.File)
421:421:public android.database.Cursor getGameFromId(long)
499:499:public boolean isOpen()
510:512:public static boolean parseBoolean(java.lang.String)
541:563:public void restore()
424:424:public android.database.Cursor getGameFromId(long)
502:502:public boolean isOpen()
513:515:public static boolean parseBoolean(java.lang.String)
544:566:public void restore()
com.TwentyCode.android.ExaltedDice.DatabaseListener:
public abstract void onRestoreComplete()
com.TwentyCode.android.ExaltedDice.ExaltedDice:
@@ -36,7 +36,7 @@ com.TwentyCode.android.ExaltedDice.ExaltedDice:
private static final int DELETE
300:300:public void onRestoreComplete()
447:461:public void quitDialog()
604:605:public void toastLong(java.lang.CharSequence)
607:608:public void toastLong(java.lang.CharSequence)
com.TwentyCode.android.ExaltedDice.ExaltedDice$3
com.TwentyCode.android.ExaltedDice.ExaltedDice$4
com.TwentyCode.android.ExaltedDice.GameListActivity:
@@ -57,13 +57,15 @@ com.TwentyCode.android.ExaltedDice.R$menu
com.TwentyCode.android.ExaltedDice.R$string
com.TwentyCode.android.ExaltedDice.R$style
com.TwentyCode.android.ExaltedDice.R$styleable:
223:223:public R$styleable()
231:231:public R$styleable()
com.TwentyCode.android.ExaltedDice.R$xml
com.TwentyCode.android.ExaltedDice.Settings:
public static final java.lang.String SETTINGS
public static final java.lang.String KEY_ROLL_AGAIN
public static final java.lang.String KEY_TENS_COUNT_TWICE
public static final java.lang.String KEY_COLOR
public static final java.lang.String KEY_ONES_SUBRACT
public static final java.lang.String KEY_SUCCESS_AFTER
public static final java.lang.String KEY_EXALTED
com.TwentyCodes.android.exception.ExceptionHandler:
private static final java.lang.String MSG_SUBJECT_TAG
private static final java.lang.String MSG_BODY
@@ -79,12 +81,12 @@ com.TwentyCodes.android.exception.R$array
com.TwentyCodes.android.exception.R$attr
com.TwentyCodes.android.exception.R$drawable
com.TwentyCodes.android.exception.R$id:
122:122:public R$id()
123:123:public R$id()
com.TwentyCodes.android.exception.R$layout:
153:153:public R$layout()
154:154:public R$layout()
com.TwentyCodes.android.exception.R$menu
com.TwentyCodes.android.exception.R$string:
169:169:public R$string()
170:170:public R$string()
com.TwentyCodes.android.exception.R$style
com.TwentyCodes.android.exception.R$styleable
com.TwentyCodes.android.exception.R$xml
@@ -95,38 +97,177 @@ com.TwentyCodes.android.exception.ReportPostingService:
private static final java.lang.String TAG
com.TwentyCodes.android.exception.VersionInformationPreference:
35:37:public VersionInformationPreference(android.content.Context)
com.admob.android.ads.AdManager:
public static final java.lang.String SDK_VERSION_DATE
public static final java.lang.String SDK_VERSION
public static final java.lang.String LOG
public static final java.lang.String TEST_EMULATOR
157:159:private AdManager()
389:399:public static void setTestDevices(java.lang.String[])
406:406:static java.lang.String[] getTestDevices()
455:456:public static void setTestAction(java.lang.String)
765:766:public static void setPostalCode(java.lang.String)
808:809:public static void setBirthday(java.util.GregorianCalendar)
820:823:public static void setBirthday(int,int,int)
832:832:public static com.admob.android.ads.AdManager$Gender getGender()
864:865:public static void setGender(com.admob.android.ads.AdManager$Gender)
874:875:static void setEndpoint(java.lang.String)
883:883:static java.lang.String getEndpoint()
com.admob.android.ads.AdView:
254:255:public AdView(android.app.Activity)
566:597:public void requestFreshAd()
885:886:public int getRequestInterval()
1143:1144:public int getTextColor()
1237:1237:public java.lang.String getKeywords()
1261:1261:public java.lang.String getSearchQuery()
1308:1309:public boolean isGoneWithoutAd()
1415:1415:public com.admob.android.ads.AdListener getAdListener()
1430:1430:public boolean hasAd()
com.admob.android.ads.SimpleAdListener
com.admob.android.ads.e:
9:9:public e()
com.admob.android.ads.t:
13:13:t()
com.admob.android.ads.u:
28:28:u()
380:391:static void a(java.lang.String)
398:398:static java.lang.String a()
com.google.ads.Ad:
public abstract boolean isReady()
public abstract void loadAd(com.google.ads.AdRequest)
public abstract void setAdListener(com.google.ads.AdListener)
public abstract void stopLoading()
com.google.ads.AdActivity:
public static final java.lang.String BASE_URL_PARAM
public static final java.lang.String HTML_PARAM
public static final java.lang.String URL_PARAM
public static final java.lang.String INTENT_ACTION_PARAM
public static final java.lang.String TYPE_PARAM
public static final java.lang.String ORIENTATION_PARAM
com.google.ads.AdRequest:
public static final java.lang.String VERSION
public static final java.lang.String LOGTAG
226:227:public com.google.ads.AdRequest setGender(com.google.ads.AdRequest$Gender)
235:235:public com.google.ads.AdRequest$Gender getGender()
248:260:public com.google.ads.AdRequest setBirthday(java.lang.String)
269:275:public com.google.ads.AdRequest setBirthday(java.util.Date)
285:291:public com.google.ads.AdRequest setBirthday(java.util.Calendar)
299:299:public java.util.Date getBirthday()
307:308:public com.google.ads.AdRequest clearBirthday()
325:326:public com.google.ads.AdRequest setPlusOneOptOut(boolean)
339:339:public boolean getPlusOneOptOut()
365:370:public com.google.ads.AdRequest addKeyword(java.lang.String)
383:388:public com.google.ads.AdRequest addKeywords(java.util.Set)
399:403:public java.util.Set getKeywords()
413:417:private synchronized com.google.ads.mediation.admob.AdMobAdapterExtras a()
432:433:public com.google.ads.AdRequest setExtras(java.util.Map)
450:456:public com.google.ads.AdRequest addExtra(java.lang.String,java.lang.Object)
483:484:public com.google.ads.AdRequest removeNetworkExtras(java.lang.Class)
507:508:public com.google.ads.AdRequest setMediationExtras(java.util.Map)
522:527:public com.google.ads.AdRequest addMediationExtra(java.lang.String,java.lang.Object)
538:539:public com.google.ads.AdRequest setLocation(android.location.Location)
547:547:public android.location.Location getLocation()
562:563:public com.google.ads.AdRequest setTesting(boolean)
673:678:public com.google.ads.AdRequest addTestDevice(java.lang.String)
com.google.ads.AdSize:
public static final int FULL_WIDTH
public static final int AUTO_HEIGHT
public static final int LANDSCAPE_AD_HEIGHT
public static final int PORTRAIT_AD_HEIGHT
public static final int LARGE_AD_HEIGHT
142:151:public AdSize(int,int)
268:268:public int getWidthInPixels(android.content.Context)
278:278:public int getHeightInPixels(android.content.Context)
294:294:public boolean isSizeAppropriate(int,int)
317:336:public varargs com.google.ads.AdSize findBestSize(com.google.ads.AdSize[])
com.google.ads.AdView:
87:100:public AdView(android.app.Activity,com.google.ads.AdSize,java.lang.String)
263:264:public void destroy()
483:487:public boolean isReady()
546:549:public void stopLoading()
com.google.ads.InterstitialAd:
private com.google.ads.internal.d a
private com.google.ads.m b
86:87:public InterstitialAd(android.app.Activity,java.lang.String)
101:105:public InterstitialAd(android.app.Activity,java.lang.String,boolean)
114:114:public boolean isReady()
126:127:public void loadAd(com.google.ads.AdRequest)
136:137:public void show()
148:149:public void setAdListener(com.google.ads.AdListener)
158:159:public void stopLoading()
com.google.ads.e:
112:122:public void b()
199:205:private boolean a(com.google.ads.h,java.lang.String)
211:222:public void a(com.google.ads.h,boolean)
227:241:public void a(com.google.ads.h,android.view.View)
245:254:public void a(com.google.ads.h)
258:267:public void b(com.google.ads.h)
271:280:public void c(com.google.ads.h)
291:300:public boolean c()
462:464:private com.google.ads.h e()
51:51:static synthetic com.google.ads.h c(com.google.ads.e)
com.google.ads.e$2
com.google.ads.e$3
com.google.ads.e$4
com.google.ads.e$5
com.google.ads.e$6
com.google.ads.f:
79:79:public java.util.List e()
com.google.ads.h:
118:118:public com.google.ads.f a()
202:228:public synchronized void f()
255:255:synchronized com.google.ads.mediation.MediationAdapter h()
262:262:com.google.ads.e i()
266:267:synchronized void a(android.view.View)
com.google.ads.h$2
com.google.ads.internal.c:
433:449:protected void a()
com.google.ads.internal.d:
284:292:public synchronized void b()
487:487:public synchronized boolean q()
668:672:public synchronized void a(com.google.ads.f,boolean)
797:808:private void b(com.google.ads.f,java.lang.Boolean)
988:1017:public synchronized void y()
1026:1035:public synchronized void z()
1139:1139:public java.lang.Boolean C()
com.google.ads.j:
private boolean b
32:64:public void onReceivedAd(com.google.ads.mediation.MediationBannerAdapter)
70:82:public void onFailedToReceiveAd(com.google.ads.mediation.MediationBannerAdapter,com.google.ads.AdRequest$ErrorCode)
87:90:public void onPresentScreen(com.google.ads.mediation.MediationBannerAdapter)
94:97:public void onDismissScreen(com.google.ads.mediation.MediationBannerAdapter)
101:104:public void onLeaveApplication(com.google.ads.mediation.MediationBannerAdapter)
108:112:public void onClick(com.google.ads.mediation.MediationBannerAdapter)
com.google.ads.k:
27:38:public void onReceivedAd(com.google.ads.mediation.MediationInterstitialAdapter)
43:56:public void onFailedToReceiveAd(com.google.ads.mediation.MediationInterstitialAdapter,com.google.ads.AdRequest$ErrorCode)
61:64:public void onPresentScreen(com.google.ads.mediation.MediationInterstitialAdapter)
69:72:public void onDismissScreen(com.google.ads.mediation.MediationInterstitialAdapter)
76:79:public void onLeaveApplication(com.google.ads.mediation.MediationInterstitialAdapter)
com.google.ads.mediation.EmptyNetworkExtras
com.google.ads.mediation.MediationAdRequest:
53:53:public com.google.ads.AdRequest$Gender getGender()
60:60:public java.util.Date getBirthday()
68:82:public java.lang.Integer getAgeInYears()
89:93:public java.util.Set getKeywords()
101:105:public android.location.Location getLocation()
115:115:public boolean isTesting()
com.google.ads.mediation.MediationBannerAdapter:
public abstract android.view.View getBannerView()
com.google.ads.mediation.MediationBannerListener:
public abstract void onReceivedAd(com.google.ads.mediation.MediationBannerAdapter)
public abstract void onFailedToReceiveAd(com.google.ads.mediation.MediationBannerAdapter,com.google.ads.AdRequest$ErrorCode)
public abstract void onPresentScreen(com.google.ads.mediation.MediationBannerAdapter)
public abstract void onDismissScreen(com.google.ads.mediation.MediationBannerAdapter)
public abstract void onLeaveApplication(com.google.ads.mediation.MediationBannerAdapter)
public abstract void onClick(com.google.ads.mediation.MediationBannerAdapter)
com.google.ads.mediation.MediationInterstitialAdapter:
public abstract void showInterstitial()
com.google.ads.mediation.MediationInterstitialListener:
public abstract void onReceivedAd(com.google.ads.mediation.MediationInterstitialAdapter)
public abstract void onFailedToReceiveAd(com.google.ads.mediation.MediationInterstitialAdapter,com.google.ads.AdRequest$ErrorCode)
public abstract void onPresentScreen(com.google.ads.mediation.MediationInterstitialAdapter)
public abstract void onDismissScreen(com.google.ads.mediation.MediationInterstitialAdapter)
public abstract void onLeaveApplication(com.google.ads.mediation.MediationInterstitialAdapter)
com.google.ads.mediation.admob.AdMobAdapter
com.google.ads.mediation.admob.AdMobAdapter$1
com.google.ads.mediation.admob.AdMobAdapter$a
com.google.ads.mediation.admob.AdMobAdapter$b
com.google.ads.mediation.admob.AdMobAdapterExtras:
29:36:public AdMobAdapterExtras(com.google.ads.mediation.admob.AdMobAdapterExtras)
49:50:public com.google.ads.mediation.admob.AdMobAdapterExtras setPlusOneOptOut(boolean)
78:79:public com.google.ads.mediation.admob.AdMobAdapterExtras setUseExactAdSize(boolean)
89:89:public boolean getUseExactAdSize()
115:119:public com.google.ads.mediation.admob.AdMobAdapterExtras setExtras(java.util.Map)
145:146:public com.google.ads.mediation.admob.AdMobAdapterExtras addExtra(java.lang.String,java.lang.Object)
com.google.ads.mediation.admob.AdMobAdapterServerParameters
com.google.ads.mediation.customevent.CustomEventAdapter
com.google.ads.mediation.customevent.CustomEventAdapter$a
com.google.ads.mediation.customevent.CustomEventAdapter$b
com.google.ads.mediation.customevent.CustomEventBanner
com.google.ads.mediation.customevent.CustomEventBannerListener
com.google.ads.mediation.customevent.CustomEventInterstitial
com.google.ads.mediation.customevent.CustomEventInterstitialListener
com.google.ads.mediation.customevent.CustomEventListener
com.google.ads.mediation.customevent.CustomEventServerParameters
com.google.ads.searchads.SearchAdRequest:
90:91:public void setQuery(java.lang.String)
100:107:public void setBackgroundColor(int)
119:126:public void setBackgroundGradient(int,int)
136:137:public void setHeaderTextColor(int)
147:148:public void setDescriptionTextColor(int)
158:159:public void setAnchorTextColor(int)
167:168:public void setFontFace(java.lang.String)
177:178:public void setHeaderTextSize(int)
188:189:public void setBorderColor(int)
196:197:public void setBorderType(com.google.ads.searchads.SearchAdRequest$BorderType)
206:207:public void setBorderThickness(int)
214:215:public void setCustomChannels(java.lang.String)
com.google.ads.util.a:
37:38:public static void a(boolean)
53:55:public static void a(java.lang.Object)

View File

@@ -9,6 +9,6 @@
# Indicates whether an apk should be generated for each density.
# Project target.
target=android-15
android.library.reference.1=../../exception_handler_library/ExceptionHandlerLib
target=android-17
android.library.reference.1=../exception_handler_library/ExceptionHandlerLib
proguard.config=proguard.cfg

View File

@@ -53,15 +53,6 @@
android:layout_height="wrap_content"
android:layout_above="@+id/ad"
android:layout_gravity="top" />
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="a14bad63772f7d3"
ads:loadAdOnCreate="true" />
</RelativeLayout>
</LinearLayout>

View File

@@ -56,13 +56,4 @@
android:layout_below="@id/holder"
android:layout_gravity="top" />
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="a14bad63772f7d3"
ads:loadAdOnCreate="true" />
</RelativeLayout>

View File

@@ -11,6 +11,7 @@
<item>7</item>
<item>8</item>
<item>9</item>
<item >10</item>
</string-array>
</resources>

View File

@@ -2,6 +2,7 @@ package com.TwentyCode.android.ExaltedDice;
import java.util.Random;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.Activity;
import android.app.AlertDialog;
@@ -67,6 +68,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* @param id of the roll
* @author ricky barrette
*/
@SuppressLint("NewApi")
private void applyRollPresets(long id) {
ContentValues roll = mDb.getGameHistoryInfo(mGameName, (int) (id));
try{
@@ -110,6 +112,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* Initializes native number pickers api > 11
* @author ricky barrette
*/
@SuppressLint("NewApi")
private void initPickers() {
mDPicker = (NumberPicker) findViewById(R.id.d_Picker);
mDPicker.setMinValue(0);
@@ -163,7 +166,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
*
* @author ricky barrette 3-27-2010
*/
@Override
@SuppressLint("NewApi") @Override
public void onCreate(Bundle savedInstanceState) {
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this));
super.onCreate(savedInstanceState);
@@ -303,6 +306,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* resorts application state after rotation
* @author ricky barrette
*/
@SuppressLint("NewApi")
@Override
public void onRestoreInstanceState(Bundle savedInstanceState) {
super.onRestoreInstanceState(savedInstanceState);
@@ -336,6 +340,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* saves application state before rotation
* @author ricky barrette
*/
@SuppressLint("NewApi")
@Override
public void onSaveInstanceState(Bundle savedInstanceState) {
if(isCompat){
@@ -403,6 +408,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* @param stringExtra
* @author ricky barrette
*/
@SuppressLint("NewApi")
private void setGameMode(String mode) {
/*
@@ -476,6 +482,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* @return String resultsString
* @author ricky barrette
*/
@SuppressLint("NewApi")
public ContentValues results(int times) {
Log.i(TAG, "results()");
ContentValues rolled = new ContentValues();
@@ -522,6 +529,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
mRollProgress.setVisibility(View.VISIBLE);
new Thread( new Runnable() {
@SuppressLint("NewApi")
@Override
public void run(){
// vibrate for 50 milliseconds
@@ -559,6 +567,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
* @return int[] roll
* @author ricky barrette
*/
@SuppressLint("NewApi")
public int[] rollGen(int times) {
Log.i(TAG, "rollGen()" + times);
int[] roll = new int[times];
@@ -586,7 +595,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
for (int i = 0; i < roll.length; i++) {
if (roll[i] >= Integer.parseInt(mSettings.getString(Settings.KEY_SUCCESS_AFTER, "7")))
intSuccesses++;
if(mSettings.getBoolean(Settings.KEY_TENS_COUNT_TWICE, true))
if(mSettings.getBoolean(Settings.KEY_TENS_COUNT_TWICE, false))
if (roll[i] == 10)
intSuccesses++;
if(mSettings.getBoolean(Settings.KEY_ONES_SUBRACT, false))

View File

@@ -6,6 +6,8 @@
*/
package com.TwentyCode.android.ExaltedDice;
import com.TwentyCodes.android.exception.ExceptionHandler;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
@@ -34,6 +36,8 @@ public class GameListActivity extends Activity implements OnClickListener, Datab
@Override
public void onClick(View v) {
if(!mDb.isOpen())
mDb = new Database(this, this);
new NewGameDialog(this, mDb).show();
}
@@ -59,6 +63,7 @@ public class GameListActivity extends Activity implements OnClickListener, Datab
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this));
setContentView(R.layout.game_list);
findViewById(R.id.new_game_button).setOnClickListener(this);
mList = (ListView) findViewById(android.R.id.list);

View File

@@ -95,7 +95,7 @@ public class RollHistoryDatabaseAdapter extends BaseAdapter {
holder.mRoll.setText("Rolled: "+roll.getAsInteger(Database.KEY_NUMBER) + " "+roll.getAsString(Database.KEY_D_TYPE));
if(isRollModEnabled)
if(isRollModEnabled && roll.containsKey(Database.KEY_MOD))
holder.mRoll.append(" "+ roll.getAsString(Database.KEY_MOD).replace("'", ""));
holder.mStats.setText(roll.getAsString(Database.KEY_LOG));

View File

@@ -6,6 +6,7 @@
*/
package com.TwentyCode.android.ExaltedDice;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.content.Intent;
import android.content.pm.PackageInfo;
@@ -73,7 +74,7 @@ public class Settings extends PreferenceActivity implements OnPreferenceClickLis
* (non-Javadoc)
* @see android.preference.PreferenceActivity#onCreate(android.os.Bundle)
*/
@Override
@SuppressLint("NewApi") @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//load preferences xml. this load relies on only wether the app is full or not. it will show the check license option if full and leave it out if lite