Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for starting interface

A startup interface and interface technology, which is applied in the field of computer communication, can solve the problems of increasing the learning cost of binding interface technology, increasing the workload of writing binding interface code, etc., achieving the effect of reducing workload, development cost and high efficiency

Active Publication Date: 2015-12-16
KINGSOFT
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The above method of starting ActivityB through ActivityA can avoid the problem that ActivityB must be registered in the AndroidManifest.xml file, but it is necessary to write the binding interface code between ActivityA and ActivityB, which increases the workload of writing the binding interface code. Increased learning costs for using this binding interface technique

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for starting interface
  • Method and device for starting interface
  • Method and device for starting interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0024] It should be clear that the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0025] figure 1 It is a schematic diagram of the overall flow of a method for starting an interface in an embodiment of the present invention. See figure 1 , The process includes:

[0026] Step 11. When starting the activity on the first interface, obtain a start request sent to the system, the start request includes the Intent class written into the class name of the first Activity, and the class name of the first Activity is represented by a variable ;

[0027] In this step, the first activity is an u...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention disclose a method and a device for starting an interface. The method comprises the following steps of obtaining a starting request which is sent to a system when starting a first interface ActivitV, wherein the starting request comprises an Intent class which is written into a class name of the first ActivitV, and the class name of the first ActivitV is represented by a variable; modifying the variable which is represented by the class name of the first ActivitV in the starting request to a variable which is represented by a class name of a second ActivitV; and sending the modified starting request to the system to start the first ActivitV. By applying the method and the device, the workload for editing an interface code can be reduced.

Description

Technical field [0001] The present invention relates to computer communication technology, in particular to a method and device for starting an interface (Activity). Background technique [0002] At present, the Android operating system is more and more accepted by users due to its simple and convenient operation, and has been widely used in users' work and life. Interface (Activity) is one of the most basic and commonly used components in applications based on the Android operating system. An Activity is an application component that provides a screen through which the user can interact with the application to complete a task. [0003] According to the design standards developed by Android, each Activity needs to register the information of the Activity in the AndroidManifest.xml file. When the application starts the Activity, it sends a request to start the Activity to the Android operating system. After the Android operating system receives the request, Perform a series of ope...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 孙文鸿
Owner KINGSOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products