Permalink
Browse files

CL-270: Add subscribe and unsubscribe test application.

  • Loading branch information...
1 parent 5250524 commit 025818210963b3e3de726c2f064f8eda0c2f4b8f tanaji committed Nov 23, 2012
Showing with 1,599 additions and 0 deletions.
  1. +8 −0 android/AndroidSubUnsubTest/.classpath
  2. +33 −0 android/AndroidSubUnsubTest/.project
  3. +26 −0 android/AndroidSubUnsubTest/AndroidManifest.xml
  4. +26 −0 android/AndroidSubUnsubTest/bin/AndroidManifest.xml
  5. BIN android/AndroidSubUnsubTest/bin/AndroidSubUnsubTest.apk
  6. BIN android/AndroidSubUnsubTest/bin/classes.dex
  7. BIN android/AndroidSubUnsubTest/bin/dexedLibs/PubnubCrypto-96b0b81471eabc91228c3384b0b2d32f.jar
  8. BIN android/AndroidSubUnsubTest/bin/dexedLibs/android-support-v4-2f37d1ba55b810ffe43ef2c8ed799168.jar
  9. +3 −0 android/AndroidSubUnsubTest/bin/jarlist.cache
  10. BIN android/AndroidSubUnsubTest/bin/res/drawable-hdpi/ic_action_search.png
  11. BIN android/AndroidSubUnsubTest/bin/res/drawable-hdpi/ic_launcher.png
  12. BIN android/AndroidSubUnsubTest/bin/res/drawable-ldpi/ic_launcher.png
  13. BIN android/AndroidSubUnsubTest/bin/res/drawable-mdpi/ic_action_search.png
  14. BIN android/AndroidSubUnsubTest/bin/res/drawable-mdpi/ic_launcher.png
  15. BIN android/AndroidSubUnsubTest/bin/res/drawable-xhdpi/ic_action_search.png
  16. BIN android/AndroidSubUnsubTest/bin/res/drawable-xhdpi/ic_launcher.png
  17. BIN android/AndroidSubUnsubTest/bin/resources.ap_
  18. +6 −0 android/AndroidSubUnsubTest/gen/com/test/android/BuildConfig.java
  19. +34 −0 android/AndroidSubUnsubTest/gen/com/test/android/R.java
  20. BIN android/AndroidSubUnsubTest/ic_launcher-web.png
  21. BIN android/AndroidSubUnsubTest/libs/PubnubCrypto.jar
  22. BIN android/AndroidSubUnsubTest/libs/android-support-v4.jar
  23. +4 −0 android/AndroidSubUnsubTest/lint.xml
  24. +20 −0 android/AndroidSubUnsubTest/proguard-project.txt
  25. +14 −0 android/AndroidSubUnsubTest/project.properties
  26. BIN android/AndroidSubUnsubTest/res/drawable-hdpi/ic_action_search.png
  27. BIN android/AndroidSubUnsubTest/res/drawable-hdpi/ic_launcher.png
  28. BIN android/AndroidSubUnsubTest/res/drawable-ldpi/ic_launcher.png
  29. BIN android/AndroidSubUnsubTest/res/drawable-mdpi/ic_action_search.png
  30. BIN android/AndroidSubUnsubTest/res/drawable-mdpi/ic_launcher.png
  31. BIN android/AndroidSubUnsubTest/res/drawable-xhdpi/ic_action_search.png
  32. BIN android/AndroidSubUnsubTest/res/drawable-xhdpi/ic_launcher.png
  33. +15 −0 android/AndroidSubUnsubTest/res/layout/activity_main.xml
  34. +7 −0 android/AndroidSubUnsubTest/res/values-large/dimens.xml
  35. +5 −0 android/AndroidSubUnsubTest/res/values-v11/styles.xml
  36. +5 −0 android/AndroidSubUnsubTest/res/values-v14/styles.xml
  37. +7 −0 android/AndroidSubUnsubTest/res/values/dimens.xml
  38. +8 −0 android/AndroidSubUnsubTest/res/values/strings.xml
  39. +5 −0 android/AndroidSubUnsubTest/res/values/styles.xml
  40. +407 −0 android/AndroidSubUnsubTest/src/com/test/android/MainActivity.java
  41. +16 −0 android/AndroidSubUnsubTest/src/com/test/android/pubnub/Callback.java
  42. +950 −0 android/AndroidSubUnsubTest/src/com/test/android/pubnub/Pubnub.java
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry kind="output" path="bin/classes"/>
+</classpath>
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>AndroidSubUnsubTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,26 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.test.android"
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk
+ android:minSdkVersion="11"
+ android:targetSdkVersion="15" />
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name"
+ android:theme="@style/AppTheme" >
+ <activity
+ android:name=".MainActivity"
+ android:label="@string/title_activity_main" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
@@ -0,0 +1,26 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.test.android"
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk
+ android:minSdkVersion="11"
+ android:targetSdkVersion="15" />
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name"
+ android:theme="@style/AppTheme" >
+ <activity
+ android:name=".MainActivity"
+ android:label="@string/title_activity_main" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
+# cache for current jar dependecy. DO NOT EDIT.
+# format is <lastModified> <length> <SHA-1> <path>
+# Encoding is UTF-8
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
@@ -0,0 +1,6 @@
+/** Automatically generated file. DO NOT MODIFY */
+package com.test.android;
+
+public final class BuildConfig {
+ public final static boolean DEBUG = true;
+}
@@ -0,0 +1,34 @@
+/* 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.test.android;
+
+public final class R {
+ public static final class attr {
+ }
+ public static final class dimen {
+ public static final int padding_large=0x7f040002;
+ public static final int padding_medium=0x7f040001;
+ public static final int padding_small=0x7f040000;
+ }
+ public static final class drawable {
+ public static final int ic_action_search=0x7f020000;
+ public static final int ic_launcher=0x7f020001;
+ }
+ public static final class layout {
+ public static final int activity_main=0x7f030000;
+ }
+ public static final class string {
+ public static final int app_name=0x7f050000;
+ public static final int hello_world=0x7f050001;
+ public static final int menu_settings=0x7f050002;
+ public static final int title_activity_main=0x7f050003;
+ }
+ public static final class style {
+ public static final int AppTheme=0x7f060000;
+ }
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lint>
+ <issue id="ParserError" severity="ignore" />
+</lint>
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
@@ -0,0 +1,14 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-16
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,15 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/padding_medium"
+ android:text="@string/hello_world"
+ tools:context=".MainActivity" />
+
+</RelativeLayout>
@@ -0,0 +1,7 @@
+<resources>
+
+ <dimen name="padding_small">8dp</dimen>
+ <dimen name="padding_medium">16dp</dimen>
+ <dimen name="padding_large">16dp</dimen>
+
+</resources>
@@ -0,0 +1,5 @@
+<resources>
+
+ <style name="AppTheme" parent="android:Theme.Holo.Light" />
+
+</resources>
@@ -0,0 +1,5 @@
+<resources>
+
+ <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
+
+</resources>
@@ -0,0 +1,7 @@
+<resources>
+
+ <dimen name="padding_small">8dp</dimen>
+ <dimen name="padding_medium">8dp</dimen>
+ <dimen name="padding_large">16dp</dimen>
+
+</resources>
@@ -0,0 +1,8 @@
+<resources>
+
+ <string name="app_name">AndroidSubUnsubTest</string>
+ <string name="hello_world">Hello world!</string>
+ <string name="menu_settings">Settings</string>
+ <string name="title_activity_main">MainActivity</string>
+
+</resources>
@@ -0,0 +1,5 @@
+<resources>
+
+ <style name="AppTheme" parent="android:Theme.Light" />
+
+</resources>
Oops, something went wrong.

0 comments on commit 0258182

Please sign in to comment.