Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Wie kann man eine Android Activity schließen

15.01.2021 (👁3511)


 

 

Wie kann ich die aktuelle Activity schliessen

 

Lösung
einfach mit folgendem java Befehl

super.onBackPressed();  //Close Activity

 

 

#programatically close

 

 

public void onCancelAlarm(View view) {
   
//------------< onCancelAlarm() >------------
   
super.onBackPressed();  //Close Activity
    //------------< onCancelAlarm() >------------
}