CN104077092A - Android system page displaying method and device - Google Patents

Android system page displaying method and device Download PDF

Info

Publication number
CN104077092A
CN104077092A CN201310117777.1A CN201310117777A CN104077092A CN 104077092 A CN104077092 A CN 104077092A CN 201310117777 A CN201310117777 A CN 201310117777A CN 104077092 A CN104077092 A CN 104077092A
Authority
CN
China
Prior art keywords
sub
containers
container
android system
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310117777.1A
Other languages
Chinese (zh)
Inventor
刘飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Oak Pacific Interactive Technology Development Co Ltd
Original Assignee
Beijing Oak Pacific Interactive Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Oak Pacific Interactive Technology Development Co Ltd filed Critical Beijing Oak Pacific Interactive Technology Development Co Ltd
Priority to CN201310117777.1A priority Critical patent/CN104077092A/en
Publication of CN104077092A publication Critical patent/CN104077092A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention provides an Android system page displaying method and device. The method and device can overcome the shortcoming that the existing Android system is single in view. In addition, a user can customize the Android system page, and the user experience is enriched.

Description

A kind of page display method of Android system and device
Technical field
The embodiments of the present invention relate to Android system, and more specifically, relate to a kind of page display method and device of Android system.
Background technology
At present, the common page display way of Android system for example has ListView, GridView etc.Wherein ListView shows particular content with the form of fixing strip, and can show according to the length self-adaptation of data.The general Listview of formation comprises three elements, i.e. ListView: the view, the Adapter that show list: bridge, Data that data are connected with view: concrete data comprise symbol string, picture or control.
GridView grid view, for showing multiple lines and multiple rows.
But, no matter be ListView or GridView, on a page of Android system, conventionally only limit to one of above-mentioned view, from the aspect that represents of data, be restricted to a great extent, in other words, the display mode of the current Android system page is too single.In addition, although current Android system provides the variety of way with Data relationship, wherein very important a kind of be exactly mode by adapter, this adapter is the adaptive above-mentioned data of entirety conventionally, existing Android page view is overly dependent upon and shows body itself thus, can not realize the renewal or the change that are independent of the page.In addition, along with the development of Android system, more and more need a kind of page of customizable display mode.
Summary of the invention
In view of above-mentioned present situation, one object of the present invention is at least to provide a kind of page display method and device of Android system.According to the page display method of Android system of the present invention and device, can overcome the more single defect of existing Android system view; In addition, can also realize the customization of user to the Android system page, enrich user's experience.
According to an aspect of the present invention, provide a kind of page display method of Android system, having comprised: Activity container is provided in Android system, wherein in the framework of described Activity container, embeds in advance multiple sub-containers; Load the described Activity container that embeds described multiple sub-containers, thereby modularization shows the page of Android system.
According to an embodiment of the invention, described framework embeds at least 4 described sub-containers.
According to an embodiment of the invention, at least 2 sub-containers in described multiple sub-containers are respectively used to show the data from different pieces of information source.
According to an embodiment of the invention, at least 2 sub-containers in described multiple sub-containers present respectively different information display format.
According to an embodiment of the invention, utilize single-sign-on mode to realize the access of the display module corresponding to all sub-containers.
According to a further aspect in the invention, provide a kind of page display device of Android system, having comprised: memory storage for providing Activity container in Android system, has wherein embedded multiple sub-containers in advance in the framework of described Activity container; And charger, for loading the described Activity container that embeds described multiple sub-containers, thereby modularization shows the page of Android system.
According to an embodiment of the invention, described framework embeds at least 4 described sub-containers.
According to an embodiment of the invention, at least 2 sub-containers in described multiple sub-containers are respectively used to show the data from different pieces of information source.
According to an embodiment of the invention, at least 2 sub-containers in described multiple sub-containers present respectively different information display format.
According to an embodiment of the invention, for utilizing single-sign-on mode to realize the device of the access of the display module corresponding to all sub-containers.
Brief description of the drawings
In the time reading by reference to the accompanying drawings below to the detailed description of exemplary embodiment, these and other object, feature and advantage will become apparent, in the accompanying drawings:
Fig. 1 shows the process flow diagram of the page display method of Android system according to an embodiment of the invention;
Fig. 2 shows the integrated stand composition according to the preferred embodiment of the present invention;
Fig. 3 shows an example of the modularization page demonstration of Android system;
Fig. 4 shows the schematic diagram of the page display device of Android system according to the preferred embodiment of the present invention; And
Fig. 5 shows the configuration schematic diagram of the mobile terminal that can implement therein according to the embodiments of the present invention.
Embodiment
Process flow diagram in accompanying drawing and block diagram, illustrate according to architectural framework in the cards, function and the operation of the device of various embodiments of the invention, method and computer program product.In this, the each square frame in process flow diagram or block diagram can represent a part for module, program segment or a code, and a part for described module, program segment or code comprises one or more for realizing the executable instruction of logic function of regulation.Also it should be noted that what the function marking in square frame also can be marked to be different from accompanying drawing occurs in sequence in some realization as an alternative.For example, in fact the square frame that two adjoining lands represent can be carried out substantially concurrently, and they also can be carried out by contrary order sometimes, and this determines according to related function.Also be noted that, the combination of the square frame in each square frame and block diagram and/or process flow diagram in block diagram and/or process flow diagram, can realize by the special hardware based system of the function putting rules into practice or operation, or can realize with the combination of specialized hardware and computer instruction.
To only describe various embodiment of the present invention in detail by exemplary approach now.
Fig. 1 shows the process flow diagram of the page display method of Android system according to an embodiment of the invention.Step starts from S101.
Step S110 provides Activity container in Android system, wherein in the framework of described Activity container, embeds in advance multiple sub-containers;
Android system of the present invention includes but not limited to the Android system in such as HTC of various smart mobile phones etc., and Android system in various flat-panel devices etc.
Described Activity container, the container that Android system carries, does not do concrete restriction to this present invention.It is substantially the most the most frequently used assembly in Android assembly, and for example, in an Android application, an Activity is exactly an independent screen conventionally.
As those skilled in the art institute clearly, Activity container has framed structure conventionally, the application embeds in advance sub-container in the framework of described Activity container.According to the preferred embodiment of the present invention, can for example the framework of Activity container be carried out suitable adjustment or be revised to make the framework of this Activity container be suitable for embedding sub-container.About described sub-container, the present invention can preferably pre-define the model of a sub-container, then derives submodel according to the model of this sub-container, can directly be used as sub-container after these submodels.
In framework, embed each sub-container, also comprise position and the scope of each sub-container of definition in current Activity container.This position and scope can be according to user's the customizations that needs.Further, those skilled in the art can utilize position is selected and determiner carrys out antithetical phrase container position and the scope of sub-container to define.Those skilled in the art will recognize that, the page display way that makes Android system is presented breakthrough change by the conception of introducing sub-container in Activity container, as will be further discussed below, the page display way of the application's Android system will be broken away from the constraint of conventional single page display mode thus, and can realize the customization of user to page display content.
According to the preferred embodiment of the present invention, described framework embeds multiple sub-containers.More preferably, described multiple sub-container comprises at least 4 sub-containers.It will be understood by those skilled in the art that the number that described sub-container can be set as required.
According to various embodiments of the present invention mode, described multiple sub-container can be distinguished corresponding different customization function pieces.These difference in functionality pieces can be the information assemblies of user preference.According to the definition of difference in functionality piece, data message source and the Data classification relevant to described functional block can be set.
The data that the data that data message of the present invention source can for example produce from the service logic of own apk or other apk provide or data of this locality and network etc.Can utilize in every way these information sources, such as, user can customize corresponding sub-container module, for showing certain some information sets or data set of user preference, these information sets or data set have one or several predicable, these attributes can be that user wishes certain some data of understanding, the information set of for example Europe Cup; Or, different sub-containers can be tied to different operation systems, such as Renren Network information, happy net information, micro-blog information etc.In addition, the data that sub-container is corresponding can be upgraded according to user-defined clock frequency.In this way, user can realize customization and the real-time update to modularization display page.
According to the preferred embodiment of the present invention, at least 2 sub-containers in described multiple sub-containers show respectively the data from different pieces of information source.In such a manner, can make the present invention wider than the Data Source of existing page view.
According to described Data Source, the display format of each sub-container can also be set.These display formats can have identical or different style, can be ListView, TextView, GridView, can also be video, animation or picture etc.
According to the preferred embodiment of the present invention, at least 2 sub-containers in described multiple sub-containers present respectively different information display format.
For object clearly, Fig. 2 shows according to the integrated stand composition of the sub-container of embedding of the preferred embodiment of the present invention.It will be understood by those skilled in the art that this integrated stand composition is only used to illustrate design substantially of the present invention, should not be considered as limitation of the present invention.
For example, can, according to certain Activity in Android mobile phone, revise the framework of this Activity, to be embedded into a sub-container; Can be according to the model of a described sub-container, derive other sub-container; Again described other sub-container is embedded in described framework; Position and the territory of each sub-container in Activity container can also be set, and fix territory scope, then return to corresponding parameter; As shown in Figure 2, can define the data source of each sub-container, for example, from the service logic data of own apk, the data that other apk provide, the data of this locality or data of network etc.It should be appreciated by those skilled in the art that described data are to customize according to user's needs.
Step S120, loads the described Activity container that embeds described multiple sub-containers, thereby modularization shows the page of Android system.
This step is shown in having realized in Activity container the data corresponding to each sub-container or information.Particularly, behind sub-container location, the framework in every sub-container territory all has a location, relevant parameter can be thrown to upper strata, and manage according to algorithmic rule.In addition, in the time loading module corresponding to described sub-container, can also comprise the data initialization of realizing submodule.Further, when after the data change in binding source, can upgrade according to the clock frequency of definition; And ought be for example according to user's click, when the module information that sub-container is corresponding needs redirect, locating information relevant sub-container and module information and data message can be thrown to upper strata, thereby be realized the redirect of the page and reading of related data.According to the preferred embodiment of the invention, can also preserve up-to-date redirect record and caching record.
Fig. 3 shows the example showing according to the modularization page of the Android system of step S130 operation.As shown in Figure 3, the page that this modularization shows can comprise multiple submodules, and full page comprises 6 submodules in this example.As previously mentioned, each submodule is binding data source independently, and each submodule can show information independently.User can customize displaying contents and the display format of each submodule.The display format of picture, animation, ListView for example, has been shown in Fig. 3; User can independently arrange the displaying contents of above-mentioned picture, animation, ListView and realize the independently updated of timing, the defect of having avoided existing update mode to upgrade the full page of Android system.
For the multiple submodules that show above, the present invention preferably uses the mode of single-sign-on to realize the login of each submodule.Art technology is easily understood, and just there is no need to realize single-sign-on if all data sources only need to be bound same data source.Utilize single-sign-on, realized reading of data under different account systems for example, effectively expanded data source and subservice system, greatly strengthened extendability; In addition, owing to having opened platform, the data and the resource that produce can be put in addition, also then increased the source of data.
Step S130, finishes.
For modularization display packing above, those skilled in the art it is also understood that, this is according to the framework of Android system and unique design, such design has overcome the Activity container shortcoming that framework is difficult to cut apart as a whole of traditional Android system dexterously, has overcome the existing page and has shown too single defect.Those skilled in the art also should understand, the modularization that such framework mode is also significantly different from traditional portal website shows, this is because the data-handling capacity of current Android system does not also reach the data-handling capacity of conventional P C machine far away, on the flow process of Android system deal with data and PC, there is essential difference, for example on PC, carry out UNICOM often with data server or large database, the mobile phone of Android system often arranges data by the mode of adapter.Hence one can see that, and the page display method of the application's Android is the breakthrough change for existing display mode.
Fig. 4 shows the schematic diagram of the page display device of Android system according to the preferred embodiment of the present invention.Device 400 comprises memory storage 410 and charger 420.
Memory storage 410 for providing Activity container in Android system, wherein embeds multiple sub-containers in advance in the framework of described Activity container;
Charger 420, for loading the described Activity container that embeds described multiple sub-containers, thereby modularization shows the page of Android system.
Due to the page display device of Android system according to the present invention and the page display method of Android system corresponding one by one.Therefore, can be realized by device corresponding in claim to a product according to the step of page display method of the present invention.
According to an embodiment of the invention, described framework embeds at least 4 described sub-containers.
According to an embodiment of the invention, at least 2 sub-containers in described multiple sub-containers are respectively used to show the data from different pieces of information source.
According to an embodiment of the invention, at least 2 sub-containers in described multiple sub-containers present respectively different information display format.
According to an embodiment of the invention, further comprise: for utilizing single-sign-on mode to realize the device of the access of the display module corresponding to all sub-containers.
Fig. 5 shows the configuration schematic diagram of the mobile terminal that can implement therein according to the embodiments of the present invention.
Mobile terminal has controller 500, it is responsible for the integrated operation of mobile terminal, and can utilize any business can obtain CPU (" CPU (central processing unit) "), DSP (" digital signal processor ") or the realization of any other electronic programmable logical device.Controller 500 has correlated electron memory 502, such as RAM storer, ROM storer, eeprom memory, flash memory or its any combination.Storer 502 is by controller 500 for various objects, and one of them is as various software stored program instructions and data in mobile terminal.Software comprises real time operating system 520, driver, application processor 532 and various application for man-machine interface (MMI) 534.Application can comprise Message-text editing machine 550, handwriting recognition (HWR) application 560 and various other application 570, such as, for audio call, video call, sending and receiving Short Message Service (SMS) message, multimedia information service (MMS) or Email, web-browsing, instant message transrecieving application, book applications, calendar application, control panel application, camera application, one or more video-game, notepad appli-cation etc.Two or more that it should be noted that above-mentioned application can be used as same application and carry out.
MMI534 also comprises one or more hardware controls, its together with MMI driver with the first display 536, the cooperation of keypad 538 and various other I/O equipment (such as microphone, loudspeaker, Vib., jingle bell generator, LED indicator etc.).As is known, user can carry out operating mobile terminal by the man-machine interface of such formation.
Software can also comprise various modules, protocol stack, driver etc., it is labeled as 530 jointly, and for RF interface 506 and alternatively for blue tooth interface 508 and/or IrDA interface 510 provide communication service (such as, transmission, network and connectedness), for local connective.RF interface 506 comprises inside or exterior antenna and for setting up and safeguard the suitable radio circuit of the wireless link that leads to base station.As known to the skilled person, radio circuit comprises a series of analog-and digital-electronic packages, and it forms radio receiver and transmitter together.These assemblies for example comprise bandpass filter, amplifier, frequency mixer, local oscillator, low-pass filter, ad/da converter etc.
Mobile terminal can also comprise SIM card 504 and the reader being associated.As is known, SIM card 504 comprises processor and local work and data-carrier store.
Embodiments of the present invention can be presented as a kind of routine package and a kind of application programming interface API.The developer of mobile application software can be that mobile application software increases the function of propagating mobile application software by the mode that comprises, quotes, imports the mode of this routine package or call application DLL (dynamic link library).
The present invention also provides a kind of storage medium that comprises computer-readable program, and in the time that computer-readable program is carried out by processor, it makes processor realize according to the embodiment of the present invention the method for the function of expansion mobile terminal.Storage medium can be any tangible medium, such as floppy disk, CD-ROM, DVD, hard disk drive, network medium etc. even.
The various aspects of foregoing description can be used separately or use in various combinations.The application's instruction can realize by the combination of hardware and software, but also can realize with hardware or software.The application's instruction can also be embodied as the computer program on computer-readable medium, and it can be any material medium, such as floppy disk, CD-ROM, DVD, hard disk drive and even network medium etc.
Provided instructions of the present invention for the object illustrating and describe, but it is not intended to be exhaustive or be limited to the invention of disclosed form.It may occur to persons skilled in the art that a lot of amendments and variant.It will be appreciated by those skilled in the art that the method and apparatus in embodiment of the present invention can be with software, hardware, firmware or its combination realization.
Therefore; embodiment is for principle of the present invention, practical application being described better and making the other staff in those skilled in the art can understand following content and select and describe;; do not departing under the prerequisite of spirit of the present invention, all modifications of making and replacement all will fall in the protection domain of the present invention of claims definition.

Claims (10)

1. a page display method for Android system, comprising:
Activity container is provided in Android system, wherein in the framework of described Activity container, embeds in advance multiple sub-containers;
Load the described Activity container that embeds described multiple sub-containers, thereby modularization shows the page of Android system.
2. method according to claim 1, wherein:
Described framework embeds at least 4 described sub-containers.
3. method according to claim 1, wherein:
At least 2 sub-containers in described multiple sub-container are respectively used to show the data from different pieces of information source.
4. method according to claim 1, wherein:
At least 2 sub-containers in described multiple sub-container present respectively different information display format.
5. according to one of any described method of claim 1-4, further comprise:
Utilize single-sign-on mode to realize the access of the display module corresponding to all sub-containers.
6. a page display device for Android system, comprising:
Memory storage for providing Activity container in Android system, wherein embeds multiple sub-containers in advance in the framework of described Activity container;
Charger, for loading the described Activity container that embeds described multiple sub-containers, thereby modularization shows the page of Android system.
7. device according to claim 6, wherein:
Described framework embeds at least 4 described sub-containers.
8. device according to claim 6, wherein:
At least 2 sub-containers in described multiple sub-container are respectively used to show the data from different pieces of information source.
9. device according to claim 6, wherein:
At least 2 sub-containers in described multiple sub-container present respectively different information display format.
10. according to one of any described device of claim 6-9, further comprise:
For utilizing single-sign-on mode to realize the device of the access of the display module corresponding to all sub-containers.
CN201310117777.1A 2013-03-29 2013-03-29 Android system page displaying method and device Pending CN104077092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117777.1A CN104077092A (en) 2013-03-29 2013-03-29 Android system page displaying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117777.1A CN104077092A (en) 2013-03-29 2013-03-29 Android system page displaying method and device

Publications (1)

Publication Number Publication Date
CN104077092A true CN104077092A (en) 2014-10-01

Family

ID=51598377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117777.1A Pending CN104077092A (en) 2013-03-29 2013-03-29 Android system page displaying method and device

Country Status (1)

Country Link
CN (1) CN104077092A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648708A (en) * 2017-01-10 2017-05-10 深圳铂睿智恒科技有限公司 Control method and system of Android system network view
WO2019001257A1 (en) * 2017-06-25 2019-01-03 平安科技(深圳)有限公司 Page componentization method and apparatus, and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012044828A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc User interaction support across cross-environment applications
CN102750148A (en) * 2012-06-08 2012-10-24 Tcl集团股份有限公司 Media information display method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012044828A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc User interaction support across cross-environment applications
CN102750148A (en) * 2012-06-08 2012-10-24 Tcl集团股份有限公司 Media information display method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648708A (en) * 2017-01-10 2017-05-10 深圳铂睿智恒科技有限公司 Control method and system of Android system network view
WO2019001257A1 (en) * 2017-06-25 2019-01-03 平安科技(深圳)有限公司 Page componentization method and apparatus, and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106502725B (en) Upgrade method, equipment and the electronic equipment of application program
CN105302587B (en) Data-updating method and device
CN100462917C (en) Data container for user interface content data
CN110049456B (en) Method and device for displaying rich media on mobile terminal and mobile terminal
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN107402788B (en) Resource packaging management method and device
CN109495584B (en) Internet of things equipment access method, device, equipment and medium
CN103543993A (en) Application program building method and system
CN104166717A (en) Unread message displaying method and device based on terminal operation system
CN110020356A (en) A kind of code generating method of page module, apparatus and system
CN102646037A (en) Menu display processing method and terminal device
CN104636142A (en) Information processing method and electronic equipment
CN101986740A (en) JAVA card
CN101990169A (en) Intelligent card active pushing system and intelligent card mobile terminal
CN111427576A (en) Method, device, storage medium and terminal for configuring application program interface
CN108733370B (en) Stylized display method, device, terminal and storage medium of native APP
CN105094824A (en) Display method for notification messages on intelligent watch and intelligent watch
CN104346192A (en) Download method and download system for mobile application
CN104320387B (en) Component localization method for customizing, terminal and server
CN104077092A (en) Android system page displaying method and device
CN111857480B (en) Icon alignment method and device, storage medium and electronic equipment
CN103677865A (en) Method and device for replacing wallpaper
CN111443945B (en) Component code modification method and device
CN106919375B (en) Screen self-adaption method and system on mobile terminal equipment
CN110333859B (en) Page creation method, page creation device, electronic device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141001

WD01 Invention patent application deemed withdrawn after publication