public void startBackgroundFetchService(){
  LocalNotification n=new LocalNotification();
  n.setId(BACKGROUND_FETCH_NOTIFICATION_ID);
  cancelLocalNotification(BACKGROUND_FETCH_NOTIFICATION_ID);
  scheduleLocalNotification(n,System.currentTimeMillis() + getPreferredBackgroundFetchInterval() * 1000,0);
}

public void startBackgroundFetchService ( ) { LocalNotification n = new LocalNotification ( ) ; n . setId ( BACKGROUND_FETCH_NOTIFICATION_ID ) ; cancelLocalNotification ( BACKGROUND_FETCH_NOTIFICATION_ID ) ; scheduleLocalNotification ( n , System . currentTimeMillis ( ) + getPreferredBackgroundFetchInterval ( ) * 1000 , 0 ) ; }
starts the background fetch service .
