From 0e90b852c9864fc0767da9786c4e65c84c6908e6 Mon Sep 17 00:00:00 2001 From: DjBushido Date: Tue, 18 Mar 2014 20:33:51 -0400 Subject: [PATCH] Commit initial Homework 4 --- HW4/.classpath | 9 + HW4/.project | 33 ++++ HW4/AndroidManifest.xml | 27 +++ HW4/bin/AndroidManifest.xml | 27 +++ HW4/ic_launcher-web.png | Bin 0 -> 14624 bytes HW4/proguard-project.txt | 20 +++ HW4/project.properties | 14 ++ HW4/res/drawable-hdpi/ic_launcher.png | Bin 0 -> 1579 bytes HW4/res/drawable-mdpi/ic_launcher.png | Bin 0 -> 995 bytes HW4/res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 2032 bytes HW4/res/drawable-xxhdpi/ic_launcher.png | Bin 0 -> 3109 bytes HW4/res/layout/activity_main.xml | 32 ++++ HW4/res/layout/activity_photo.xml | 28 ++++ HW4/res/layout/grid_schema.xml | 23 +++ HW4/res/menu/main.xml | 9 + HW4/res/values-sw600dp/dimens.xml | 8 + HW4/res/values-sw720dp-land/dimens.xml | 9 + HW4/res/values-v11/styles.xml | 11 ++ HW4/res/values-v14/styles.xml | 12 ++ HW4/res/values/dimens.xml | 10 ++ HW4/res/values/integers.xml | 4 + HW4/res/values/strings.xml | 20 +++ HW4/res/values/styles.xml | 20 +++ HW4/src/com/example/hw4/MainActivity.java | 39 +++++ HW4/src/com/example/hw4/PhotoActivity.java | 182 +++++++++++++++++++++ 25 files changed, 537 insertions(+) create mode 100644 HW4/.classpath create mode 100644 HW4/.project create mode 100644 HW4/AndroidManifest.xml create mode 100644 HW4/bin/AndroidManifest.xml create mode 100644 HW4/ic_launcher-web.png create mode 100644 HW4/proguard-project.txt create mode 100644 HW4/project.properties create mode 100644 HW4/res/drawable-hdpi/ic_launcher.png create mode 100644 HW4/res/drawable-mdpi/ic_launcher.png create mode 100644 HW4/res/drawable-xhdpi/ic_launcher.png create mode 100644 HW4/res/drawable-xxhdpi/ic_launcher.png create mode 100644 HW4/res/layout/activity_main.xml create mode 100644 HW4/res/layout/activity_photo.xml create mode 100644 HW4/res/layout/grid_schema.xml create mode 100644 HW4/res/menu/main.xml create mode 100644 HW4/res/values-sw600dp/dimens.xml create mode 100644 HW4/res/values-sw720dp-land/dimens.xml create mode 100644 HW4/res/values-v11/styles.xml create mode 100644 HW4/res/values-v14/styles.xml create mode 100644 HW4/res/values/dimens.xml create mode 100644 HW4/res/values/integers.xml create mode 100644 HW4/res/values/strings.xml create mode 100644 HW4/res/values/styles.xml create mode 100644 HW4/src/com/example/hw4/MainActivity.java create mode 100644 HW4/src/com/example/hw4/PhotoActivity.java diff --git a/HW4/.classpath b/HW4/.classpath new file mode 100644 index 0000000..26bdfa6 --- /dev/null +++ b/HW4/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/HW4/.project b/HW4/.project new file mode 100644 index 0000000..d1ac1ed --- /dev/null +++ b/HW4/.project @@ -0,0 +1,33 @@ + + + HW4 + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/HW4/AndroidManifest.xml b/HW4/AndroidManifest.xml new file mode 100644 index 0000000..095eab4 --- /dev/null +++ b/HW4/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + diff --git a/HW4/bin/AndroidManifest.xml b/HW4/bin/AndroidManifest.xml new file mode 100644 index 0000000..095eab4 --- /dev/null +++ b/HW4/bin/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + diff --git a/HW4/ic_launcher-web.png b/HW4/ic_launcher-web.png new file mode 100644 index 0000000000000000000000000000000000000000..df8cdb27a943b918f7d8e5b764e3d35a5166c74f GIT binary patch literal 14624 zcmd^m_di>2`2LAfLW@Sxs#UvcwDulF?Y(Pupe;qwB1Vj&s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jx@-(PYdy>GX<; zQ-JuQ@_$PEXQWd_nL818Tq{)Snq&`zlhwvJ?~0m$R%sa&Zb{Y#9U$e`fiiW1?&U@O z8T*hC7&)>%bp6Iu10#3%b+hFLu~ar-IE%EP#-Y#EylX;~oE{|SR&4myY-=N{!uq%e z3ZrgI3Y7GlhF-?`xRzQEy{$VFF)#`xIHuNKhvZ^~dpu9yewhj+3I6BGR7q-)Ejzv? z5iaWX6a)Uh%H@YD-tPW7M>5u7zUba#XAgq0xx2{_Zeu$y!5BvPDw}4B9zjogYY5&2 zetuoeuQQR$HFA~q9(aq%6AZC)G)RwKqZzQ@-Ho9HF?2F)P5V~UX?l!xTP|Gg%~&6_KDM9cTU%EY0Tals2?RA=CF^sir|;qkz};(XdmAHaBh}4zWa1Y#Id@wb^Vzp+opr` z#@e4lX~CzmKbl;hCCZQ@GyW?82s|6-1Ya#fo**lx*eXLV`g}4L$TzJAZiJr($*{T@ zG*^rG*;C+M$MXzLVShYtP&kP33)0?cB%|X1fb(zBBrTx17kx#3&}ZsRABrX$XWH`f0fnYM<3dd(xp Gu>S#&%g}}Z literal 0 HcmV?d00001 diff --git a/HW4/proguard-project.txt b/HW4/proguard-project.txt new file mode 100644 index 0000000..f2fe155 --- /dev/null +++ b/HW4/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/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 *; +#} diff --git a/HW4/project.properties b/HW4/project.properties new file mode 100644 index 0000000..4ab1256 --- /dev/null +++ b/HW4/project.properties @@ -0,0 +1,14 @@ +# 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 edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-19 diff --git a/HW4/res/drawable-hdpi/ic_launcher.png b/HW4/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..3709e5195c930c42f38d7159d05b9372b9d89c90 GIT binary patch literal 1579 zcmV+`2Gse9P)&dYD8MiBaRRUNPPx!QJVeSrIHS2-GD)|5J-l3p?@<1(rax1fZQ1XXGm{1Aa!nm22BiNW^-pi_K<(I<5D+3b|AOUQVA4E+#Lp!_)`K$$mUFfNrXnWUX96&5Jhe|V zfXD;)$)G2+_9k5W8aU;D>Y&#p0Pe=R%<0&(8xPR531eWvU+8m~NPSBGQ24X8&u4#b z6+1Rf%N35R13=3X0JOZuxsXduPCN5FT;rnGSiR#n(kMwb31ztCT4WETAB$$?cZ5^< zwKkA)2War5gKBiGpRJkM?VFW#rq#B1c8W$5?erQg^}=Qsov&7J`u3F?7BssCa27Ye zr{w1MgiV~IRII1uaip)xST{)48#k}RcW)v7ByDfJt?}G@!gB~(6D#bCU=h8EwI{nr zOe{HEQn?Q(`#jWf38$Nu_p#bqm!2i+JlR64pJgx_DH|?M5|B zGH&C>r0r8f0e7x~XWbpLo|9s%XL`c5t{^wANiarW-K0P9Z%XFsai?VgfEFoY$t!{P zE>#Bf%Z}WJShM~*`|C#oy4cR}vQHAY+PxZ?a%lWY1wcOr>Z$W$_|n`2;Cxnpj^s?- z0bY6^oYI4$@*jj|yOTX4+A61ROo6dHKEJgvrYFB`MVwH@wh}*>$YZz$ldjdCPc$G^ z!SqqZ>?nyv@W8tY>c9^rMdbmlv^7k=eDOYXjhXKs_p1-zvOzPp8xmpc3CVbW%h5zBHv{&~^E1{+QKD3h%Pp=;TEUf;7x- zQGhcJtmSWijyI);MLZ7Pok|w-Vobl3J)>*M&Hp7o$UYw(;GxJxE5ghcyclr#DrKGK zvZu>EADJ8DdgYf3OTl7yYLKf@mHe^v#z0ohQ$N|?h{H})@SQ#g=;JHWHd2acHa?|X zxFVQh;NDNjs-C_}^r4}GE`_cot7)(kAYK!VhRr@i84dxH7O{|$@zQX8itmi6)Ls*PUL8J_iPF1T|NCj`L9;vR4-OQ$Bj~pr8A!XcU}G;(NmAYSK7-_nUK^xj zjp!e`V5MKm9SR#g3kc=a6n9+yq2In3pu02t=*i_*(HE~&t2K)a8!=+Uh!G=3j2JOu d#E6l!<$v;}N5fFoSs(xa002ovPDHLkV1mU*4pjgE literal 0 HcmV?d00001 diff --git a/HW4/res/drawable-mdpi/ic_launcher.png b/HW4/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..6c67babd59d53a371e723188d24df5439173d811 GIT binary patch literal 995 zcmV<9104K`P)L{Dlo+uh3|1`UE}WDV#ce&a8@JriSsieWJXgNh)Ur~y9# z6)#>?P!L2sXpE?M5&Rt0-27l-{6?#1CcE7;y}Ps7SvCt(P_R2a(^b{|s_Jzko`E#T$Fcn3Eb6sm> z>3AU@LWl)}@&9}*qq*o54{AB4;7EVc#B?aFPoCiTfctsKUziJf)sWiV8^)JXRHzQu z^DuhWI~eUI6Cn}1-5Dm2lLtV%Tn6wFX`u;TSC&eb#y=I zDtTwigXxZMBcYkLcit-J$_sbmHC}QqxLmP=Wwx%oDi`dr$*SEclpaX}kC%dTdlW%N z1akLW2{R2JPHUf|AU#Y{;V5hi|(V#T9uyD-Lbv|pkWypNdO`~!-VkCwivUNjP(zY?lbmt<2X z`@B7@Fw!buvO%%Z4OSkMBo-o2YVBH`0y?$Qc|irQ92^&0ETi9$UOGdr_ptK3nd!Jn z$f+%$pHMv>C%wBrG!5SUl39YfZ(2m!N``mJc&7&~!&eoUZkEcOj*l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zv}IFiLo<)a|=5S<5Mz~{BCtyc7y z*T*{!w8WY8u;gfA*)dN8jVnt{;Rtd`*_*ii&`_P0zOtEF_ATPy`n>6LSKBR*Jzc!1 zrHxljaATT}karw?$J;y3^)pu&Ht8NyyA%D{;V5^HkK>s0NNP#bwpeXD+xiyu`KjqH zN_O;vo6^G)XSt8}LQ`RSLata~V?!B?vw4EC0`Z|&{fLT*-(3wmE zNpCE6zpq!crYF*n>9G9AQN)zuciQZzA5 z*rrGWujfsF@$w_fx_YkXN^h&B$@>*0KV@S=%J@dEn zI?$fU4jMTb<21PM__UAok9r2O>O=J}4){Jq7%Y8Q&nkk-h<^4uY7g-miX_wx`I-ds z`30Cv+h5A9xl#GkGbnj_|6!vl<4;1BS0WRH7E+&f3 zG2(rm2l>zeCpZB=Jn1>IVgBvJ7Lm|uv`iQ)P*D@Om3swdv&8{(AMzNAP&HCez>7)3 z4cGO6E2hrJ9^fE$XaDYT=3$Dp_Fkpv#7{hy=+7t+gP|^)15}l=LW122LI6 z|6ocbDEMXKEM`F8HKiQoGO+v>pgLPbPCPSii7h==L1L?Rc;`kUGPUn>v!e#h%lVtC zOH&H36li`N%%B`0e}d2*G{w92K5lnzkIfRX02;CLZBp|WWuErwN( z4C7DO6L~f#;@vYbRCd3`LX1J`hieIDvU%lQNzZq99YT4+~9 p7$}7>Mn9&r|2ItkT6ufVSy@hglaQ-?-}CRW`CS`Gy^(j~{{gPo_>2Gm literal 0 HcmV?d00001 diff --git a/HW4/res/layout/activity_main.xml b/HW4/res/layout/activity_main.xml new file mode 100644 index 0000000..a51b19d --- /dev/null +++ b/HW4/res/layout/activity_main.xml @@ -0,0 +1,32 @@ + + +