-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
3,145 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,35 @@ | ||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
bin/ | ||
gen/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Eclipse project files | ||
.classpath | ||
.project | ||
|
||
# Android Studio | ||
.idea/ | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/*/local.properties | ||
/*/out | ||
/*/build | ||
/*/production | ||
*.iml | ||
*.iws | ||
*.ipr | ||
*~ | ||
*.swp | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
def getVersionCode = { -> | ||
try { | ||
def stdout = new ByteArrayOutputStream() | ||
exec { | ||
commandLine './versionCode.sh' | ||
standardOutput = stdout | ||
} | ||
return stdout.toString().trim().toInteger() | ||
} | ||
catch (ignored) { | ||
return null; | ||
} | ||
} | ||
|
||
def getVersionName = { -> | ||
try { | ||
def stdout = new ByteArrayOutputStream() | ||
exec { | ||
commandLine './versionName.sh' | ||
standardOutput = stdout | ||
} | ||
return stdout.toString().trim() | ||
} | ||
catch (ignored) { | ||
return null; | ||
} | ||
} | ||
apply plugin: 'android' | ||
|
||
android { | ||
compileSdkVersion 19 | ||
buildToolsVersion "19.0.1" | ||
|
||
defaultConfig { | ||
minSdkVersion 10 | ||
targetSdkVersion 19 | ||
versionCode getVersionCode() | ||
versionName getVersionName() | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
} | ||
buildTypes { | ||
release { | ||
runProguard false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.google.android.gms:play-services:4.1.32' | ||
compile 'com.android.support:support-v4:19.0.1' | ||
compile files('libs/commons-io-2.4.jar') | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the ProGuard | ||
# include property in project.properties. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
-keep class * extends java.util.ListResourceBundle { | ||
protected Object[][] getContents(); | ||
} | ||
|
||
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable { | ||
public static final *** NULL; | ||
} | ||
|
||
-keepnames @com.google.android.gms.common.annotation.KeepName class * | ||
-keepclassmembernames class * { | ||
@com.google.android.gms.common.annotation.KeepName *; | ||
} | ||
|
||
-keepnames class * implements android.os.Parcelable { | ||
public static final ** CREATOR; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.versobit.weatherdoge" > | ||
|
||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
|
||
<uses-feature android:name="android.hardware.location" /> | ||
|
||
<application | ||
android:name="com.versobit.weatherdoge.WeatherDoge" | ||
android:allowBackup="true" | ||
android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" > | ||
<activity | ||
android:name="com.versobit.weatherdoge.MainActivity" | ||
android:label="@string/app_name" | ||
android:screenOrientation="portrait" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<meta-data | ||
android:name="com.google.android.gms.version" | ||
android:value="@integer/google_play_services_version" /> | ||
|
||
<activity | ||
android:theme="@style/AppTheme.Options" | ||
android:name="com.versobit.weatherdoge.OptionsActivity" | ||
android:screenOrientation="portrait" | ||
android:label="@string/action_options" > | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>Comic Sans MS</title> | ||
<style type="text/css"> | ||
* { | ||
font-family: sans-serif; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Comic Sans MS</h1> | ||
<p>Weather Doge for Android includes and utilizes Microsoft Corporation's Comic Sans MS (comic.ttf version 5.00).</p> | ||
<p>Comic Sans MS 5.00 was authored by Vincent Connare and © Copyright 2006 Microsoft Corporation. All rights reserved. Additional licensing and copyright information, including how to purchase, license, and download Comic Sans MS, can be found on <a href="http://www.microsoft.com/typography/fonts/font.aspx?FMID=1920">Microsoft's typography knowledgebase</a>.</p> | ||
<p><a href="othershibes.html">« Back to Other Shibes</a></p> | ||
</body> | ||
</html> |
Oops, something went wrong.