Reputation: 1
How can i switch between activities using Touch screen ( by drag of screen towards left using finger or mouse). I know it can be possible using gesture class, but the problem is i can't switch one activity from other. Please suggest how it can be done. I'm new to Android. So please help and guide me. Thanks in Advance
Upvotes: 0
Views: 285
Reputation: 43098
Just detect necessary gesture. When you get one, just start your second activity:
Intent intent = new Intent(context, YourActivity.class);
startActivity(intent);
Upvotes: 1