currTime = System.currentTimeMillis();
introduceButton=(ImageButton) findViewById(R.id.imageButton1);
introduceButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
long clickTime = System.currentTimeMillis();
if(clickTime-currTime<300)
{
Intent intent = new Intent(Welcome.this, HomeMainTab.class);
startActivity(intent);
}else {
}
currTime=clickTime;
}
});
introduceButton=(ImageButton) findViewById(R.id.imageButton1);
introduceButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
long clickTime = System.currentTimeMillis();
if(clickTime-currTime<300)
{
Intent intent = new Intent(Welcome.this, HomeMainTab.class);
startActivity(intent);
}else {
}
currTime=clickTime;
}
});