Skip to content

boyserk84/mobileAndroidTwitterClientBackward

Repository files navigation

Twitter Client Mobile App version2 with backward compatibility with Gingerbread OS (minSDK 10)

Alt text Alt text Alt text

Overview

Twitter Client App

  • User can login in, compose a tweet and read tweets on his/her timeline from Twitter.
  • User can see profile and tweets of other on their timeline.

Background Overview

This app use RestClientTemplate as a skeleton. RestClientTemplate Rest Client Template is used for making things related to OAuth simpler.

The following things are supported out of the box:

  • Authenticating with any OAuth 1.0a or OAuth 2 API
  • Sending requests for and parsing JSON API data using a defined client
  • Persisting data to a local SQLite store through an ORM layer
  • Displaying and caching remote image data into views

The following libraries are used to make this possible:

  • scribe-java - Simple OAuth library for handling the authentication flow.
  • Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
  • codepath-oauth - Custom-built library for managing OAuth authentication and signing of requests
  • UniversalImageLoader - Used for async image loading and caching them in memory and on disk.
  • ActiveAndroid - Simple ORM for persisting a local SQLite database on the Android device

User Stories:

  • User can sign in using OAuth login flow
  • User can view last 25 tweets from their home timeline
  • User should be able to see the user, body and timestamp for tweet
  • User should be displayed the relative timestamp for a tweet "8m", "7h"
  • User can load more tweets once they reach the bottom of the list using "infinite scroll" pagination
  • User can compose a new tweet
    • User can click a “Compose” icon in the Action Bar on the top right
    • User will have a Compose view opened
    • User can enter a message and hit a button to post to twitter
    • User should be taken back to home timeline with new tweet visible
      • Optional: User can see a counter with total number of characters left for tweet
  • Optional: User can refresh tweets timeline by pulling down to refresh (i.e pull-to-refresh)

Additional User stories:

  • User can switch between Timeline and Mention views using tabs.

    • User can view their home timeline tweets.
    • User can view the recent mentions of their username.
    • User can scroll to bottom of either of these lists and new tweets will load ("infinite scroll")
    • Optional: Implement this in a gingerbread-compatible approach
  • User can navigate to view their own profile

    • User can see picture, tagline, # of followers, # of following, and tweets on their profile.
  • User can click on the profile image in any tweet to see another user's profile.

    • User can see picture, tagline, # of followers, # of following, and tweets of clicked user.
    • Profile view should include that user's timeline

About

Twitter Client App with Backward compatibility to Gingerbread and additional functionality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages