Permalink
Browse files

Importing Facebook Integration Sample

  • Loading branch information...
0 parents commit 5a9c5c22b486cf79e99b74c484c33227aefa764c @teleknEsis committed Jul 20, 2011
Showing with 2,235 additions and 0 deletions.
  1. BIN FacebookIntegration/.DS_Store
  2. +7 −0 FacebookIntegration/.classpath
  3. +33 −0 FacebookIntegration/.project
  4. +5 −0 FacebookIntegration/.settings/org.eclipse.jdt.core.prefs
  5. +20 −0 FacebookIntegration/AndroidManifest.xml
  6. BIN FacebookIntegration/bin/.DS_Store
  7. BIN FacebookIntegration/bin/FacebookIntegration.apk
  8. BIN FacebookIntegration/bin/classes.dex
  9. BIN FacebookIntegration/bin/com/facebook/android/AsyncFacebookRunner$1.class
  10. BIN FacebookIntegration/bin/com/facebook/android/AsyncFacebookRunner$2.class
  11. BIN FacebookIntegration/bin/com/facebook/android/AsyncFacebookRunner$RequestListener.class
  12. BIN FacebookIntegration/bin/com/facebook/android/AsyncFacebookRunner.class
  13. BIN FacebookIntegration/bin/com/facebook/android/DialogError.class
  14. BIN FacebookIntegration/bin/com/facebook/android/Facebook$1.class
  15. BIN FacebookIntegration/bin/com/facebook/android/Facebook$DialogListener.class
  16. BIN FacebookIntegration/bin/com/facebook/android/Facebook.class
  17. BIN FacebookIntegration/bin/com/facebook/android/FacebookError.class
  18. BIN FacebookIntegration/bin/com/facebook/android/FbDialog$FbWebViewClient.class
  19. BIN FacebookIntegration/bin/com/facebook/android/FbDialog.class
  20. BIN FacebookIntegration/bin/com/facebook/android/Util.class
  21. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/Login$1.class
  22. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/Login$LoginDialogListener.class
  23. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/Login.class
  24. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/R$attr.class
  25. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/R$drawable.class
  26. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/R$id.class
  27. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/R$layout.class
  28. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/R$string.class
  29. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/R.class
  30. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/SessionStore.class
  31. BIN FacebookIntegration/bin/com/kmiller/facebookintegration/Util.class
  32. BIN FacebookIntegration/bin/resources.ap_
  33. +11 −0 FacebookIntegration/default.properties
  34. +27 −0 FacebookIntegration/gen/com/kmiller/facebookintegration/R.java
  35. +36 −0 FacebookIntegration/proguard.cfg
  36. BIN FacebookIntegration/res/drawable-hdpi/icon.png
  37. BIN FacebookIntegration/res/drawable-ldpi/icon.png
  38. BIN FacebookIntegration/res/drawable-mdpi/icon.png
  39. BIN FacebookIntegration/res/drawable/facebook_icon.png
  40. +27 −0 FacebookIntegration/res/layout/main.xml
  41. +5 −0 FacebookIntegration/res/values/strings.xml
  42. BIN FacebookIntegration/src/.DS_Store
  43. +265 −0 FacebookIntegration/src/com/facebook/android/AsyncFacebookRunner.java
  44. +51 −0 FacebookIntegration/src/com/facebook/android/DialogError.java
  45. +761 −0 FacebookIntegration/src/com/facebook/android/Facebook.java
  46. +50 −0 FacebookIntegration/src/com/facebook/android/FacebookError.java
  47. +181 −0 FacebookIntegration/src/com/facebook/android/FbDialog.java
  48. +301 −0 FacebookIntegration/src/com/facebook/android/Util.java
  49. +115 −0 FacebookIntegration/src/com/kmiller/facebookintegration/Login.java
  50. +37 −0 FacebookIntegration/src/com/kmiller/facebookintegration/SessionStore.java
  51. +303 −0 FacebookIntegration/src/com/kmiller/facebookintegration/Util.java
Binary file not shown.
@@ -0,0 +1,7 @@
+<?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="output" path="bin"/>
+</classpath>
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>FacebookIntegration</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,5 @@
+#Wed Jul 20 09:51:08 CDT 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
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.kmiller.facebookintegration"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <uses-sdk android:minSdkVersion="8" />
+
+ <application android:icon="@drawable/icon" android:label="@string/app_name">
+ <activity android:name=".Login"
+ android:label="@string/app_name">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+ </application>
+
+ <uses-permission android:name="android.permission.INTERNET" />
+</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
@@ -0,0 +1,27 @@
+/* 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.kmiller.facebookintegration;
+
+public final class R {
+ public static final class attr {
+ }
+ public static final class drawable {
+ public static final int facebook_icon=0x7f020000;
+ public static final int icon=0x7f020001;
+ }
+ public static final class id {
+ public static final int LoginButton=0x7f050000;
+ }
+ 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;
+ }
+}
@@ -0,0 +1,36 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
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,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="20dip"
+ android:gravity="center_horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Facebook Integration Demo"
+ android:textStyle="bold"
+ android:textSize="24dip"
+ android:textColor="#ffffff"
+ android:layout_marginBottom="20dip"
+ android:gravity="center" >
+ </TextView>
+
+ <Button android:id="@+id/LoginButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Login to Facebook" >
+ </Button>
+
+
+</LinearLayout>
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Hello World, Login!</string>
+ <string name="app_name">FacebookIntegration</string>
+</resources>
Binary file not shown.
Oops, something went wrong.

0 comments on commit 5a9c5c2

Please sign in to comment.