Skip to content

Commit

Permalink
initial commit for Easy Image Splice
Browse files Browse the repository at this point in the history
  • Loading branch information
huntergdavis committed Apr 11, 2012
0 parents commit 102a655
Show file tree
Hide file tree
Showing 49 changed files with 669 additions and 0 deletions.
23 changes: 23 additions & 0 deletions AndroidManifest.xml
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hunterdavis.easyimagesplice"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".EasyImageSplice"
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.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation" />

</application>
</manifest>
Binary file added GoogleAdMobAdsSdk-4.1.0.jar
Binary file not shown.
10 changes: 10 additions & 0 deletions LICENSE
@@ -0,0 +1,10 @@
Copyright (c) 2011, 2012, Hunter Davis
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the application nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARIS
Binary file added bin/Easy Image Splice.apk
Binary file not shown.
Binary file added bin/classes.dex
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 added bin/classes/com/hunterdavis/easyimagesplice/R.class
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 added bin/com/hunterdavis/easyimagesplice/R$attr.class
Binary file not shown.
Binary file added bin/com/hunterdavis/easyimagesplice/R$drawable.class
Binary file not shown.
Binary file added bin/com/hunterdavis/easyimagesplice/R$id.class
Binary file not shown.
Binary file added bin/com/hunterdavis/easyimagesplice/R$layout.class
Binary file not shown.
Binary file added bin/com/hunterdavis/easyimagesplice/R$string.class
Binary file not shown.
Binary file added bin/com/hunterdavis/easyimagesplice/R.class
Binary file not shown.
Binary file not shown.
Binary file added bin/resources.ap_
Binary file not shown.
Binary file added deploy/Easy Image Splice.apk
Binary file not shown.
Binary file added deploy/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deploy/keystore
Binary file not shown.
Binary file added deploy/screenshot1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deploy/screenshot2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions gen/com/hunterdavis/easyimagesplice/R.java
@@ -0,0 +1,39 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/

package com.hunterdavis.easyimagesplice;

public final class R {
public static final class attr {
}
public static final class drawable {
public static final int icon=0x7f020000;
}
public static final class id {
public static final int ImagePreview=0x7f05000d;
public static final int ImageViewOne=0x7f050003;
public static final int ImageViewTwo=0x7f050004;
public static final int adView=0x7f050000;
public static final int horizontalorvertical=0x7f05000c;
public static final int leftpercentage=0x7f050007;
public static final int middletext=0x7f050005;
public static final int previewbutton=0x7f05000a;
public static final int rightpercentage=0x7f050008;
public static final int savebutton=0x7f05000b;
public static final int scroll=0x7f050001;
public static final int tableRowText=0x7f050002;
public static final int tableRowTextThree=0x7f050009;
public static final int tableRowTextTwo=0x7f050006;
}
public static final class layout {
public static final int main=0x7f030000;
}
public static final class string {
public static final int app_name=0x7f040001;
public static final int hello=0x7f040000;
}
}
36 changes: 36 additions & 0 deletions proguard.cfg
@@ -0,0 +1,36 @@
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService

-keepclasseswithmembernames class * {
native <methods>;
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
11 changes: 11 additions & 0 deletions project.properties
@@ -0,0 +1,11 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.

# Project target.
target=Google Inc.:Google APIs:7
Binary file added res/drawable-hdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions res/layout/main.xml
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"

android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.google.ads.AdView android:id="@+id/adView"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_alignParentTop="true" ads:adUnitId="a14e15da850156a"
ads:adSize="BANNER" ads:loadAdOnCreate="false" />

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scroll" android:layout_width="fill_parent"
android:layout_height="wrap_content">

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">

<TableRow android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:id="@+id/tableRowText" android:visibility="visible"
android:layout_gravity="fill_horizontal|bottom">

<ImageView android:id="@+id/ImageViewOne"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_weight="1" />

<ImageView android:id="@+id/ImageViewTwo"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_weight="1" />
</TableRow>
<TextView android:text="Click Either Image To Select a new Photo"
android:id="@+id/middletext" android:layout_width="fill_parent"
android:layout_height="wrap_content"></TextView>

<TableRow android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:id="@+id/tableRowTextTwo" android:visibility="visible"
android:layout_gravity="fill_horizontal|bottom">
<Spinner android:layout_width="fill_parent"
android:layout_weight="1" android:layout_height="wrap_content"
android:id="@+id/leftpercentage">
</Spinner>

<Spinner android:layout_width="fill_parent"
android:layout_weight="1" android:layout_height="wrap_content"
android:id="@+id/rightpercentage">
</Spinner>

</TableRow>
<TableRow android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:id="@+id/tableRowTextThree" android:visibility="visible"
android:layout_gravity="fill_horizontal|bottom">
<Button android:id="@+id/previewbutton"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="Preview" />
<Button android:id="@+id/savebutton" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:text="Save" />

<Spinner android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/horizontalorvertical">
</Spinner>
</TableRow>

<ImageView android:id="@+id/ImagePreview"
android:layout_width="fill_parent" android:layout_height="wrap_content" />


</LinearLayout>
</ScrollView>

</LinearLayout>
5 changes: 5 additions & 0 deletions res/values/strings.xml
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, EasyImageSplice!</string>
<string name="app_name">Easy Image Splice</string>
</resources>

0 comments on commit 102a655

Please sign in to comment.