code: @Override
  protected void onCreate(Bundle savedInstanceState) {
  	super.onCreate(savedInstanceState);
  	
  	// Initialize socialize
  	Socialize.initAsync(this, new SocializeInitListener() {
  		
  		@Override
  		public void onError(SocializeException error) {
  			// Handle error
  		}
  		
  		@Override
  		public void onInit(Context context, IOCContainer container) {
  			// If you want to access Socialize directly, do it here
  		}
  	});
  }
docs: begin-snippet-0