Paige control for enterprise mobile applications
Abstract
The disclosure generally describes computer-implemented methods, software, and systems for generating and using platform-independent code. A computer-implemented method includes: identifying a user interface library that includes abstractions of user interface elements, each abstraction being platform-independent and associated with platform-specific code including user interface code unique to different platforms; receiving application code at design time that includes an abstraction of a user interface element; and storing the application code for use on a client device. At subsequent execution time, the application code is configured to: determine platform-specific information of the client device; execute platform-specific lines of code appropriate for the client device; and present the user interface element in a user interface of the client device in a way that is appropriate for the client device.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A computer-implemented method comprising:
identifying a user interface library that includes abstractions of user interface elements, each abstraction being platform-independent and associated with platform-specific code including user interface code unique to different platforms;
receiving application code at design time that includes an abstraction of a user interface element; and
storing the application code for use on a client device, wherein, at subsequent execution time, the application code is configured to:
determine platform-specific information of the client device;
execute platform-specific lines of code appropriate for the client device; and
present the user interface element in a user interface of the client device in a way that is appropriate for the client device.
2. The method of claim 1 , wherein the abstraction is a page control.
3. The method of claim 2 , wherein the page control includes at least a header, a body, and a footer.
4. The method of claim 1 , wherein the platform-specific information includes an operating system and a version associated with the client device.
5. The method of claim 1 , wherein the user interface code identifies a structure and a behavior for a given platform.
6. The method of claim 1 , wherein some user interface elements are not presented in the user interface based at least on the platform-specific information of the client device.
7. A non-transitory computer-readable media storing instructions to cause a processor to perform operations comprising:
identifying a user interface library that includes abstractions of user interface elements, each abstraction being platform-independent and associated with platform-specific code including user interface code unique to different platforms;
receiving application code at design time that includes an abstraction of a user interface element; and
storing the application code for use on a client device, wherein, at subsequent execution time, the application code is configured to:
determine platform-specific information of the client device;
execute platform-specific lines of code appropriate for the client device; and
present the user interface element in a user interface of the client device in a way that is appropriate for the client device.
8. The computer-readable media of claim 7 , wherein the abstraction is a page control.
9. The computer-readable media of claim 7 , wherein the page control includes at least a header, a body, and a footer.
10. The computer-readable media claim 7 , wherein the platform-specific information includes an operating system and a version associated with the client device.
11. The computer-readable media claim 7 , wherein the user interface code identifies a structure and a behavior for a given platform.
12. The computer-readable media claim 7 , wherein the some user interface elements are not presented in the user interface based at least on the platform-specific information of the client device.
13. A system, comprising:
memory operable to store map and business-related information; and
at least one hardware processor interoperably coupled to the memory and operable to perform instructions to:
identify a user interface library that includes abstractions of user interface elements, each abstraction being platform-independent and associated with platform-specific code including user interface code unique to different platforms;
receive application code at design time that includes an abstraction of a user interface element; and
store the application code for use on a client device, wherein, at subsequent execution time, the application code is configured to:
determine platform-specific information of the client device;
execute platform-specific lines of code appropriate for the client device; and
present the user interface element in a user interface of the client device in a way that is appropriate for the client device.
14. The system of claim 13 , wherein the abstraction is a page control.
15. The system of claim 13 , wherein the page control includes at least a header, a body, and a footer.
16. The system of claim 13 , wherein the platform-specific information includes an operating system and a version associated with the client device.
17. The system of claim 13 , wherein the user interface code identifies a structure and a behavior for a given platform.
18. The system of claim 13 , wherein some user interface elements are not presented in the user interface based at least on the platform-specific information of the client device.
19. A computer-implemented method comprising:
determining platform-specific information of a client device; and
executing application code on the client device including executing platform-specific lines of code appropriate for the client device based at least on the determined platform-specific information, the application code generated at design time using a user interface library that includes abstractions of user interface elements, each abstraction being platform-independent and associated with platform-specific code, including code that presents a user interface element in the user interface of the client device in a way that is appropriate for the client device.
20. The computer-implemented method of claim 19 , wherein the abstractions include a page control.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.