I agree with you. In the case of an Android application, subclassing Activity
is the only approach. Certainly, there are appropriate uses of inheritance. As illustrated in this article, when trying to enlarge the functionality of an existing class, composition is generally better than inheritance.
You raise a valid point. Thank you for your comment.