Jun 12, 2011

Android Reference Implementation - Droid Twit

In order to learn Android, we have created an Android application. This android application will help us get actual hands on experience in all the aspects of Android Development. The way we have developed this application is to thing of the design first, implement and keep refactoring the design, until the application gets better. Ofcourse we try to use the best practices mentioned on the Android.
We call this application as Droid Twit application, which is the reference implementation of Twitter on Android.

The application is developed in two parts
1. Small samples to understand a particular android feature or api
2. Integration of the feature or api in the Droid Twit application
The above approach helps developers to learn android

We have created an OpenSource Project

Please note this application is still under development, so please bear with us

Introduction

This is an Implement of Android Twitter client. This is a reference implementation showcasing how to use all the components of Android to create a Twitter client.

Rohit Ghatol and Saurabh Gangarde are the lead developers of this project. Both of them work for QuickOffice and Synerzip Softech.

This Reference Implementation is build to train developers in Pune for one of the TechNext Technical Talks.

Tutorial

The tutorial on how to build a twitter client is available at DroidTwitTutorial

List Activity and Async Task Tutorial

Tutorial for List Activity and Async Task

Features

The Android Client uses

  • Alarm Manager to repeatedly fetch tweets from Twitter
  • There is a back ground service for fetching twits and storing it in database
  • There is use of OAuth for authentication
  • Notification Manager is used for notifying users about newer twits
  • Battery Drain is monitored and Twitter Service is closed to help save battery, and when battery is charged then again Twitter Service is started. (Yet to be implemented- Coming soon)
  • In UI side we use shapes and drawable states for background and button images

Download Demo APK

Disclaimer: Since the application is under development and not gone through entire QA cycle, there could be some crashes in the application. We are striving hard to get you a stable version soon. Meanwhile please focus on the application architecture.

Please Download our apk from http://droidtwit.googlecode.com/files/DroidTwit.apk and try it.

Demo Video

Screenshots

Architectural Diagrams

Proposed Architecture


Screen Flow


Overall Architecture

Note Phone Boot Receiver, Low Battery Receiver and Alarm Receiver are all Android BroadCast? Receiver.


OAuth Authentication


First Time Launch


Activity Asking Service to fetch tweets


Alarm Manager Triggering Service every n minutes


When Phone Boots, Broadcast Receiver registers Alarm Manager and Battery BroadCast? Receiver


Battery BroadCast? Receiver controls Alarm Manager




15 comments:

  1. nice project yaar.........

    ReplyDelete
    Replies
    1. I have read your blog its very attractive and impressive. I like it your blog.

      Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

      Java Online Training Java Training in Chennai Core Java 8 Training in Chennai Core Java 8 Training in Chennai JavaEE Training in Chennai Java EE Training in Chennai

      Delete
  2. Hi friends, This is Victoria from Chennai. I am a technology freak. I have read your blog. It was really a wonderful article and I was really impressed by reading this blog. Thanks for sharing this informative blog. I did HTML5 Training in Chennai at FITA academy, Its really useful for me to make a bright future.

    ReplyDelete
  3. This idea is mind blowing. I think everyone should know such information like you have described on this post. Thank you for sharing this explanation.Your final conclusion was good. We are sowing seeds and need to be patiently wait till it blossoms.

    Digital marketing company in Chennai

    ReplyDelete
  4. I must thank you for the efforts you have put in penning this site. I am hoping to check out the same high-grade content by you later on as well. In truth, your creative writing abilities has inspired me to get my own, personal blog now..

    Corporate Training in Chennai

    ReplyDelete
  5. I'm just starting to learn making apps. (I have a couple simple ones already)
    I might use your code to learn making games!. In our institution we are providing the course with placement guidance. So join here and get placed. Android Training in Chennai |
    Android Training in Chennai |
    Android Training in Chennai |
    Android Training in Chennai |

    ReplyDelete
  6. As a result, they will ascertain to develop a unique app and won't try to steal any existing app development idea.
    showboxdownloadsapp.com

    ReplyDelete
  7. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.

    Digital Marketing Company in Chennai

    ReplyDelete
  8. Uncharted 5 will be unbelievable if Cassie came in as Nate's replacement! As the daughter of Elena and Nathan, she has all the resources she will ever need to become the next treasure hunter in the family. And having her as the protagonist will ensure that we get to see Nate, Elena, and everyone else in at least some capacity.

    ReplyDelete
  9. Thanks for sharing good information, its's really nice blog.
    Hi We at Colan Infotech Private Limited a
    Mobile apps development companies in chennai.
    we always desire to solicit our customer's fruitful experience with us, we are the top notch
    Mobile App Development Company in chennai

    ReplyDelete
  10. Thanks for the awesome share
    We at Colan Infotech Private Limited best web design company in chennai,is Situated in US and India,
    will provide you best service in qa testing services
    Design Services and Colan Infotech has a group of exceedingly dedicated, inventive and creative experts with an energy for delivering exciting ,
    helpful and stylish Web and Mobile Applications, We are one of the best software testing services company
    and of course we stepped in bangalore too we are best qa and testing services
    can provide quality assurance and testing services,
    we are the best among the software testing company india

    ReplyDelete
  11. Thanks for sharing this information article
    Hi we at Colan Infotech Private Limited , a company which is Situated in US and India, will provide you best service and our talented team will assure you best result and we are familiar with international markets, We work with customers in a wide variety of sectors. Our talented team can handle all the aspects of custom application development, we are the best among the dot net development companies in Chennai . asp .net web development company We have quite an extensive experience working with asp .net development services. we are the only asp.net web development company which offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project, just as you would with your in-house team. hire asp.net programmers to achieve your dream product.
    Custom application development company, asp.net development companies, asp .net web development company,Hire asp .net programmers,asp.net web development services,dot net development companies in chennai Hire asp .net programmers/ hire asp .net developer  . We are the best asp .net development company providing top notch asp .net development services Hire asp .net programmers/ hire asp .net developer  . We are the best asp .net development company providing top notch asp .net development services.

    ReplyDelete
  12. Thanks for sharing useful information article to us keep sharing this info,
    Hi We at Colan Infotech Private Limited a
    Mobile application development company in chennai,
    is Situated in US and India, will provide you best service in
    enterprise mobile app development company .
    and Colan Infotech has a group of exceedingly dedicated, inventive and creative experts with an energy for delivering exciting , helpful and stylish Web and Mobile Applications, We work with customers in a wide variety of sectors.
    We design all of our websites and applications using the responsive web design approach. Our talented team can handle all the aspects of mobility so we are rated as best service provider in
    Mobile apps development companies in chennai.

    We solidly trust that our customers start things out and there is not a viable alternative for quality of service.
    We offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project, just as you would with your in-house team. we always desire to solicit our customer's fruitful experience with us, we are the top notch
    Mobile App Development Company in chennai
    and mobile app development companies in Bangalore. We can provide best
    mobile app development chennai .
    We can provide cutting edge technology services in
    Mobile application development in chennai.
    Reach us for mobile app development chennai or just call us for best
    mobile app developers in chennai .

    ReplyDelete
  13. You tv player is one of the most amazing app using which you can watch latest movies or tv shows absolutely free of cost. It is being loved by many users, and it is considered as one of the most promising apps of recent times. Check this site You TV Player now to know more about this app YouTV Player

    ReplyDelete