Code example for ServiceConnection

Methods: onServiceDisconnected

0
          } 
      } 
       
      public void onServiceDisconnected(ComponentName className) {
          if (mCallback != null) {
              mCallback.onServiceDisconnected(className);
          } 
          sService = null;
      } 
  } 
   
   
  /////////////////////////////////////////////////// 
   
   
  private final static long[] sEmptyList = new long[0];
 
  public static long[] getSongListForCursor(Cursor cursor) {
    if (cursor == null) { return sEmptyList; }
    int len = cursor.getCount();