package ezy.sdk3rd.social.platforms.weibo; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import ezy.sdk3rd.social.sdk.IResult; /** * Created by wangfei on 15/12/3. */ public class WBShareActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.e(WBShare.TAG, "==> onCreate"); onNewIntent(getIntent()); } @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); Log.e(WBShare.TAG, "==> " + getIntent()); for (IResult service: WBShare.services.keySet()) { if (service != null) { service.onResult(WBShare.REQUEST_CODE, Activity.RESULT_OK, intent); } } finish(); } }