There is a feature called Activity embedding. To load ui from external app, use Cross-application embedding.
Activity embedding