1 QiMpyUT9oQS6dezm2NIKaA

Services in Android

October 24, 2018 admin 23

A service is a component that runs in the background to perform long-running operations To perform work for remote processes. Runs in Background (No Interfaces) Eg :com.android.music.MediaPlaybackService     public class BackgroundSoundService extends Service { private static final String TAG = null; MediaPlayer player; public IBinder onBind(Intent arg0) { return null; } […]

Loading

android basic lifecycle 800 alpha

Android Life cycle

October 17, 2018 admin 5

Android Life cycle onCreate() = Called when the activity is first created onStart() =Called just after it’s creation or by restart method after onStop(). Here Activity start becoming visible to user onResume() = Called when Activity is visible to user and user can interact with it onPause() =Called when Activity content is […]

Loading