摘要 |
A method for creating a context aware application and a user terminal are provided, where the method includes: obtaining a creation instruction used to create the context aware application, where the creation instruction includes a creation factor, and the creation factor is entered by a user and/or generated by a user terminal; determining, according to the creation factor, at least one terminal device related to the creation factor, and obtaining context information and action information of the at least one terminal device; generating at least one operation item according to the context information and the action information of the at least one terminal device; and generating the context aware application according to the at least one operation item. According to the foregoing technical solution, work of abstracting, identifying, and compiling an application scenario when a user creates a context aware application is reduced, thereby resolving a technical problem in the prior art that development steps of the context aware application are tedious and development efficiency is low, and achieving beneficial effects of simplifying the development steps and improving the development efficiency. |