Close the current activity when you only have a reference to Context January 26, 2023 by Tarik yes, with a cast: ((Activity) ctx).finish();