Wednesday, June 12, 2013

Activity Lifecycle concepts for Offshore Android Developers

Apps have led to the immense popularity of smartphones. Google play store has millions of apps about anything and everything. This has helped offshore android developers with a lot of opportunities to create, upload and market their own apps. Android SDK makes it easier for developers to build applications by using preset components offered by Google. The 4 main components that can be used are:
  • Activity
  • Services
  • Content Providers
  • Broadcast receivers
Each of these components has a unique entry point and can also be used for various other functions. Activity component lets an offshore android developer create views with functions for a user to perform any task. Let’s explore the activity component lifecycle and all its stages: Programmers May Like To Read: Points To Keep in Mind While Create Android App.


An activity essentially has four stages which are as follows:

  • Active: As the name suggests, it refers to an activity that is running at the moment on the foreground.
  • Paused: An activity is paused when it is still alive and yet partially covered by another activity on the foreground. Such an activity can be resumed by closing the front activity.
  • Stopped: If an activity is completely covered by another activity, it is stopped and yet alive. User can resume it closing the front activity or else the system can close it to free resources when necessary.
  • Destroyed: When an activity is paused or stopped by the user and is killed by the memory, it is in the destroyed state. After this stage an activity can only be resumed by restarting it.

The entire lifecycle of activity can be explained as:

  • Activity launched –
  • onCreate() – UI creation and initialization
  • onStart() – Activity still not active
  • onResume() – Activity is visible and running
  • onPause() – Another activity is being called on top of this activity; all data must be saved as system might kill this
  • activity in need of additional resources.
  • onRestart() – If the activity is resumed by the user before being killed by the system
  • onDestroy() – Activity is either killed by the system or the user for use at another time
    This Post may be useful for companies which are working for Enterprise Mobile Application Development. This information may be helpful to create android mobile applications and iPhone applications.

    No comments:

    Post a Comment

    Software Solutions & Tips

    Error loading feed.

    Tags / Labels of Blog

    .net developer(1) .net outsourcing(1) .net programmers(1) Alfresco(1) amazing iphone apps developer(1) Android(3) Android app developers(1) android apps development(2) android apps lifecycle(1) Android Developers(1) app development requirement(1) applications(1) apps for the iphone(1) BI Software(2) create an iphone app(1) create and iphone app(1) creating an iphone app(1) creating apps for iphone(1) Creative iPhone App(1) creative iPhone application development(1) creative iphone apps developer(1) CRM(1) crm business opportunities(1) custom apps developer(1) custom iphone apps(1) developer(1) Dot Net(2) Enhance Java Workflow(1) enterprise apps development(1) Hire iPhone Developers(2) Hire iPhone Programmers(3) innovative iphone applications(2) iPad App Development(1) iPhone(15) iPhone App Design(1) iphone app developer(7) iPhone App Developers(1) iphone app programmers(1) iPhone application developer(1) iPhone application development(2) iphone apps(1) iphone apps developer(1) iphone apps development(1) iPhone developers(3) iPhone Developers Benefits(1) iPhone Programmers(1) j2ee development(1) Java(6) Java Apps Development(1) Java Apps Technology(1) java development(4) java outsourcing(1) java outsourcing benefits(1) Java Programmers(1) Java Solutions(1) Java Streamline Workflow(1) Liferay(2) Magento(2) Mobile(2) offshore .net development(1) offshore iPhone App Developers(1) offshore iphone app development(1) offshore iPhone Developers(1) Online CRM(1) Open Source(1) Oracle(1) outsource .net development(1) outsource iphone app development(1) outsource java(2) PHP(1) professional iphone apps developer(1) Sharepoint(1) Small Business Strategy(1) Superior Java Application(1) Ubuntu and Android(1)