| | |
| | | import android.content.Intent; |
| | | import android.os.Bundle; |
| | | import android.text.TextUtils; |
| | | import android.util.Log; |
| | | |
| | | import com.hdl.linkpm.sdk.core.exception.HDLException; |
| | | import com.hdl.linkpm.sdk.user.HDLLinkPMUser; |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * App启动页(目的是为了让用户点击APP图标的时候有一个瞬间响应的交互体验。) |
| | | */ |
| | |
| | | |
| | | @Override |
| | | public void onBindView(Bundle savedInstanceState) { |
| | | setNotificationBarBackgroundColor(CustomColor.white); |
| | | // setStatusBarTranslucent(); |
| | | // setNotificationBarBackgroundColor(CustomColor.white); |
| | | getWindow().setStatusBarColor(getColor(R.color.text_FFFFFFFF)); |
| | | setStatusBarTextColor(); |
| | | |
| | | //初始化服务器域名(用户注册所在服务器域名地址) |
| | | AppConfigManage.setUserRegionUrl(HDLLinkPMUser.getInstance().getUserRegionUrl()); |
| | | //判断AccessToken是否null |
| | |
| | | intent.setClass(this, LoginActivity.class); |
| | | openActivity(intent); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | @Override |
| | |
| | | startActivity(intent); |
| | | finish(); |
| | | } |
| | | |
| | | @Override |
| | | protected void onDestroy() { |
| | | super.onDestroy(); |
| | | overridePendingTransition(0, 0); |
| | | } |
| | | |
| | | |
| | | } |