From 2a1fa028604e8db13cd722c5df2eeb16813efcb9 Mon Sep 17 00:00:00 2001 From: paramsethi Date: Wed, 15 Jun 2011 16:11:08 -0400 Subject: [PATCH 1/3] added all the code --- android_examples/HelloAndroid/.classpath | 7 ++ android_examples/HelloAndroid/.project | 33 +++++++++ .../HelloAndroid/AndroidManifest.xml | 18 +++++ .../bin/com/hello/HelloAndroid.class | Bin 0 -> 977 bytes .../HelloAndroid/bin/com/hello/R$attr.class | Bin 0 -> 313 bytes .../bin/com/hello/R$drawable.class | Bin 0 -> 373 bytes .../HelloAndroid/bin/com/hello/R$layout.class | Bin 0 -> 367 bytes .../HelloAndroid/bin/com/hello/R$string.class | Bin 0 -> 400 bytes .../HelloAndroid/bin/com/hello/R.class | Bin 0 -> 435 bytes .../HelloAndroid/bin/com/hello/R1$attr.class | Bin 0 -> 317 bytes .../bin/com/hello/R1$drawable.class | Bin 0 -> 377 bytes .../bin/com/hello/R1$layout.class | Bin 0 -> 371 bytes .../bin/com/hello/R1$string.class | Bin 0 -> 404 bytes .../HelloAndroid/bin/com/hello/R1.class | Bin 0 -> 442 bytes .../HelloAndroid/default.properties | 11 +++ .../HelloAndroid/gen/com/hello/R.java | 23 ++++++ .../HelloAndroid/gen/com/hello/R1.java | 23 ++++++ android_examples/HelloAndroid/proguard.cfg | 36 ++++++++++ .../HelloAndroid/res/drawable/icon.png | Bin 0 -> 2574 bytes .../HelloAndroid/res/layout/main.xml | 12 ++++ .../HelloAndroid/res/values/strings.xml | 5 ++ .../src/com/hello/HelloAndroid.java | 29 ++++++++ android_examples/helloworld/.classpath | 7 ++ android_examples/helloworld/.project | 33 +++++++++ .../helloworld/AndroidManifest.xml | 18 +++++ .../bin/com/param/hello/HelloWorld.class | Bin 0 -> 984 bytes .../bin/com/param/hello/R$attr.class | Bin 0 -> 331 bytes .../bin/com/param/hello/R$drawable.class | Bin 0 -> 391 bytes .../bin/com/param/hello/R$layout.class | Bin 0 -> 385 bytes .../bin/com/param/hello/R$string.class | Bin 0 -> 418 bytes .../helloworld/bin/com/param/hello/R.class | Bin 0 -> 471 bytes .../helloworld/default.properties | 11 +++ .../helloworld/gen/com/param/hello/R.java | 23 ++++++ android_examples/helloworld/proguard.cfg | 36 ++++++++++ .../helloworld/res/drawable/icon.png | Bin 0 -> 2574 bytes .../helloworld/res/layout/main.xml | 12 ++++ .../helloworld/res/values/strings.xml | 5 ++ .../src/com/param/hello/HelloWorld.java | 29 ++++++++ android_examples/test_mobile/.classpath | 7 ++ android_examples/test_mobile/.project | 33 +++++++++ .../.settings/org.eclipse.jdt.core.prefs | 5 ++ .../test_mobile/AndroidManifest.xml | 18 +++++ .../bin/com/param/HelloWorld.class | Bin 0 -> 969 bytes .../test_mobile/bin/com/param/R$attr.class | Bin 0 -> 313 bytes .../bin/com/param/R$drawable.class | Bin 0 -> 373 bytes .../test_mobile/bin/com/param/R$layout.class | Bin 0 -> 367 bytes .../test_mobile/bin/com/param/R$string.class | Bin 0 -> 400 bytes .../test_mobile/bin/com/param/R.class | Bin 0 -> 435 bytes .../test_mobile/bin/com/param/param$1.class | Bin 0 -> 717 bytes .../test_mobile/bin/com/param/param.class | Bin 0 -> 2410 bytes .../test_mobile/default.properties | 11 +++ .../test_mobile/gen/com/param/R.java | 23 ++++++ android_examples/test_mobile/proguard.cfg | 36 ++++++++++ .../test_mobile/res/drawable-hdpi/icon.png | Bin 0 -> 4147 bytes .../test_mobile/res/drawable-ldpi/icon.png | Bin 0 -> 1723 bytes .../test_mobile/res/drawable-mdpi/icon.png | Bin 0 -> 2574 bytes .../test_mobile/res/layout/main.xml | 12 ++++ .../test_mobile/res/values/strings.xml | 5 ++ .../test_mobile/src/com/param/HelloWorld.java | 28 ++++++++ .../test_mobile/src/com/param/param.java | 67 ++++++++++++++++++ android_examples/test_mobileTest/.classpath | 8 +++ android_examples/test_mobileTest/.project | 34 +++++++++ .../.settings/org.eclipse.jdt.core.prefs | 5 ++ .../test_mobileTest/AndroidManifest.xml | 12 ++++ .../bin/com/param/test/MyFirstClass.class | Bin 0 -> 836 bytes .../bin/com/param/test/R$attr.class | Bin 0 -> 328 bytes .../bin/com/param/test/R$drawable.class | Bin 0 -> 388 bytes .../bin/com/param/test/R$layout.class | Bin 0 -> 382 bytes .../bin/com/param/test/R$string.class | Bin 0 -> 415 bytes .../bin/com/param/test/R.class | Bin 0 -> 465 bytes .../test_mobileTest/default.properties | 11 +++ .../test_mobileTest/gen/com/param/test/R.java | 23 ++++++ android_examples/test_mobileTest/proguard.cfg | 36 ++++++++++ .../res/drawable-hdpi/icon.png | Bin 0 -> 4147 bytes .../res/drawable-ldpi/icon.png | Bin 0 -> 1723 bytes .../res/drawable-mdpi/icon.png | Bin 0 -> 2574 bytes .../test_mobileTest/res/layout/main.xml | 12 ++++ .../test_mobileTest/res/values/strings.xml | 5 ++ .../src/com/param/test/MyFirstClass.java | 16 +++++ test/.classpath | 6 ++ test/.project | 17 +++++ test/.settings/org.eclipse.jdt.core.prefs | 12 ++++ test/bin/com/param/test/TestMathFunc.class | Bin 0 -> 730 bytes test/bin/com/param/test/TestRegex.class | Bin 0 -> 717 bytes test/src/com/param/test/TestMathFunc.java | 14 ++++ test/src/com/param/test/TestRegex.java | 16 +++++ 86 files changed, 843 insertions(+) create mode 100644 android_examples/HelloAndroid/.classpath create mode 100644 android_examples/HelloAndroid/.project create mode 100644 android_examples/HelloAndroid/AndroidManifest.xml create mode 100644 android_examples/HelloAndroid/bin/com/hello/HelloAndroid.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R$attr.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R$drawable.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R$layout.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R$string.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R1$attr.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R1$drawable.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R1$layout.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R1$string.class create mode 100644 android_examples/HelloAndroid/bin/com/hello/R1.class create mode 100644 android_examples/HelloAndroid/default.properties create mode 100644 android_examples/HelloAndroid/gen/com/hello/R.java create mode 100644 android_examples/HelloAndroid/gen/com/hello/R1.java create mode 100644 android_examples/HelloAndroid/proguard.cfg create mode 100644 android_examples/HelloAndroid/res/drawable/icon.png create mode 100644 android_examples/HelloAndroid/res/layout/main.xml create mode 100644 android_examples/HelloAndroid/res/values/strings.xml create mode 100644 android_examples/HelloAndroid/src/com/hello/HelloAndroid.java create mode 100644 android_examples/helloworld/.classpath create mode 100644 android_examples/helloworld/.project create mode 100644 android_examples/helloworld/AndroidManifest.xml create mode 100644 android_examples/helloworld/bin/com/param/hello/HelloWorld.class create mode 100644 android_examples/helloworld/bin/com/param/hello/R$attr.class create mode 100644 android_examples/helloworld/bin/com/param/hello/R$drawable.class create mode 100644 android_examples/helloworld/bin/com/param/hello/R$layout.class create mode 100644 android_examples/helloworld/bin/com/param/hello/R$string.class create mode 100644 android_examples/helloworld/bin/com/param/hello/R.class create mode 100644 android_examples/helloworld/default.properties create mode 100644 android_examples/helloworld/gen/com/param/hello/R.java create mode 100644 android_examples/helloworld/proguard.cfg create mode 100644 android_examples/helloworld/res/drawable/icon.png create mode 100644 android_examples/helloworld/res/layout/main.xml create mode 100644 android_examples/helloworld/res/values/strings.xml create mode 100644 android_examples/helloworld/src/com/param/hello/HelloWorld.java create mode 100644 android_examples/test_mobile/.classpath create mode 100644 android_examples/test_mobile/.project create mode 100644 android_examples/test_mobile/.settings/org.eclipse.jdt.core.prefs create mode 100644 android_examples/test_mobile/AndroidManifest.xml create mode 100644 android_examples/test_mobile/bin/com/param/HelloWorld.class create mode 100644 android_examples/test_mobile/bin/com/param/R$attr.class create mode 100644 android_examples/test_mobile/bin/com/param/R$drawable.class create mode 100644 android_examples/test_mobile/bin/com/param/R$layout.class create mode 100644 android_examples/test_mobile/bin/com/param/R$string.class create mode 100644 android_examples/test_mobile/bin/com/param/R.class create mode 100644 android_examples/test_mobile/bin/com/param/param$1.class create mode 100644 android_examples/test_mobile/bin/com/param/param.class create mode 100644 android_examples/test_mobile/default.properties create mode 100644 android_examples/test_mobile/gen/com/param/R.java create mode 100644 android_examples/test_mobile/proguard.cfg create mode 100644 android_examples/test_mobile/res/drawable-hdpi/icon.png create mode 100644 android_examples/test_mobile/res/drawable-ldpi/icon.png create mode 100644 android_examples/test_mobile/res/drawable-mdpi/icon.png create mode 100644 android_examples/test_mobile/res/layout/main.xml create mode 100644 android_examples/test_mobile/res/values/strings.xml create mode 100644 android_examples/test_mobile/src/com/param/HelloWorld.java create mode 100644 android_examples/test_mobile/src/com/param/param.java create mode 100644 android_examples/test_mobileTest/.classpath create mode 100644 android_examples/test_mobileTest/.project create mode 100644 android_examples/test_mobileTest/.settings/org.eclipse.jdt.core.prefs create mode 100644 android_examples/test_mobileTest/AndroidManifest.xml create mode 100644 android_examples/test_mobileTest/bin/com/param/test/MyFirstClass.class create mode 100644 android_examples/test_mobileTest/bin/com/param/test/R$attr.class create mode 100644 android_examples/test_mobileTest/bin/com/param/test/R$drawable.class create mode 100644 android_examples/test_mobileTest/bin/com/param/test/R$layout.class create mode 100644 android_examples/test_mobileTest/bin/com/param/test/R$string.class create mode 100644 android_examples/test_mobileTest/bin/com/param/test/R.class create mode 100644 android_examples/test_mobileTest/default.properties create mode 100644 android_examples/test_mobileTest/gen/com/param/test/R.java create mode 100644 android_examples/test_mobileTest/proguard.cfg create mode 100644 android_examples/test_mobileTest/res/drawable-hdpi/icon.png create mode 100644 android_examples/test_mobileTest/res/drawable-ldpi/icon.png create mode 100644 android_examples/test_mobileTest/res/drawable-mdpi/icon.png create mode 100644 android_examples/test_mobileTest/res/layout/main.xml create mode 100644 android_examples/test_mobileTest/res/values/strings.xml create mode 100644 android_examples/test_mobileTest/src/com/param/test/MyFirstClass.java create mode 100644 test/.classpath create mode 100644 test/.project create mode 100644 test/.settings/org.eclipse.jdt.core.prefs create mode 100644 test/bin/com/param/test/TestMathFunc.class create mode 100644 test/bin/com/param/test/TestRegex.class create mode 100644 test/src/com/param/test/TestMathFunc.java create mode 100644 test/src/com/param/test/TestRegex.java diff --git a/android_examples/HelloAndroid/.classpath b/android_examples/HelloAndroid/.classpath new file mode 100644 index 0000000..609aa00 --- /dev/null +++ b/android_examples/HelloAndroid/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/android_examples/HelloAndroid/.project b/android_examples/HelloAndroid/.project new file mode 100644 index 0000000..4156cd3 --- /dev/null +++ b/android_examples/HelloAndroid/.project @@ -0,0 +1,33 @@ + + + HelloAndroid + + + + + + 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/android_examples/HelloAndroid/AndroidManifest.xml b/android_examples/HelloAndroid/AndroidManifest.xml new file mode 100644 index 0000000..2fe3f49 --- /dev/null +++ b/android_examples/HelloAndroid/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android_examples/HelloAndroid/bin/com/hello/HelloAndroid.class b/android_examples/HelloAndroid/bin/com/hello/HelloAndroid.class new file mode 100644 index 0000000000000000000000000000000000000000..6cf711a46c41c81c6c9e0594aed4e770fd077495 GIT binary patch literal 977 zcmZuvYflqF6g^WG`f#PtLV1e2irSXS`Zf_`0!0Ez)ej|2^xLwX!057rv(xhUSAHo* z6Muj|%6Mm6C>p-pyLWcx+;h&ozyJLB1>gx@rjcSO1@h24;9)4eZ4=j{wvwWqhQ%=D z_Y2QII`Y;7ExJOVGK{?zk zxwvyI+WTC4yZl7A1V7H9fN8_7#IQI-3S^{tq`kVyCpy6^VAjSQ<{2hpuIn8YOVtvw zNOV}`Po`%9i#BdyiGZ?7hz=n zV^fz7JabC23{k(!+dEOLeS&G~#MI(7o-(9#mtpSm*MC;hSh6zOi2P8TaTR}v-ku0;hW5Nzss=p%(3Me`f5aU+Sz1*&dRMP?yS(L6pQFax?=T{*|Z zPZT~9%GA4>)x%6J)5AioaJvV$TI=E75PK0QDKYQ&Nm-2)zLlnuwM^&P83;pwp1cmgyJ3k%3#@rt1ArJ(2ZG=&#`0cB{< Ap#T5? literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R$attr.class b/android_examples/HelloAndroid/bin/com/hello/R$attr.class new file mode 100644 index 0000000000000000000000000000000000000000..e8b8e2ad024d4b7484cdfe82e1763e68aeb56b51 GIT binary patch literal 313 zcmZ8c%}N6?7@V)&AKk9DRxjQ?s0V{yEnW&jp(s@8J-Y^*k|vN%eJ@Xf2Oq$P62Alw zQUWuX8HP;0e?Gqe+~A}{k1%T8My!-EPAtx32);zd?pnS{VWfQ(kIh=Ofly4e)!~lN zKfhQKvZ;Gf75dn(k)t3C=h~`=?WR%wSvE!y#&g$7vy@&({by!jrMsBzzI#ikp4`^A z>R!iovABvO2=&Zb<)=n=o$5-A34?!KUJ_U18oZ4E1!jti7)w?nX&}G+z}`C>JyeV_ a1_pe9I^A>TgOnd89Ad;=rTP($arz7R5j`IO literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R$drawable.class b/android_examples/HelloAndroid/bin/com/hello/R$drawable.class new file mode 100644 index 0000000000000000000000000000000000000000..028618a614e6fef4699a4e12d6554d39715a5e69 GIT binary patch literal 373 zcmZut%SyvQ6g@YOrlyIlwN|@#p)L%%Ron!GLQtrZ{Ujail<5rQQI~#`E5U^y;75rw zLBWNabMLv&bMNQZ`v-ta90hO)lTvSz6_-*ci{oX*o>?Jz0FN+Qvn@*`Q%}i#vF2q% z@Iv&}~)nTVW^k7UxzdA(|`2t5mYO=5>H6VeqG) z(Eq&-7e=aUen6PPN6*;6Fb93(kyUDNU?NG!0srg`(Q8+-YtS|TF@^@C&i66GUY8$t PxQ~gkb`0SFhnRf>a5G91 literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R$layout.class b/android_examples/HelloAndroid/bin/com/hello/R$layout.class new file mode 100644 index 0000000000000000000000000000000000000000..4de3f9d912f996f1e388c423bd6ccd6208c2fe22 GIT binary patch literal 367 zcmZWkyH3ME5S)!);5a0N@JLSq6j;!LXe=Q`vOo&R{n?zzMdv%o4_5K0i90vggglS>RcqO&A@$yiMXWKRbT*726o=QUYwAXrCKI}q&Wi&O{7Yq2b475Djx&}g_CbblFp98=kT6b_kvDCb%j#a_ zTJqsmUVzV!tjrq zg+G_!jAL?E#yLFrTmxnUY;Z?iO2#2i;+_NE$s3~AUb4m58Gs4Kj8Wfv%(naew8tIH MxOUGFcCnB7H_UxVApigX literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R$string.class b/android_examples/HelloAndroid/bin/com/hello/R$string.class new file mode 100644 index 0000000000000000000000000000000000000000..ffff28d5eaa0818495659f82b60ec96fcf0c80a2 GIT binary patch literal 400 zcmZXQ%}&BV6ot>FEk!7T6@PH;LS4}4R^z6L2?@~z4O=tR2@IJ|Nq^k>Os-5^_y9hX z@lJ6;;^s`gJLjHzXTE-Dn{sU*;t(2X-wl){uVp)2XUxgdg9M_B-&d83RfZwb!X`HbMk*^6w$K`%fD z0iichM&4KHT;@+=t~ocHWQou-kt@r8MYmk4f-so;U-g>Me$1*ok$1}WH>V@JHz61s zBlB2`qL77;V?t-En~j^N;*!^N_&XXH!b6kEuc^hnv&C(`;S2<x#v=&7*E#lN3kwooZUXIvS1 z#SlE2+{W@&xyHui+|6fb-zAB(BQ4TYrW}1TR%tsHS!T(JBaSVGK{YwE;-&P_{F5BJ zYv#jDBPa;4zd|5uP^RwZ*PCcM5bTD%m5!lF>6_v{*MO1gn;>i_a2c<=}Kqr{is zK`0MqGV>TR@B8QT3&0Id1$u;WW4Fax8DooOc`m(o0tsQXk#DjvvVAQc>y2tWVKCFJ z_IHH-#pQ~S%w4m`kLUKoMt>evr8GlLqEnABEle5M&34? zT$T^+9l|KJh0vKOmE%96U$0a}7^nY+yCg*SwkZpFqnt&!n4Y_+gm`X@EN5C&m8?P> zvhvq~(EI%$rkvK}JrE`c(B&F3>!8OSxv-4etRyW5g0nZoukFYVqq_j~F<^|_KEM#W S?fIz1J?wLJHoRnvG5H3^=t|oF literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R1$layout.class b/android_examples/HelloAndroid/bin/com/hello/R1$layout.class new file mode 100644 index 0000000000000000000000000000000000000000..fd368b687e05b1a189d6394c130c707238ef0c5d GIT binary patch literal 371 zcmZvXyH3ME5Jm6Ab_~WLA>oyt0w}Od3!<@v6v+Z9AopvtA{(uDB|ng;_$DeO3O<03 zLW~Us1IX=mFJh2ZlfP+zpO$3B-s*Jp8%Uo9X zBG-~IO>H4`CMwnW-=f>BR881R|3SMT1b4Qr3VE%%1O75T>p%(N!Wda4TGX|yee84P z?>^K0JcpP`8JBeq4?~VVy8$*hqYjjHiz`v@0q^t;;cGv#&Dt#h6O38IKKIz|^!;hC OGwgEg&hQgB!2BB?I!NgN literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R1$string.class b/android_examples/HelloAndroid/bin/com/hello/R1$string.class new file mode 100644 index 0000000000000000000000000000000000000000..4e5a53de488c0b576a4aecbc87e1fc8e7c82e570 GIT binary patch literal 404 zcmZvYKTpFj5XIj$NmEKoOG|+=GXMioSV1h2kSawW71R|u!D?N(PL)5bd?qF&20j2E z3UN*uI8cBGK$Sh_h7anaGvpzoJ_%R6!WU|75);v>&r7PvxDm2L3d>w8;sb zi7_&dv?vN$_&Dau_B^NCycQuRb@)pf7{f!8$*-x!ytBn^z9Ac&waXnr&473DfxY*7 fq|a&%fFbr-Z7Vlmz-$*B)H=c;pBuX)UNZg#Wj#%L literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/bin/com/hello/R1.class b/android_examples/HelloAndroid/bin/com/hello/R1.class new file mode 100644 index 0000000000000000000000000000000000000000..442b02b22b43785149f96847b25d9377457ff236 GIT binary patch literal 442 zcmZ8d%Sr=55Ufr%nYhM0jT#>p@t_`D;#Khy5QIe`O74@*kW85D!t6%zvpfkN`~W{n z?Aa(JGEi0hVygS=`{NV9C5{9Ngld$`gQ+qm2?jj@kIjZ9OO3bY8#)xi^)WtPo266g>*Yt^xpFH0|#KPj+B zXs>k{`I;=;hD#xE@V_I?td1w#u@vZm&%g%+Gr9E{1xG<11EuqKRNgpIfY0d4V719u j&2@=+E3embtfRqv3=d7Nx6#Em^A7VabC=&f^C7xF_Sjpj literal 0 HcmV?d00001 diff --git a/android_examples/HelloAndroid/default.properties b/android_examples/HelloAndroid/default.properties new file mode 100644 index 0000000..bc708b0 --- /dev/null +++ b/android_examples/HelloAndroid/default.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, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-3 diff --git a/android_examples/HelloAndroid/gen/com/hello/R.java b/android_examples/HelloAndroid/gen/com/hello/R.java new file mode 100644 index 0000000..05b7061 --- /dev/null +++ b/android_examples/HelloAndroid/gen/com/hello/R.java @@ -0,0 +1,23 @@ +/* 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.hello; + +public final class R { + public static final class attr { + } + public static final class drawable { + public static final int icon=0x7f020000; + } + 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; + } +} diff --git a/android_examples/HelloAndroid/gen/com/hello/R1.java b/android_examples/HelloAndroid/gen/com/hello/R1.java new file mode 100644 index 0000000..0a2bda2 --- /dev/null +++ b/android_examples/HelloAndroid/gen/com/hello/R1.java @@ -0,0 +1,23 @@ +/* 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.hello; + +public final class R1 { + public static final class attr { + } + public static final class drawable { + public static final int icon=0x7f020000; + } + 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; + } +} diff --git a/android_examples/HelloAndroid/proguard.cfg b/android_examples/HelloAndroid/proguard.cfg new file mode 100644 index 0000000..12dd039 --- /dev/null +++ b/android_examples/HelloAndroid/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 ; +} + +-keepclasseswithmembernames class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembernames class * { + public (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 *; +} diff --git a/android_examples/HelloAndroid/res/drawable/icon.png b/android_examples/HelloAndroid/res/drawable/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a07c69fa5a0f4da5d5efe96eea12a543154dbab6 GIT binary patch literal 2574 zcmV+p3i0)cP)Q`Og{P|8RRXpj5bgrSmEzSMfBn+{{vpNxw?;5UX;iv9sYxy_`IQHs$i<61a_iv^L>h8s-`D(`e@|IgS*Fj zNGM876Gf;3D8*1UX9a%v>yJKD*QkCwW2AirU(L{qNA)JghmGItc;(H<$!ABY&gBy1vJIEUj-b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|Hl*Ov!z72k3ZnJs{pp| z+pW`DDueC#mEWOf=ucJ!dTL}hzOeiS-i?m2E;`EKz4<&Lu~NnW?peqVU^@<+T3KKu z{yrI%Qy-Z%HEvLUz}n^~m?7x`xuCtNR#L2En!T>dQtIKdS#V-Hzt3RtwTeYtmQ&dR z6qXZvac*oc@BUYEH%@Ylv_1&tSjkbzzU6*h1(3^C`;1z;g_SmOtclS?KWk2VYE zM*oS<=C483XckW?GN|1jfh3Ro(h + + + diff --git a/android_examples/HelloAndroid/res/values/strings.xml b/android_examples/HelloAndroid/res/values/strings.xml new file mode 100644 index 0000000..cab0592 --- /dev/null +++ b/android_examples/HelloAndroid/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Hello World, HelloAndroid! + Hello Android + diff --git a/android_examples/HelloAndroid/src/com/hello/HelloAndroid.java b/android_examples/HelloAndroid/src/com/hello/HelloAndroid.java new file mode 100644 index 0000000..ba53139 --- /dev/null +++ b/android_examples/HelloAndroid/src/com/hello/HelloAndroid.java @@ -0,0 +1,29 @@ +package com.hello; + +import android.app.Activity; +import android.os.Bundle; +import android.widget.TextView; + +/** + * Hello world sample for Android + * @author parampreetsethi + * + */ +public class HelloAndroid extends Activity { + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + TextView tv = new TextView(this); + tv.setCursorVisible(true); + tv.setBackgroundColor(5); + tv.setText("Hello Android!!! Here I come :)!!"); + setContentView(tv); + } + + + @Override + public void onDestroy() { + System.runFinalizersOnExit(true); + super.onDestroy(); + } +} \ No newline at end of file diff --git a/android_examples/helloworld/.classpath b/android_examples/helloworld/.classpath new file mode 100644 index 0000000..609aa00 --- /dev/null +++ b/android_examples/helloworld/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/android_examples/helloworld/.project b/android_examples/helloworld/.project new file mode 100644 index 0000000..3c89be8 --- /dev/null +++ b/android_examples/helloworld/.project @@ -0,0 +1,33 @@ + + + helloworld + + + + + + 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/android_examples/helloworld/AndroidManifest.xml b/android_examples/helloworld/AndroidManifest.xml new file mode 100644 index 0000000..e05f876 --- /dev/null +++ b/android_examples/helloworld/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android_examples/helloworld/bin/com/param/hello/HelloWorld.class b/android_examples/helloworld/bin/com/param/hello/HelloWorld.class new file mode 100644 index 0000000000000000000000000000000000000000..ed31c7234a4767ef654477b962fd0e0d2fb3185f GIT binary patch literal 984 zcmZ`%YflqF6g^WG`f#Pt@&<8>sBNjNZxb;lP$e{}`k|yozYXmKMz=dSJ1viY<(FbK z@dx;$jCZy`)##Ud_s-6od(OG{$Iq|d0o=!vBoYh@E!FW4x#k`JKm>vEcWivCbkI)1 zVVL4!TPxZ2`Qf3z*)p;x%?ZQUGZ{+roMEI`YBD%g)fO3yAnjrlV+`5448`kiXHV!| zz846FTwS$z(BxX$`uxx_2Qp$*t!~&3#73!UTTi+e zM>dH(!|cVKBiY^;#@`jkrYXfy202VyhBMT2h}2S{5ux#`HXoZ9FNZl7^H^Y*h=i$j zb)n_LOv4ro1QGwJYWNHUAG&84{+)Fn{^$FE42>X%)T@kBRVdv8o8L)-EdomJdmeCM{mNH$I{rTJ#=x$E=;DOy1FH{rQMb6 za0%Bf9txmMqpbx+W;cvtk}97vqdZzZL+UeqB#@zKe*-SA#4)}=)m5s5Uk#vhmNEBP(<$@)Pq5wnlL;*SrC$$eNqL6*esDEBaABDsk?PsEB7dCqX^T=HqtDl(?S0h6Tj3w;h_5e z`X!-wuxr<-8y$9J^Rr-uP~LW(ax)|QUiCSqgvp-`>?(YKbFfSP6wDOdG3Km9)IfUr ij*T}i3{WtJHn7D3lrc}4w_|@N;s|5rB92e6i^CtCd_(a7 literal 0 HcmV?d00001 diff --git a/android_examples/helloworld/bin/com/param/hello/R$drawable.class b/android_examples/helloworld/bin/com/param/hello/R$drawable.class new file mode 100644 index 0000000000000000000000000000000000000000..700e808263ad0e649a5a5e2a91a057310fd5e4a6 GIT binary patch literal 391 zcmZ`#%TB{E5S(q&ri6q(couQw035L33gS`;sZs<|LAg7rMO`^I$^(vk6DK4Nd;lMX zup>AjF0(u9-Pu`xe!YJHILBUq4q-nx1$*QrFW6EjW!U_1QSxV=DG|UY3|IV#GsX1- zyUkW2uL-`)jV92H5KoP+YOd>)t44S)9e~iglv>tT1n=lLwe3^05FtFo5!MhA28q<- zrYSN}-n%`7abj|=QeH~Oe~Ny+lojD1`QPCMA-pq9nTu=bbb9ksXO|Gov=-%5@v0J4 zfE~im*A~}pg|!^$p1dJ?ZCf@hx&a`@z+%+q VT?{d5-^VR(V#`J+L)gYHCf|J9P~`vs literal 0 HcmV?d00001 diff --git a/android_examples/helloworld/bin/com/param/hello/R$layout.class b/android_examples/helloworld/bin/com/param/hello/R$layout.class new file mode 100644 index 0000000000000000000000000000000000000000..559f6e57db6b3d8daa20ca508592a73db6a056ed GIT binary patch literal 385 zcmZ`!yH3ME5S)#Z7>q+6yb@{(pumC_L}LjlQUp>!?lKKai;SCMqNfK7fxx ztPLHancdl)9nF4zy?+2W!`MfQFiu?-J#x-jv{c5pXntV$*;S>FHes;hCyor;hv;Up zQfWzOXRIxOri5PXY*Df;6E>CdUOa%%z0g*dmjv(dC=q$=?o|K}y%6gN2>qG1>blAn zD!=1}QH0UVrEC(;bV0`u5|6vouAZU3E|XQmB)sQLKQxC z3Bx}gBLDdkrxICm3r^5MSE?_pg*EA@PAs?~lc?c9=lBibYa`hdtPg+z`hsE8cZ3a_ R{iwk$Y)h?e2s_xr_hlcGU zyqm97loRT_UO!rn6@kWt)+n)A&NiR1DU|o(g9z0!$^i(qD{XatP4JFSW(0qfJgEje zw42yQlhB@Mt8R;UuF?md8_DfWl8DWWQ|$af$HfS ic3#UT9Z?qm?4m2`tYSb<*frQIbsq1BKPE&*c literal 0 HcmV?d00001 diff --git a/android_examples/helloworld/bin/com/param/hello/R.class b/android_examples/helloworld/bin/com/param/hello/R.class new file mode 100644 index 0000000000000000000000000000000000000000..90cac35110001ce231476164861c8868b19321e1 GIT binary patch literal 471 zcmZvY&q@O^5XQf0w@t0p{?po4y+{x0!9}l%mx3S^g(|(L+t8+@yOP~id@N6b2Oq$P z5+_?dtpw)xP39XinXm7UPXHG<6etjyLA3Ipq?Idwp^S;a(bP3(O)yUT; +} + +-keepclasseswithmembernames class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembernames class * { + public (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 *; +} diff --git a/android_examples/helloworld/res/drawable/icon.png b/android_examples/helloworld/res/drawable/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a07c69fa5a0f4da5d5efe96eea12a543154dbab6 GIT binary patch literal 2574 zcmV+p3i0)cP)Q`Og{P|8RRXpj5bgrSmEzSMfBn+{{vpNxw?;5UX;iv9sYxy_`IQHs$i<61a_iv^L>h8s-`D(`e@|IgS*Fj zNGM876Gf;3D8*1UX9a%v>yJKD*QkCwW2AirU(L{qNA)JghmGItc;(H<$!ABY&gBy1vJIEUj-b8%el*o|VkG)LqNx#TG>Jvj^jIte!!+RY z)T4j$7+PoF1AkRBf}R#^T=-q|PaK1$c<4UH)Hpq3$4WA|xtr!ZQLC=*vNE>O6E9kp+5X0eKB$6>C(lPwI@3#oY zhS_%x7e|j!$yG?ECXmh~EH~^OeuK}+sWoJse3Z3?ha3n`MM9KvA?uqpEnBg4Q46)7 zM$p%a$@l;+O}vfvx%XjH`}a{(-HHth9!JaUwV0*VqGR48^gWNYN<&~7x)y$e!X>e` zZ5!6KZoxbKuV9XUDI%#M1~I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_examples/helloworld/res/values/strings.xml new file mode 100644 index 0000000..5eed682 --- /dev/null +++ b/android_examples/helloworld/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Hello World, HelloWorld! + Hello World!! + diff --git a/android_examples/helloworld/src/com/param/hello/HelloWorld.java b/android_examples/helloworld/src/com/param/hello/HelloWorld.java new file mode 100644 index 0000000..5f6b79b --- /dev/null +++ b/android_examples/helloworld/src/com/param/hello/HelloWorld.java @@ -0,0 +1,29 @@ +package com.param.hello; + +import android.app.Activity; +import android.os.Bundle; +import android.widget.TextView; + +/** + * Hello world sample for Android + * @author parampreetsethi + * + */ +public class HelloWorld extends Activity { + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + TextView tv = new TextView(this); + tv.setCursorVisible(true); + tv.setBackgroundColor(5); + tv.setText("Hello Android!!! Here I come :) !!"); + setContentView(tv); + } + + + @Override + public void onDestroy() { + System.runFinalizersOnExit(true); + super.onDestroy(); + } +} \ No newline at end of file diff --git a/android_examples/test_mobile/.classpath b/android_examples/test_mobile/.classpath new file mode 100644 index 0000000..609aa00 --- /dev/null +++ b/android_examples/test_mobile/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/android_examples/test_mobile/.project b/android_examples/test_mobile/.project new file mode 100644 index 0000000..8c58f32 --- /dev/null +++ b/android_examples/test_mobile/.project @@ -0,0 +1,33 @@ + + + test_mobile + + + + + + 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/android_examples/test_mobile/.settings/org.eclipse.jdt.core.prefs b/android_examples/test_mobile/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..046b815 --- /dev/null +++ b/android_examples/test_mobile/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +#Thu Mar 17 15:30:37 EDT 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/android_examples/test_mobile/AndroidManifest.xml b/android_examples/test_mobile/AndroidManifest.xml new file mode 100644 index 0000000..b30a4e6 --- /dev/null +++ b/android_examples/test_mobile/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android_examples/test_mobile/bin/com/param/HelloWorld.class b/android_examples/test_mobile/bin/com/param/HelloWorld.class new file mode 100644 index 0000000000000000000000000000000000000000..100b88cb642272d563b7597305525aa64d26801d GIT binary patch literal 969 zcmZuvYflqF6g^W4eYm#JVtER!pthy5;`0N>L@ET5svk;f^xM##!02`dXQzeoul!Ps zCjJ0_l=03Ms2Z}#y?f_z?m1`fuixK)0@%Rw1Y!)+ZPjs)x#k^rSNOhque9$a5T_j; zcv?x%<;TbFtG1CnY5EKkFJvIiONOy>rNt1hD^H{`hLnSGOfX~{G7xXOodcow`GGGO zat+nyev4~q>x;#>Ig%kmp>bXRO@^cj>RNC^_Y395B^4FATiw9(#b%{tn@%~%Ae%s* zVdnD8iS!PIareckX-RRCMh>?uw*tfB2&t_CBLd^rZ9X*-UJkPk<}lAN846SH>QL#H z3}vJuUjAr%=CJ7CHkL>ho!R2;&xcwOrMmK!COgV|l~xi(hULi4V&rG3R4VR@esQnp zNv|jk)g=pc$H59#84?6#`7$h&8=rWOyFL#N-TD#NP4T5Gg7#1_!#xN0QD(?kfl&Iq2UD6G?AtGYaC^WnI6O3)z*JT(xaqQ@LGgMt9}|THWGM9 zR*m>J`=JpX2al|UdEE_mWWarSCUp2N*gloUKG_oo5A2+zo2skZVn^B$$&O}k-QuAH z8Za7DP-J$nC?=?KDKpCB)pI1j(oYO&igp{gK_B1@4^X~I6x#a;$)!G1eN7zfz-3*b)64oU0n8GYQ-V*(-U^?nq9O7Q| zqz^ie_6Ob$ B%#i>9 literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/bin/com/param/R$attr.class b/android_examples/test_mobile/bin/com/param/R$attr.class new file mode 100644 index 0000000000000000000000000000000000000000..e510fc8cc668f1a71dd462b75044f30c01472779 GIT binary patch literal 313 zcmZ8c%Sr=55Ufu2p_|pj=*7DS_2A%H@e&Y(5FtwLz3ZS8c4uXF;(vJ(Joo{Al-M(P z2r^JTRYlR&-#?#U04{NqV?dbHU8`Q%ajTXm?7hp8h`Q!CRt?){bziM@?FrenvBuvJ zhNovMLNe=~bb%puOQgsMZdU9};D2J`UrZmo|9h_p#Y4Ao zwZ1hWoh>gy2|{^it#-49`(F1sri9T}R+@y?a*s5VyC9Q7Bf(sliX2GKKd|#I!T^O} buz`_0pp5@i=3eyoBaShVS;Y7O4srYo@OeEI literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/bin/com/param/R$drawable.class b/android_examples/test_mobile/bin/com/param/R$drawable.class new file mode 100644 index 0000000000000000000000000000000000000000..88ba33fce7b9514470e26641640f51ebe6bc7f78 GIT binary patch literal 373 zcmZutO-sW-5Pg%+nkKf^TJ7C~dN6oayaa?oQK*vpCS7z(vMZZJkNzf4f(L(qKT6yU z3LdMiFX O#nf0khOmcy%)bF=CrSwb literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/bin/com/param/R$layout.class b/android_examples/test_mobile/bin/com/param/R$layout.class new file mode 100644 index 0000000000000000000000000000000000000000..76527c9d8d8807e8f01dc65194c2e40dcaa753c7 GIT binary patch literal 367 zcmZWkyH3ME5S)!);5a0N@JLSq6j;8R7ezj03U@| z8ww8Tps59T(*q|n=o1Nn!}vULwJ*}RMrse zg0&&gf-s6oQ#Wjyg!5KeFBU*>FSOCkCBZs6PGmhQ@0AY=qX3)m3FBBBb=?-Js_r<= zm3$tT8RrRCy5qk?yLr?#VHW>)c24kb%eKnYmG1QJ^0c!_2o}buD$2R8RqbJqF#MyI z#h+x7THHx`!W<4@8jw8g8R$&-l(KY$;~ zI9oiBczK)O?wdEW^ZoPr1>g!N0cwO^lBMyAb57&QX;J3d&I9;_?vh_QHf-nd!)&RN zlF;PU>e+It2s9$JhnX!(w&j$~T6u3ih)`cBV=@OIG;Xxj594lU>|#;&MF4msR7KuOQuo#9*@htpUqznH(T*|0m=v=8( z71s>ylhYZ4HOc1EK^to>Y;+g~flB3FnS@e5iZGT8qace!JQG@(`1jK)o>b1z4;mvc z8Jvf#)RDYVrm-_UH}e_X+ccGW5{o>SImd{MHQJ6vQD|~vh+~Uk+)U23c&UAK|0KsQ zxoQ^0;x#MHa<$;t|5uO~TBQprs0Ce&4nUU!F*A!3a*F&a2JEwUbl>Qs1&7e2L8?dS jR@x@+SNZh{2N)6`!NLaRH{oGSyiL4A?9tmJK7jWFD-2pY literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/bin/com/param/param$1.class b/android_examples/test_mobile/bin/com/param/param$1.class new file mode 100644 index 0000000000000000000000000000000000000000..881bdc75bf1284d43043bb4b840e2f262d993267 GIT binary patch literal 717 zcmZWnTW`}a6#hQLlh6}7wMM1UT*>dzn5Xbak1~~<$0{$RmX^>gPE{VhWahX+eaOkzN~_`xVY9!K z-5(PgBa_ND2)6@xX!)pPH9#93LcQ+_R%4~*m)Ue8?Kd&WBw;-^iO9ynDz{$*8_on_ zqbd>(*@S0qJQKS8cLZ+Uert-((Ozi_Y0vCZ0H$^-#=4Sm!bdw literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/bin/com/param/param.class b/android_examples/test_mobile/bin/com/param/param.class new file mode 100644 index 0000000000000000000000000000000000000000..5b69cee632d8de5e2e6d57cd6f97b20564195698 GIT binary patch literal 2410 zcmZ`*TUQfT6#foGC&b}mK)j$R^%g=+h!#*|TOmM8jZh0>u@@XNM;u9J;$#BEUTp3C zU-YdnzPMH!TxG4kwGaJKUH#7FN@!UtXU^=i_dehL_GS3{pWpugkibtG+61~YPA;A| zT%)>b2nh5Uw&^;S88`Cz_+-YjHZ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s?G%6hjf1#!NM&d(=_X zb`Au8Mn|-a*}#kT7Zg-@3NvEh64{E8r#L|*eAj0xMs?Snn8SN?Nk_PaG_8did(}&x zGh>Rkafa3N7ZPOS_DXnR7k5^|i#xch#ASR~#>Ztmcm;C@kITsYf?#^2j3+PYMI(k$ zxK&h@?2S=6LFrXux`r{_XbO6~iY!6=o7kdC1Pr~m)} literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/default.properties b/android_examples/test_mobile/default.properties new file mode 100644 index 0000000..e2e8061 --- /dev/null +++ b/android_examples/test_mobile/default.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, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-8 diff --git a/android_examples/test_mobile/gen/com/param/R.java b/android_examples/test_mobile/gen/com/param/R.java new file mode 100644 index 0000000..d325695 --- /dev/null +++ b/android_examples/test_mobile/gen/com/param/R.java @@ -0,0 +1,23 @@ +/* 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.param; + +public final class R { + public static final class attr { + } + public static final class drawable { + public static final int icon=0x7f020000; + } + 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; + } +} diff --git a/android_examples/test_mobile/proguard.cfg b/android_examples/test_mobile/proguard.cfg new file mode 100644 index 0000000..12dd039 --- /dev/null +++ b/android_examples/test_mobile/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 ; +} + +-keepclasseswithmembernames class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembernames class * { + public (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 *; +} diff --git a/android_examples/test_mobile/res/drawable-hdpi/icon.png b/android_examples/test_mobile/res/drawable-hdpi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..8074c4c571b8cd19e27f4ee5545df367420686d7 GIT binary patch literal 4147 zcmV-35X|q1P)OwvMs$Q8_8nISM!^>PxsujeDCl4&hPxrxkp%Qc^^|l zp6LqAcf3zf1H4aA1Gv-O6ha)ktct9Y+VA@N^9i;p0H%6v>ZJZYQ`zEa396z-gi{r_ zDz)D=vgRv62GCVeRjK{15j7V@v6|2nafFX6W7z2j1_T0a zLyT3pGTubf1lB5)32>bl0*BflrA!$|_(WD2)iJIfV}37=ZKAC zSe3boYtQ=;o0i>)RtBvsI#iT{0!oF1VFeW`jDjF2Q4aE?{pGCAd>o8Kg#neIh*AMY zLl{;F!vLiem7s*x0<9FKAd6LoPz3~G32P+F+cuGOJ5gcC@pU_?C2fmix7g2)SUaQO$NS07~H)#fn!Q<}KQWtX}wW`g2>cMld+`7Rxgq zChaey66SG560JhO66zA!;sK1cWa2AG$9k~VQY??6bOmJsw9@3uL*z;WWa7(Nm{^TA zilc?y#N9O3LcTo2c)6d}SQl-v-pE4^#wb=s(RxaE28f3FQW(yp$ulG9{KcQ7r>7mQ zE!HYxUYex~*7IinL+l*>HR*UaD;HkQhkL(5I@UwN%Wz504M^d!ylo>ANvKPF_TvA< zkugG5;F6x}$s~J8cnev->_(Ic7%lGQgUi3n#XVo36lUpcS9s z)ympRr7}@|6WF)Ae;D{owN1;aZSR50al9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nK(yizLHaeW#ZhRfQXoK^}1$=$#1{Yn002ovPDHLkV1n#w+^+xt literal 0 HcmV?d00001 diff --git a/android_examples/test_mobile/res/drawable-ldpi/icon.png b/android_examples/test_mobile/res/drawable-ldpi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..1095584ec21f71cd0afc9e0993aa2209671b590c GIT binary patch literal 1723 zcmV;s21NOZP)AReP91Tc8>~sHP8V>Ys(CF=aT`Sk=;|pS}XrJPb~T1dys{sdO&0YpQBSz*~us zcN*3-J_EnE1cxrXiq*F~jZje~rkAe3vf3>;eR)3?Ox=jK*jEU7Do|T`2NqP{56w(* zBAf)rvPB_7rsfeKd0^!CaR%BHUC$tsP9m8a!i@4&TxxzagzsYHJvblx4rRUu#0Jlz zclZJwdC}7S3BvwaIMTiwb!98zRf|zoya>NudJkDGgEYs=q*HmC)>GExofw=92}s;l z_YgKLUT5`<1RBwq{f)K~I%M=gRE6d)b5BP`8{u9x0-wsG%H)w^ zRU7n9FwtlfsZSjiSB(k8~Y5+O>dyoSI477Ly?|FR?m))C!ci%BtY!2Sst8Uri#|SFX&)8{_Ou2 z9r5p3Vz9_GY#%D>%huqp_>U}K45YGy__TE!HZA@bMxX~@{;>cGYRgH~Ih*vd7EgV7h6Pg$#$lH+5=^lj{W80p{{l+;{7_t5cv3xVUy zl_BY4ht1JH*EEeRS{VwTC(QFIVu8zF&P8O$gJsMgsSO35SVvBrX`Vah$Yz2-5T>-`4DJNH;N zlSSY8-mfty+|1~*;BtTwLz_w5 z+lRv)J28~G%ouyvca(@|{2->WsPii&79&nju7ITE6hMX4AQc{|KqZN#)aAvemg3IZ zCr}Y+!r}JU&^>U1C2WyZC<=47itSYQ`?$5{VH?mtFMFFExfYTsfqK%*WzH@Onc#i` zI@a|rm-WbKk{5my{mF}H>Duc$bit&yLAgFfqo2vVbm~?FeG#0F?dSP*kxSo0Ff!o@ z(C}B;r&6pa-NY4;y~5lX8g&*MYQ>yLGd^tDWC4(sGy$Ow-*!eh%xt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-2289-#$**LWnyNNDwDf1( zkUiMnw|y$tn>pQP=Vn!#|17L^5AGrjtBkN$D@v)Z7LXc5EFhLB4<;7Wehh)CMqX|W zqsiZaO^benJ_hwa&V0ub$-_HUk**?g6fm9|!@kguU6*zhK)$qn-<3*kFrYPIaqR=V zUaUvk>@F_89b@tHs8R!*QKY;INJ<2_U+K6Ca3e9Gsl2{qY0%a7J?uICWgHuLfj+MB z=GkAN1&ifT#2u}B+2S#~$5jA(Qn^;H%CCmIae4AE-Dsng|Hl*Ov!z72k3ZnJs{pp| z+pW`DDueC#mEWOf=ucJ!dTL}hzOeiS-i?m2E;`EKz4<&Lu~NnW?peqVU^@<+T3KKu z{yrI%Qy-Z%HEvLUz}n^~m?7x`xuCtNR#L2En!T>dQtIKdS#V-Hzt3RtwTeYtmQ&dR z6qXZvac*oc@BUYEH%@Ylv_1&tSjkbzzU6*h1(3^C`;1z;g_SmOtclS?KWk2VYE zM*oS<=C483XckW?GN|1jfh3Ro(h + + + diff --git a/android_examples/test_mobile/res/values/strings.xml b/android_examples/test_mobile/res/values/strings.xml new file mode 100644 index 0000000..51ab633 --- /dev/null +++ b/android_examples/test_mobile/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Hello World, param! + test_param + diff --git a/android_examples/test_mobile/src/com/param/HelloWorld.java b/android_examples/test_mobile/src/com/param/HelloWorld.java new file mode 100644 index 0000000..44f9ad7 --- /dev/null +++ b/android_examples/test_mobile/src/com/param/HelloWorld.java @@ -0,0 +1,28 @@ +package com.param; + +import android.app.Activity; +import android.os.Bundle; +import android.widget.TextView; +/** + * My Android app + * @author parampreetsethi + * + */ +public class HelloWorld extends Activity { + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + TextView tv = new TextView(this); + tv.setCursorVisible(true); + tv.setBackgroundColor(5); + tv.setText("Hello World!!! Hey I did it!!!!"); + setContentView(tv); + } + + + @Override + protected void onDestroy() { + System.runFinalizersOnExit(true); + super.onDestroy(); + } +} diff --git a/android_examples/test_mobile/src/com/param/param.java b/android_examples/test_mobile/src/com/param/param.java new file mode 100644 index 0000000..efd0414 --- /dev/null +++ b/android_examples/test_mobile/src/com/param/param.java @@ -0,0 +1,67 @@ +package com.param; + +import android.app.Activity; +import android.content.Intent; +import android.net.Uri; +import android.os.Bundle; +import android.view.KeyEvent; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; +import android.widget.LinearLayout; +import android.widget.TextView; + +public class param extends Activity { + EditText mEditText_number = null; + LinearLayout mLinearLayout_no_button = null; + Button mButton_dial = null; + + /** Called when the activity is first created. */ + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + mLinearLayout_no_button = new LinearLayout(this); + + mEditText_number = new EditText(this); + mEditText_number.setText("5713378521"); + mLinearLayout_no_button.addView(mEditText_number); + + mButton_dial = new Button(this); + mButton_dial.setText("Dial!"); + mLinearLayout_no_button.addView(mButton_dial); + mButton_dial.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + performDial(); + } + }); + + setContentView(mLinearLayout_no_button); + } + + + + public boolean onKeyDown(int keyCode, KeyEvent event) { + if (keyCode == KeyEvent.KEYCODE_CALL) { + performDial(); + return true; + } + return false; + } + + public void performDial(){ + if(mEditText_number!=null){ + try { + startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + mEditText_number.getText()))); + } catch (Exception e) { + e.printStackTrace(); + } + }//if + } + + @Override + protected void onDestroy() { + System.runFinalizersOnExit(true); + super.onDestroy(); + } +} \ No newline at end of file diff --git a/android_examples/test_mobileTest/.classpath b/android_examples/test_mobileTest/.classpath new file mode 100644 index 0000000..b1431e7 --- /dev/null +++ b/android_examples/test_mobileTest/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/android_examples/test_mobileTest/.project b/android_examples/test_mobileTest/.project new file mode 100644 index 0000000..81aeb5c --- /dev/null +++ b/android_examples/test_mobileTest/.project @@ -0,0 +1,34 @@ + + + test_mobileTest + + + test_mobile + + + + 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/android_examples/test_mobileTest/.settings/org.eclipse.jdt.core.prefs b/android_examples/test_mobileTest/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..84a1c0e --- /dev/null +++ b/android_examples/test_mobileTest/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +#Thu Mar 17 15:30:38 EDT 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/android_examples/test_mobileTest/AndroidManifest.xml b/android_examples/test_mobileTest/AndroidManifest.xml new file mode 100644 index 0000000..e3445cb --- /dev/null +++ b/android_examples/test_mobileTest/AndroidManifest.xml @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/android_examples/test_mobileTest/bin/com/param/test/MyFirstClass.class b/android_examples/test_mobileTest/bin/com/param/test/MyFirstClass.class new file mode 100644 index 0000000000000000000000000000000000000000..a6cd9f406d9b1850286cdb06fc0380397ae2b7fd GIT binary patch literal 836 zcmaKqZBG+H5Xb*p3N7X2p~V97bQRRLR5rfGn8+oBCdD_95`DMaZOZEPw(e~U^;`L- zB%1gE{7}Z(7DSEl&Cbp2+;9Ffv)_Mw`3B$xcn%qc^-y-t)@z??+;YOT$X4Rj<6n8K`wY0NMzv{WMB^t%_* zoQaEAG89`n6meS^<^0=V)?TWVVYBrg83zn`odiY-OPF%Cb*D(D{IH)yu{@}?UF{_g z^H|8C#ISOgbETq=wERq7+qRNd1r+hnNh~vL+>=6`SeaNJID2i!ydqXTtl<&EVk&LW zH>oylm8x+w+3Gu2vxp53o7kf6DCbawA38>pq(H~o&{V3;T00M)Vf$FdvG&ikiK9xT z;vdVQ-}ECD`O1=Caj3^0cCgEkBb3ui%c-{Bi-F*=NIE>Y6y{WZ?8_vaG|ceS!!uMF z=AFPv3$DpOhBTl6cTsA}$rJ+_HIvi|!kpUiNK5~iC_}~$7}kDW{WVBhO5s%ZO(>6) z+wRiu4`<)0Mg{ab=&1o2`l44sXO28hmXV#V-yr{ad|jZ^U4s(l==3HDWFL^1b!(-F z`}q?g9dx(8cZ0>RD841i@<}5*!b&4Q!g`~)Jwm147~#o1du#mfEQu%(YYrtMuM&HU gyd7e@n*M})TazlFhB{T9M;Uu)jGK5)c^T~g1euGwTmS$7 literal 0 HcmV?d00001 diff --git a/android_examples/test_mobileTest/bin/com/param/test/R$attr.class b/android_examples/test_mobileTest/bin/com/param/test/R$attr.class new file mode 100644 index 0000000000000000000000000000000000000000..78e5677b1a8a4ab9c50a13f0d6f24defcc66b9f6 GIT binary patch literal 328 zcmZvXPfG(a5XIlL`$yN+)~bki59-0-x#Fcz5Eg|hy=T{;DZ5!oQoolc!Gj;b4<(%h zPa=W$@@B~7H{U;>UjVLfm}5XVYWhyRN-I0zmGfe8D!sQk62f>T-=t`zc^3EeN;RI4 zU2CKL4Pkh8z9b~G{z(-WV!K3&j4-OSQFrUER`yZWts+dSzLD)xS{?FlG4U_j5ss^W zKc5nchkk7vHP>N8wzv!=g!0xHWoNB)PPrTtM*KT~nF2qr$Beut*eS5F=A1;#Kzi|k it#>XAP_TwJu)_x^<2_~Hjs3l-BaGRL_f z2E7Pg-prewdHZHQzurFpoMAskKo}L(N<2y{SHh{Awcg3CV5M*g{=tFVmf!dbfmhVvMrmQr5Mq zW9;%8e?b>|-jKewEgOt}0Laj1Oxrxd U0GsXmu*EHGbM!KV9qeKB4G}_5TCoWT2SMSK^pm*g9?3?MjbP<(vJx!(0sbg) z60HQAH}hs^-oBa7ulElCr`Y!~Ak6Zrj2^k>GP0_%(ej|+=c=_nT*73&Dl#5n5FAhK$o@=A+1;IHyN~Jxn?ob=8)c zs&6?f6k(cFITtC{y5qk^*FNZmFi-xmcSZbT&hQH_s1 zS>msRbpPxqM-ZQK4EYEih7x^Y1FT6#onOHXsYE>oyyG{7uYJp=U^f6vFcu8^+!MCd RzfXJI#*V~JhOmnn=HE)(qzcmhA13+r`$;WMyLE2k=7~ zXAcWwVl$iH?%OwS=JV_Q1Hc82Vr&q4X`UrZE;viPay}U!J6~u!ixCkz3x4Lru$?7$ z(}hYsq0Y)ca_c->KVh>{m6r%asLqu!c>oYcdQyY{ literal 0 HcmV?d00001 diff --git a/android_examples/test_mobileTest/bin/com/param/test/R.class b/android_examples/test_mobileTest/bin/com/param/test/R.class new file mode 100644 index 0000000000000000000000000000000000000000..0c6bcce1ab490f79db2633ef9922f761ba4fb6b3 GIT binary patch literal 465 zcmZutO-sW-6r637ZjI5_YOV3(A|BL(!L#C}AP7aFO7EL=sax_Pn~mbn@+5fh2l%7J zw~1a_S$H$=%`E$NzP>*`0i5H2qruRP^E7-CTBM=PHa=*^FE@p*$%W$`ypnCPI}{7gjysp1z~~MuP@Cs#XTE lRjPi)UBb0WU$1HhUBW{+*dToq0k#OY2?vA$on69x1V0+bW%B?4 literal 0 HcmV?d00001 diff --git a/android_examples/test_mobileTest/default.properties b/android_examples/test_mobileTest/default.properties new file mode 100644 index 0000000..e2e8061 --- /dev/null +++ b/android_examples/test_mobileTest/default.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, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-8 diff --git a/android_examples/test_mobileTest/gen/com/param/test/R.java b/android_examples/test_mobileTest/gen/com/param/test/R.java new file mode 100644 index 0000000..9e7bcc5 --- /dev/null +++ b/android_examples/test_mobileTest/gen/com/param/test/R.java @@ -0,0 +1,23 @@ +/* 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.param.test; + +public final class R { + public static final class attr { + } + public static final class drawable { + public static final int icon=0x7f020000; + } + 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; + } +} diff --git a/android_examples/test_mobileTest/proguard.cfg b/android_examples/test_mobileTest/proguard.cfg new file mode 100644 index 0000000..12dd039 --- /dev/null +++ b/android_examples/test_mobileTest/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 ; +} + +-keepclasseswithmembernames class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembernames class * { + public (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 *; +} diff --git a/android_examples/test_mobileTest/res/drawable-hdpi/icon.png b/android_examples/test_mobileTest/res/drawable-hdpi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..8074c4c571b8cd19e27f4ee5545df367420686d7 GIT binary patch literal 4147 zcmV-35X|q1P)OwvMs$Q8_8nISM!^>PxsujeDCl4&hPxrxkp%Qc^^|l zp6LqAcf3zf1H4aA1Gv-O6ha)ktct9Y+VA@N^9i;p0H%6v>ZJZYQ`zEa396z-gi{r_ zDz)D=vgRv62GCVeRjK{15j7V@v6|2nafFX6W7z2j1_T0a zLyT3pGTubf1lB5)32>bl0*BflrA!$|_(WD2)iJIfV}37=ZKAC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iHYw zt{bWo)A@yF2$~c(nR$rSAaFQ$(Wh{vkG1AlutDMw=mM`C`T=X&|Ad9fb5Od}ROt1z zOpczHqrb4Jo^rSCiW#&o(m7jFamnrsTpQb;*h4o8r#$aZ}2RaT-x2u^^ z%u@YyIv$U^u~@9(XGbSwU@fk6SikH>j+D1jQrYTKGJpW%vUT{!d}7THI5&Sa?~MKy zS0-mvMl+BOcroEJ@hN!2H_?coTEJ5Q<;Nd?yx;eIj4{$$E2?YUO|NtNPJ-PdDf;s} zab;}Mz0kbOI}5*w@3gROcnl#5)wQnEhDBfn!Xhy`u>C}*E~vWpO^HS)FC>8^umI=+ z&H;LW6w#;EF`}vQd_9Muru`KnQVPI9U?(sD)&Dg-0j3#(!fNKVZ_GoYH{la~d*1Yh$TI-TL>mI4vpNb@sU2=IZ8vL%AXUx0 zz{K0|nK(yizLHaeW#ZhRfQXoK^}1$=$#1{Yn002ovPDHLkV1n#w+^+xt literal 0 HcmV?d00001 diff --git a/android_examples/test_mobileTest/res/drawable-ldpi/icon.png b/android_examples/test_mobileTest/res/drawable-ldpi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..1095584ec21f71cd0afc9e0993aa2209671b590c GIT binary patch literal 1723 zcmV;s21NOZP)AReP91Tc8>~sHP8V>Ys(CF=aT`Sk=;|pS}XrJPb~T1dys{sdO&0YpQBSz*~us zcN*3-J_EnE1cxrXiq*F~jZje~rkAe3vf3>;eR)3?Ox=jK*jEU7Do|T`2NqP{56w(* zBAf)rvPB_7rsfeKd0^!CaR%BHUC$tsP9m8a!i@4&TxxzagzsYHJvblx4rRUu#0Jlz zclZJwdC}7S3BvwaIMTiwb!98zRf|zoya>NudJkDGgEYs=q*HmC)>GExofw=92}s;l z_YgKLUT5`<1RBwq{f)K~I%M=gRE6d)b5BP`8{u9x0-wsG%H)w^ zRU7n9FwtlfsZSjiSB(k8~Y5+O>dyoSI477Ly?|FR?m))C!ci%BtY!2Sst8Uri#|SFX&)8{_Ou2 z9r5p3Vz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cI>~qIy*a7=z7uqkw@agd(<=y-Q7L!ty_23SGdXmahO<;N=wB+j;lNm%=OHC zy zU|>La6h%92y4IPufI$9>Xu!@y`TaNgtg&41@PwMwBdmSm7)xAWDLoqjZ==P2#*k7! z3o1)cVSI3KP_!?d8G^Lg0FtLXC~JYdxi|c%h~lXEixY=%VSFF@!*3&&9>(Rb|iK54Cx5;s~PY5iaV1het%w`dgQFBAJ;aFK zImQC}(|QaCFYUm1JVfzSc)ebv=)ObI)0jwJb``}Zj9J0n0Xgn*Zc(rFM9$xh_makZbm-at_v5^SW zM1y1SW@%+FuIy*WR)i3A2N_q;(YO`O!A|Ts^%z}9ZepCj3ytlw#x%N_fNrKKtPh`< z|1{UqF`4LxHaCQ79+E=uUXCOZ35jAMRz%R%0(P!0FMv=sk>Nr8%+OzY^c-M9@+fz=G`qa@v4sF5u-2289-#$**LWnyNNDwDf1( zkUiMnw|y$tn>pQP=Vn!#|17L^5AGrjtBkN$D@v)Z7LXc5EFhLB4<;7Wehh)CMqX|W zqsiZaO^benJ_hwa&V0ub$-_HUk**?g6fm9|!@kguU6*zhK)$qn-<3*kFrYPIaqR=V zUaUvk>@F_89b@tHs8R!*QKY;INJ<2_U+K6Ca3e9Gsl2{qY0%a7J?uICWgHuLfj+MB z=GkAN1&ifT#2u}B+2S#~$5jA(Qn^;H%CCmIae4AE-Dsng|Hl*Ov!z72k3ZnJs{pp| z+pW`DDueC#mEWOf=ucJ!dTL}hzOeiS-i?m2E;`EKz4<&Lu~NnW?peqVU^@<+T3KKu z{yrI%Qy-Z%HEvLUz}n^~m?7x`xuCtNR#L2En!T>dQtIKdS#V-Hzt3RtwTeYtmQ&dR z6qXZvac*oc@BUYEH%@Ylv_1&tSjkbzzU6*h1(3^C`;1z;g_SmOtclS?KWk2VYE zM*oS<=C483XckW?GN|1jfh3Ro(h + + + diff --git a/android_examples/test_mobileTest/res/values/strings.xml b/android_examples/test_mobileTest/res/values/strings.xml new file mode 100644 index 0000000..d67d03e --- /dev/null +++ b/android_examples/test_mobileTest/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Hello World! + test_paramTest + diff --git a/android_examples/test_mobileTest/src/com/param/test/MyFirstClass.java b/android_examples/test_mobileTest/src/com/param/test/MyFirstClass.java new file mode 100644 index 0000000..42ddfe5 --- /dev/null +++ b/android_examples/test_mobileTest/src/com/param/test/MyFirstClass.java @@ -0,0 +1,16 @@ +package com.param.test; + +import android.app.Activity; +import android.os.Bundle; +import android.widget.TextView; + +public class MyFirstClass extends Activity{ + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + TextView tv = new TextView(this); + tv.setCursorVisible(true); + tv.setBackgroundColor(5); + tv.setText("Hello World!!! Hey I did it!!!!"); + setContentView(tv); + } +} diff --git a/test/.classpath b/test/.classpath new file mode 100644 index 0000000..18d70f0 --- /dev/null +++ b/test/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/test/.project b/test/.project new file mode 100644 index 0000000..b0299db --- /dev/null +++ b/test/.project @@ -0,0 +1,17 @@ + + + test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/test/.settings/org.eclipse.jdt.core.prefs b/test/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d701005 --- /dev/null +++ b/test/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,12 @@ +#Mon Apr 11 13:06:45 EDT 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/test/bin/com/param/test/TestMathFunc.class b/test/bin/com/param/test/TestMathFunc.class new file mode 100644 index 0000000000000000000000000000000000000000..bd7606b13fd13ffad6a3e90b8915997436885dc1 GIT binary patch literal 730 zcmaJ;T~8B16g{`ycH3nsErmv{s3;#T8aLs!#E@v3kQ6m3>5EU(-ANhf?vm-0gg>Fb zMIXTU;1A$O8SiWx3yJ!2@7%9*&zXDs>&H(3`*`IdM`(s=99#%3;=ss>2~OA?3v=3? zCZP+5P(2fuA{dKg6nq$-$1 za4ZR{y)+c#fzZmv^Q2==)r7Fo`wxWejb$NdAA=tVc2keP`VebZ|ul&ftV{6OcfhD&7 ztbzS9M`cv7!Wlb!42S!H+ILjf&^Z5m@C^@|*Lbo3s$^RWJXS=Nhb&-YHiRu~XMiQ_ oV3#2Ytv|fF++(4={J$`lxb8FV@*PZXPBMoQ+H=f3M#i;ghr%@z|WYZ4;l<132NYX@O72A>m|CT%(mf7@|xG5hTXOFIv@Sbd^$U=$=}f?KG= gA-JYp9YL{yO^V8Bz(tFQEo!?(IjwV>Dkbdv1yw+up#T5? literal 0 HcmV?d00001 diff --git a/test/src/com/param/test/TestMathFunc.java b/test/src/com/param/test/TestMathFunc.java new file mode 100644 index 0000000..6694e06 --- /dev/null +++ b/test/src/com/param/test/TestMathFunc.java @@ -0,0 +1,14 @@ +package com.param.test; + +public class TestMathFunc { + public static void main(String[] args) { + int rand = (int)(Math.random()*1000); + System.out.println(rand); + } + + + public void divideTest(){ + int reminder = 10/14; + System.out.println(reminder); + } +} diff --git a/test/src/com/param/test/TestRegex.java b/test/src/com/param/test/TestRegex.java new file mode 100644 index 0000000..385ab2b --- /dev/null +++ b/test/src/com/param/test/TestRegex.java @@ -0,0 +1,16 @@ +package com.param.test; + +/** + * Test regular expressions + * + * @author parampreetsethi + * + */ +public class TestRegex { + + public static void main(String[] args) { + String test = "Ala||abcd||asbdc"; + String[] regexArr = test.split("\\|\\|"); + System.out.println(regexArr.length); + } +} From 854c4db2f8ccdf5b726aafaf8daa0f23b60d274b Mon Sep 17 00:00:00 2001 From: paramsethi Date: Sun, 11 May 2014 15:26:23 -0700 Subject: [PATCH 2/3] Sample pom.xml for a simple web application This is a sample pom.xml which is used for sample web application. You can add/remove dependencies as needed. --- sample_pom.xml | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 sample_pom.xml diff --git a/sample_pom.xml b/sample_pom.xml new file mode 100644 index 0000000..6a2b021 --- /dev/null +++ b/sample_pom.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + + samplewebapp + samplewebapp + war + 1.0.0 + + Sample Web application + + + 1.6 + + + + + + + log4j + log4j + 1.2.16 + runtime + + + + + javax.servlet + servlet-api + 2.5 + provided + + + javax.servlet.jsp + jsp-api + 2.1 + provided + + + javax.servlet + jstl + 1.2 + + + + + junit + junit + 4.7 + test + + + + net.sourceforge.jwebunit + jwebunit-htmlunit-plugin + 3.2 + test + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java-version} + ${java-version} + + + + org.apache.maven.plugins + maven-war-plugin + + samplewebapp + + + + org.codehaus.mojo + tomcat-maven-plugin + 1.1 + + 8282 + + + + + From 589a6ca6dc03e0ef8f43a7128e431a837fa16dfd Mon Sep 17 00:00:00 2001 From: paramsethi Date: Sun, 11 May 2014 17:34:21 -0700 Subject: [PATCH 3/3] Added default repository and plugin repository. --- sample_pom.xml | 45 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/sample_pom.xml b/sample_pom.xml index 6a2b021..9d7d7fe 100644 --- a/sample_pom.xml +++ b/sample_pom.xml @@ -15,7 +15,7 @@ - + log4j @@ -50,15 +50,44 @@ 4.7 test - + - net.sourceforge.jwebunit - jwebunit-htmlunit-plugin - 3.2 - test - + net.sourceforge.jwebunit + jwebunit-htmlunit-plugin + 3.2 + test + + + + + central + Maven Repository Switchboard + default + http://repo1.maven.org/maven2 + + false + + + + + + + + central + Maven Plugin Repository + http://repo1.maven.org/maven2 + default + + false + + + never + + + + @@ -74,7 +103,7 @@ org.apache.maven.plugins maven-war-plugin - samplewebapp + simpleWebApp