vijay
6/2/2015 - 7:00 AM

SplashScreen

SplashScreen

private void startSplash() {
		new Thread(new Runnable() {

			@Override
			public void run() {
				try {
					Thread.sleep(1000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				runOnUiThread(new Runnable() {

					@Override
					public void run() {
						if (isRunning) {
						  	startActivity(new Intent(ctx,
									ApplyActivaionCodeActivity.class));
							finish();
						}
					}
				});
			}
		}).start();
	}