Hybrid Mobile UI Code Generation for Cross-Platform Compatibility

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Native mobile applications require multiple platform-specific versions due to platform-dependent code, limiting cross-platform compatibility and increasing development complexity, while web-based applications lack native features and functionalities.

Innovation Solution

Implementing a native application with a web-based user interface, where the user interface code is generated on a server and transmitted to the device, allowing platform-independent UI components and native-specific features to be combined, reducing the need for native code implementation and enabling cross-platform compatibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If native applications use platform-dependent code for user interface implementation, then native features and functionalities are supported, but cross-platform compatibility deteriorates and development complexity increases

Engineering Contradiction:
Improvenative features supportVSAvoiddevelopment complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The user interface is segmented into two distinct parts: platform-independent UI components implemented in web technologies (HTML, CSS, JavaScript) and platform-specific native components. This segmentation allows the majority of the UI to be developed once and reused across platforms, while only specific native features require platform-dependent implementation, thereby reducing overall development complexity while maintaining native functionality support.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a universal UI framework using web technologies that can run on multiple mobile platforms (iOS, Android, etc.) without modification. This universal layer handles common UI elements and logic, eliminating the need to develop separate platform-specific versions for each interface element, thus reducing development complexity while maintaining cross-platform compatibility.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Reliability

If multiple platform-specific versions of native applications are developed, then native features are fully supported, but cross-platform compatibility deteriorates

Engineering Contradiction:
Improvenative features supportVSAvoidcross-platform compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal UI layer using web technologies that functions across multiple mobile platforms simultaneously. This single codebase approach enables the application to maintain consistent behavior and appearance across iOS, Android, and other platforms, significantly improving cross-platform compatibility while still accessing native features through the hybrid architecture.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces a hybrid application framework as an intermediary layer between the universal web-based UI and platform-specific native components. This mediator enables seamless integration, allowing the web UI to communicate with and access native device features (camera, GPS, contacts) through standardized interfaces, thus maintaining both cross-platform compatibility and native feature support.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If web-based applications are used instead of native applications, then cross-platform compatibility is improved, but native features and functionalities are lost

Engineering Contradiction:
Improvecross-platform compatibilityVSAvoidnative features support
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent merges the advantages of both web-based and native applications into a hybrid architecture. The application combines the cross-platform compatibility and ease of maintenance of web technologies with the native features and performance of platform-specific code. This fusion allows the application to leverage web technologies for the universal UI while integrating native components for device-specific functionalities, thus achieving both cross-platform compatibility and native feature support simultaneously.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a composite application structure that combines web-based UI components with native code components. This composite architecture integrates different technological materials (web technologies and native programming languages) into a unified application that exhibits properties of both: cross-platform portability from the web layer and native feature access from the platform-specific layer.

Inventive Principle:
Principle #40Composite materials

Data Source

PatentUS10255255B2Customization of mobile applications using web-based technology
Publication Date: 2019.04.09 META PLATFORMS INC
  • US10255255B2 patent drawing
  • US10255255B2 patent drawing
  • US10255255B2 patent drawing

AI summary

In one embodiment, receiving, at a first computing device from a second computing device, a request for a view of a user interface of a native application executing on the second computing device, wherein the view includes one or more first user interface components; determining, by the first computing device, a user agent type of the second computing device; selecting, by the first computing device, one or more second user-interface components to be included in the view based on the user agent type of the second computing device; generating, by the first computing device, code implementing a structured document that represents the view, wherein the structured document comprises the one or more first user-interface components and the one or more second user-interface components; and transmitting, from the first computing device to the second computing device, the code.