So I have 2 activities lets say A and B. A navigates to B, I want the activity A to be killed or make it unusable/unseen when directed from B.
so it should be like when I press the back button on B activity it should not open activity A instead it should go to the app tray.
also activity A should comeback when I clear the application data
thanks.
How can I create an activity with the same layout/design as dialogs?
so i made 2 apps and i wanted to run the activity of one app from the activity of the other app. i can do that by passing a intent from the first app to start the second app. we were required to have a permission tag in activity to do that and which works. but the only situation it doesnt work is when i try running the second app activity(which is the one im talking about).
to click link application effect
When at the beginning of the animation, bottom to display the next activity page, then the first page of the animation and the next page animation begin at the same time.
Step 1: overridePendingTransition(enterAnim, exitAnim);
Step 2:Animation anim = AnimationUtils.loadAnimation(this, R.anim.push_left_out);
widget.startAnimation(anim);
The problem is the nex
hello everyone,
i have problem here as i want to redirect from activity to tab activity ...
but i dont know how to redirect from normal activity to activity which is declared in tab
as the concepts says that we can call activity in tab only when calling activity is also declared in tab.
Thanks in andvance if any help
Hi guys
I wanted to ask : I have a first activity that opens the second activity in the Activity menu. I press exit in Activity 2 and would like you to also close the Activity 1. How to do this?
My app has 2 activities:
- Activity (1) has a button to start Activity (2), this button isn't set transparent
- Activity (2) has a button that is transparent by setAlpha()
My problem is sometimes, when I back to Activity (1) from Activity (2) by pressing back button, a button of Activity (1) becomes transparent same as button of Activity (2).
I don't know why this problem can occur, please help
When I change fragments. I am using this to close the keyboard because there is an EditText field on the screen.
I have 6 Buttons, for 1st 3 Buttons i want to start same activity and for other 3 Buttons separate new activities.
So problem arises when i click on 1st button and then the second Button which starts same activity because we can not start same activity from same activity.
So I just need to know weather the activity which i am going to start is the same activity which is running, based on that if