Learning processes and learning mechanisms are constantly evolving. The traditional classroom boards are replaced by Internet technologies, while the old handwritten notes are progressing to electronic notes. Through this evolution offered by new technologies, such as Web 2.0 and mobile and ubiquitous computing, learning agents need to adjust to this new reality. Distance, electronic, and mobile learning offer methods, technologies, and content, which decrease the limitations of traditional learning. Mobile learning is an extension of distance education, supported by mobile devices (e.g., smart-phones or tablets). It is an emerging learning model and process, which requires new forms of teaching, learning, contents, and dynamics between actors. This paper proposes a system architecture that supports distance and mobile learning. This architecture considers four layers, supporting professors and students activities, and learning and evaluation processes through innovative and intuitive user interfaces. The system is supported by several technologies including context and location awareness, pervasiveness, ubiquity, and intelligent agents. It demonstrates how recent technologies can interact together to improve distant and mobile learning.