Coder Social home page Coder Social logo

learn's Introduction

Learn Demo App

Overview

Learn is a sample Android app to demo Facebook integration features for the Social Media Week developer event.

Installing

As a pre-requisite, you should have Android Studio and a working emulator or device to test with. The minimum API level supported is 15 (version 4.0.3).

  1. Clone this repository
  2. Open Android Studio
  3. From the welcome Quick Start, select Open an existing Android Studio project
  4. Navigate to the project located in starter/LearnApp and open it
  5. Click Run

You should see the app running in your emulator/device.

During the demo walk through, Facebook Platform features are added. To get ready for this, do the following:

  1. Create a Facebook app
  2. Add the Android platform to the app
  3. Configure your Android settings by adding the following:
    1. Google Play Package Name: com.facebook.samples.learn
    2. Class Name: com.facebook.samples.learn.MainActivity
    3. Key Hashes: add your developer key hash
  4. Upload the images located in the images directory in the App Details section for your Facebook app
  5. Add a tester for the app, it could be someone you know or a test user

Refer to the Facebook SDK for Android documentation for more information on how to set up and configure your Facebook app.

An APK of the final app is included in the builds directory. You can install this to see the finished application. The final code will be available after the event.

To install the APK using ADB tools:

$ cd <YOUR_ADROID_SDK_PLATFORM_TOOLS_DIRECTORY>
$./adb install <PATH_TO_REPO_CLONE>/learn/builds/app-release.apk 

Note: Some of the Facebook functionality requires the native Facebook app installed and one requires the Messenger app installed. For testing these features, you can run on a device.

Additional Resources

Facebook SDK for Android documentation can be found at https://developers.facebook.com/android/

learn's People

Watchers

James Cloos avatar Juan Pablo Prado avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.