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 0000000..6cf711a
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/HelloAndroid.class differ
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 0000000..e8b8e2a
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R$attr.class differ
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 0000000..028618a
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R$drawable.class differ
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 0000000..4de3f9d
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R$layout.class differ
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 0000000..ffff28d
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R$string.class differ
diff --git a/android_examples/HelloAndroid/bin/com/hello/R.class b/android_examples/HelloAndroid/bin/com/hello/R.class
new file mode 100644
index 0000000..382fc26
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R.class differ
diff --git a/android_examples/HelloAndroid/bin/com/hello/R1$attr.class b/android_examples/HelloAndroid/bin/com/hello/R1$attr.class
new file mode 100644
index 0000000..572c2d8
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R1$attr.class differ
diff --git a/android_examples/HelloAndroid/bin/com/hello/R1$drawable.class b/android_examples/HelloAndroid/bin/com/hello/R1$drawable.class
new file mode 100644
index 0000000..b0245e8
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R1$drawable.class differ
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 0000000..fd368b6
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R1$layout.class differ
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 0000000..4e5a53d
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R1$string.class differ
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 0000000..442b02b
Binary files /dev/null and b/android_examples/HelloAndroid/bin/com/hello/R1.class differ
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 0000000..a07c69f
Binary files /dev/null and b/android_examples/HelloAndroid/res/drawable/icon.png differ
diff --git a/android_examples/HelloAndroid/res/layout/main.xml b/android_examples/HelloAndroid/res/layout/main.xml
new file mode 100644
index 0000000..3a5f117
--- /dev/null
+++ b/android_examples/HelloAndroid/res/layout/main.xml
@@ -0,0 +1,12 @@
+
+
+
+
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 0000000..ed31c72
Binary files /dev/null and b/android_examples/helloworld/bin/com/param/hello/HelloWorld.class differ
diff --git a/android_examples/helloworld/bin/com/param/hello/R$attr.class b/android_examples/helloworld/bin/com/param/hello/R$attr.class
new file mode 100644
index 0000000..bfc3da5
Binary files /dev/null and b/android_examples/helloworld/bin/com/param/hello/R$attr.class differ
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 0000000..700e808
Binary files /dev/null and b/android_examples/helloworld/bin/com/param/hello/R$drawable.class differ
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 0000000..559f6e5
Binary files /dev/null and b/android_examples/helloworld/bin/com/param/hello/R$layout.class differ
diff --git a/android_examples/helloworld/bin/com/param/hello/R$string.class b/android_examples/helloworld/bin/com/param/hello/R$string.class
new file mode 100644
index 0000000..c5a827e
Binary files /dev/null and b/android_examples/helloworld/bin/com/param/hello/R$string.class differ
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 0000000..90cac35
Binary files /dev/null and b/android_examples/helloworld/bin/com/param/hello/R.class differ
diff --git a/android_examples/helloworld/default.properties b/android_examples/helloworld/default.properties
new file mode 100644
index 0000000..bc708b0
--- /dev/null
+++ b/android_examples/helloworld/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/helloworld/gen/com/param/hello/R.java b/android_examples/helloworld/gen/com/param/hello/R.java
new file mode 100644
index 0000000..69d6938
--- /dev/null
+++ b/android_examples/helloworld/gen/com/param/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.param.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/helloworld/proguard.cfg b/android_examples/helloworld/proguard.cfg
new file mode 100644
index 0000000..12dd039
--- /dev/null
+++ b/android_examples/helloworld/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/helloworld/res/drawable/icon.png b/android_examples/helloworld/res/drawable/icon.png
new file mode 100644
index 0000000..a07c69f
Binary files /dev/null and b/android_examples/helloworld/res/drawable/icon.png differ
diff --git a/android_examples/helloworld/res/layout/main.xml b/android_examples/helloworld/res/layout/main.xml
new file mode 100644
index 0000000..3a5f117
--- /dev/null
+++ b/android_examples/helloworld/res/layout/main.xml
@@ -0,0 +1,12 @@
+
+
+
+
diff --git a/android_examples/helloworld/res/values/strings.xml b/android_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 0000000..100b88c
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/HelloWorld.class differ
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 0000000..e510fc8
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/R$attr.class differ
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 0000000..88ba33f
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/R$drawable.class differ
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 0000000..76527c9
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/R$layout.class differ
diff --git a/android_examples/test_mobile/bin/com/param/R$string.class b/android_examples/test_mobile/bin/com/param/R$string.class
new file mode 100644
index 0000000..510ea13
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/R$string.class differ
diff --git a/android_examples/test_mobile/bin/com/param/R.class b/android_examples/test_mobile/bin/com/param/R.class
new file mode 100644
index 0000000..7b07ba7
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/R.class differ
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 0000000..881bdc7
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/param$1.class differ
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 0000000..5b69cee
Binary files /dev/null and b/android_examples/test_mobile/bin/com/param/param.class differ
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 0000000..8074c4c
Binary files /dev/null and b/android_examples/test_mobile/res/drawable-hdpi/icon.png differ
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 0000000..1095584
Binary files /dev/null and b/android_examples/test_mobile/res/drawable-ldpi/icon.png differ
diff --git a/android_examples/test_mobile/res/drawable-mdpi/icon.png b/android_examples/test_mobile/res/drawable-mdpi/icon.png
new file mode 100644
index 0000000..a07c69f
Binary files /dev/null and b/android_examples/test_mobile/res/drawable-mdpi/icon.png differ
diff --git a/android_examples/test_mobile/res/layout/main.xml b/android_examples/test_mobile/res/layout/main.xml
new file mode 100644
index 0000000..3a5f117
--- /dev/null
+++ b/android_examples/test_mobile/res/layout/main.xml
@@ -0,0 +1,12 @@
+
+
+
+
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 0000000..a6cd9f4
Binary files /dev/null and b/android_examples/test_mobileTest/bin/com/param/test/MyFirstClass.class differ
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 0000000..78e5677
Binary files /dev/null and b/android_examples/test_mobileTest/bin/com/param/test/R$attr.class differ
diff --git a/android_examples/test_mobileTest/bin/com/param/test/R$drawable.class b/android_examples/test_mobileTest/bin/com/param/test/R$drawable.class
new file mode 100644
index 0000000..7617abb
Binary files /dev/null and b/android_examples/test_mobileTest/bin/com/param/test/R$drawable.class differ
diff --git a/android_examples/test_mobileTest/bin/com/param/test/R$layout.class b/android_examples/test_mobileTest/bin/com/param/test/R$layout.class
new file mode 100644
index 0000000..418d3e6
Binary files /dev/null and b/android_examples/test_mobileTest/bin/com/param/test/R$layout.class differ
diff --git a/android_examples/test_mobileTest/bin/com/param/test/R$string.class b/android_examples/test_mobileTest/bin/com/param/test/R$string.class
new file mode 100644
index 0000000..d8f7778
Binary files /dev/null and b/android_examples/test_mobileTest/bin/com/param/test/R$string.class differ
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 0000000..0c6bcce
Binary files /dev/null and b/android_examples/test_mobileTest/bin/com/param/test/R.class differ
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 0000000..8074c4c
Binary files /dev/null and b/android_examples/test_mobileTest/res/drawable-hdpi/icon.png differ
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 0000000..1095584
Binary files /dev/null and b/android_examples/test_mobileTest/res/drawable-ldpi/icon.png differ
diff --git a/android_examples/test_mobileTest/res/drawable-mdpi/icon.png b/android_examples/test_mobileTest/res/drawable-mdpi/icon.png
new file mode 100644
index 0000000..a07c69f
Binary files /dev/null and b/android_examples/test_mobileTest/res/drawable-mdpi/icon.png differ
diff --git a/android_examples/test_mobileTest/res/layout/main.xml b/android_examples/test_mobileTest/res/layout/main.xml
new file mode 100644
index 0000000..3a5f117
--- /dev/null
+++ b/android_examples/test_mobileTest/res/layout/main.xml
@@ -0,0 +1,12 @@
+
+
+
+
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/sample_pom.xml b/sample_pom.xml
new file mode 100644
index 0000000..9d7d7fe
--- /dev/null
+++ b/sample_pom.xml
@@ -0,0 +1,119 @@
+
+
+ 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
+
+
+
+
+
+
+ central
+ Maven Repository Switchboard
+ default
+ http://repo1.maven.org/maven2
+
+ false
+
+
+
+
+
+
+
+ central
+ Maven Plugin Repository
+ http://repo1.maven.org/maven2
+ default
+
+ false
+
+
+ never
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ ${java-version}
+ ${java-version}
+
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+
+ simpleWebApp
+
+
+
+ org.codehaus.mojo
+ tomcat-maven-plugin
+ 1.1
+
+ 8282
+
+
+
+
+
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 0000000..bd7606b
Binary files /dev/null and b/test/bin/com/param/test/TestMathFunc.class differ
diff --git a/test/bin/com/param/test/TestRegex.class b/test/bin/com/param/test/TestRegex.class
new file mode 100644
index 0000000..db8e43d
Binary files /dev/null and b/test/bin/com/param/test/TestRegex.class differ
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);
+ }
+}