CN104317598A - Method for integrating applications on desktop of intelligent equipment system - Google Patents

Method for integrating applications on desktop of intelligent equipment system Download PDF

Info

Publication number
CN104317598A
CN104317598A CN201410599267.7A CN201410599267A CN104317598A CN 104317598 A CN104317598 A CN 104317598A CN 201410599267 A CN201410599267 A CN 201410599267A CN 104317598 A CN104317598 A CN 104317598A
Authority
CN
China
Prior art keywords
mobile phone
desktop
screen
view
container
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
CN201410599267.7A
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.)
Ying Weinuo Science And Technology Ltd Of Shenzhen
Original Assignee
Ying Weinuo Science And Technology Ltd Of Shenzhen
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 Ying Weinuo Science And Technology Ltd Of Shenzhen filed Critical Ying Weinuo Science And Technology Ltd Of Shenzhen
Priority to CN201410599267.7A priority Critical patent/CN104317598A/en
Publication of CN104317598A publication Critical patent/CN104317598A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a solution for full-screen displaying of a window on a desktop of an intelligent cellphone. The solution includes that during original development of application software needed to be integrated, a view layout file needed to be displayed on the desktop of the cellphone is created and named; during initialization of an android cellphone desktop, a window carrier of one of screens is acquired, view needing full-screen integration is acquired by reflection through necessary conditions, and the view is loaded to the window carrier; through the above steps, the presented view is not in a full-screen state, and four-side gaps and a permanent application bar at the bottom of the cellphone desktop need to be removed, so that the cellphone desktop of a user is more personalized and diversified.

Description

A kind of method at smart machine system desktop Integrated predict model
Technical field
The present invention relates to the technical method that smart mobile phone ocr software is blended into the mobile phone desktop of android system, particularly internet applications is blended into the technical method of the smart machine desktop of android system.
 
Background technology
Along with the constantly universal of smart mobile phone and development, continuing to bring out of the application software of all kinds, function, the mobile phone desktop of user also becomes more personalized and diversified.
Wherein the raw mobile phone desktop in android system source provides widget function, and this widget is that a kind of carrier that all application software depend in the market is presented on mobile phone desktop.But widget function merely provides several pattern, do not support self-defined, more single, emphasis is not given prominence to, and display effect, not as people's will, poor user experience, exists great limitation.
The full frame desktop synthesis of waterfall stream single screen, solves application software in mobile phone desktop space of a whole page display dullness, emphasis not distinct issues, method for designing belongs to original creation.The control carried as used Android system all can not realize completely full frame, can affect visual effect.
?
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of solution at smart mobile phone desktop single screen full screen display window, to solve the full frame bandwagon effect cannot accomplished in existing Android control.The control using Android system to carry there will be single screen four limit and all there is space, affects visual effect.
Following technical scheme is the invention provides for solving the problem:
In the original development needing integrated application software, set up and name a view layout's file needing to show at mobile phone desktop.
1, in the initialization of Android mobile phone desktop, obtain the window carrier of a wherein screen, by the condition of necessity, reflection obtains needs integrated full frame view, is loaded into window carrier.
2, through above step, the view presented not is full frame state, the resident applications hurdle also needing gap, removal four limit and remove bottom mobile phone desktop.
Embodiment:
One, view layout's file is set up
In the structure category of Android application item exploitation, deposit the file layout of the file relevant to project layout, set up at this file and need the layout xml file being integrated into mobile phone desktop, this file internal control part supports all Android system spaces or self-defined control.Two, launcher is integrated
1. obtain and need integrated view layout.
In android system desktop source code, acquire view by the bag name of known Integrated predict model and view layout's filename.As following source code obtains view view:
Contextc=getContext () .createPackageContext (" application bag name ", Context.CONTEXT_INCLUDE_CODE|Context.CONTEXT_IGNORE_SECU RITY);
Int id=c.getResources () .getIdentifier (" view layout's filename ", " layout ", " application bag name ");
View?view=?LayoutInflater.from(c).inflate(id,?null);
2. be integrated into mobile phone desktop
During system desktop initialization, obtain the window support C ellLayout of any screen acquiescence of acquiescence in the initWorkspace method wherein in Workspace class, the view obtained in the middle of above-mentioned 1 is loaded.As shown in following source code:
CellLayout?cellLayout?=?(CellLayout)?findViewById(R.id.cell2);
cellLayout.addView(view);
3. remove four gaps, limit and hide resident hurdle, bottom
Through above two steps, application view window is integrated into mobile phone desktop, but there is four gaps, limit and bottom resides hurdle existence.
In PagedView class in 3.1 system desktop source codes, in its onMeasure method, find the window carrier cellLayout of corresponding loading application view view, be revised as the wide height of mobile phone screen to the wide height of its measure.As shown in following source code:
cellLayout.measure(MeasureSpec. makeMeasureSpec(
MeasureSpec. getSize(widthMeasureSpec),?childWidthMode),?MeasureSpec. makeMeasureSpec(
MeasureSpec. getSize(heightMeasureSpec),?childHeightMode));
3.2 in the onLayout method of PagedView class, finds the window carrier cellLayout of corresponding loading application view view, to its layout layout.As shown in following source code:
cellLayout.layout(childLeft,offsetY,childLeft+child.getMeasuredWidth(),?offsetY+?getViewportHeight()+stateBarHeight);
3.3 in Workspace class, obtains the resident hurdle Hotseat in bottom, change its state according to the slip of mobile phone desktop by mLauncher, and hide when sliding into this full screen view page, other states all show.

Claims (4)

1., at a technical method for mobile phone desktop single screen full screen display window, solving Android system provides the control of widget to limit to, and be applied to the bandwagon effect of internet works software at mobile phone desktop, it is characterized in that, described method comprises:
Obtain any screen mobile phone desktop container and the display specifications parameter arranging this container is full frame, namely wide is that mobile phone screen is wide, height is that mobile phone screen is high, foundation needs Integrated predict model view layout file, obtain layout view when mobile phone desktop initialization and be loaded into full frame container, the state that hurdle (Hotseat) is resided in bottom is followed mobile phone screen switching and changes.
2. method according to claim 1, is characterized in that, also comprises:
Utilize android api, the bag name applied by necessity and the reflection of layout view filename obtain view control.
3. method according to claim 1, is characterized in that, also comprises:
When mobile phone desktop initialization, show this screen container of full frame position acquisition as required and the view control that reflection obtains showing is added, simultaneously when this container initialization, to it, the wide height that wide high size is screen is set, when it carries out location layout, give its corresponding display location according to the container size that correspondence is arranged.
4. method according to claim 1, is characterized in that, also comprises:
When mobile phone desktop slides into full frame displaying page, resident hurdle (Hotseat), bottom need be hidden, when sliding into other pages, resident hurdle (Hotseat), display bottom.
CN201410599267.7A 2014-10-31 2014-10-31 Method for integrating applications on desktop of intelligent equipment system Pending CN104317598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410599267.7A CN104317598A (en) 2014-10-31 2014-10-31 Method for integrating applications on desktop of intelligent equipment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410599267.7A CN104317598A (en) 2014-10-31 2014-10-31 Method for integrating applications on desktop of intelligent equipment system

Publications (1)

Publication Number Publication Date
CN104317598A true CN104317598A (en) 2015-01-28

Family

ID=52372833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410599267.7A Pending CN104317598A (en) 2014-10-31 2014-10-31 Method for integrating applications on desktop of intelligent equipment system

Country Status (1)

Country Link
CN (1) CN104317598A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572128A (en) * 2015-01-29 2015-04-29 深圳市英威诺科技有限公司 Method for integrating user-defined full screen widgets on desktop
CN107193542A (en) * 2017-03-30 2017-09-22 腾讯科技(深圳)有限公司 Method for information display and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040426A1 (en) * 2006-08-11 2008-02-14 Don Synstelien System and Method for Placing a Widget onto a Desktop
CN102214101A (en) * 2011-06-30 2011-10-12 中兴通讯股份有限公司 Method and device for displaying Widget window in zooming way
CN102339207A (en) * 2010-07-20 2012-02-01 联发科技股份有限公司 Electronic interaction apparatus and method for generating full screen effect
CN103064735A (en) * 2011-10-24 2013-04-24 联想(北京)有限公司 Display process method, display device and electronic equipment
US8776117B2 (en) * 2007-12-28 2014-07-08 Verizon Patent And Licensing Inc. Method and apparatus for providing expanded displayable applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040426A1 (en) * 2006-08-11 2008-02-14 Don Synstelien System and Method for Placing a Widget onto a Desktop
US8776117B2 (en) * 2007-12-28 2014-07-08 Verizon Patent And Licensing Inc. Method and apparatus for providing expanded displayable applications
CN102339207A (en) * 2010-07-20 2012-02-01 联发科技股份有限公司 Electronic interaction apparatus and method for generating full screen effect
CN102214101A (en) * 2011-06-30 2011-10-12 中兴通讯股份有限公司 Method and device for displaying Widget window in zooming way
CN103064735A (en) * 2011-10-24 2013-04-24 联想(北京)有限公司 Display process method, display device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FOOKWOOD: "如何给Launcher3添加左屏", 《HTTP://WWW.FOOKWOOD.COM/ARCHIVES/1048》 *
QINJUNING: "Android中measure过程、WRAP_CONTENT详解以及xml布局文件解析流程浅析", 《HTTP://WWW.UML.ORG.CN/MOBILEDEV/201211221.ASP》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572128A (en) * 2015-01-29 2015-04-29 深圳市英威诺科技有限公司 Method for integrating user-defined full screen widgets on desktop
CN107193542A (en) * 2017-03-30 2017-09-22 腾讯科技(深圳)有限公司 Method for information display and device
CN107193542B (en) * 2017-03-30 2022-06-14 腾讯科技(深圳)有限公司 Information display method and device

Similar Documents

Publication Publication Date Title
CN106294816B (en) Page information processing method and device
CN103543993A (en) Application program building method and system
CN106648356B (en) Android platform-based trotting horse lantern effect realization device and method
RU2006133383A (en) VISUALIZATION OF THE USER INTERFACE
CN101763234B (en) Method and device for simulating various screen resolutions
CN104380240A (en) Information display apparatus and method of user device
US20140373001A1 (en) Electronic device, software updating system and method
CN104199552A (en) Multi-screen display method, device and system
CN103137103A (en) Character display method and device
CN105630275A (en) Desktop display system and method
CN102681853A (en) Method and device for realizing 3D (3-Dimensional) screen rotation of desktop of Android operating system by using OpenGL ES (OpenGL for Embedded Systems)
CN105787034A (en) Data presentation method and device
CN103034710B (en) Page rendering method and device for browser
CN104850428A (en) Method and device for updating user interface of mobile client
CN103455279A (en) Method for displaying advertising information by mobile internet terminal
US20160062637A1 (en) Method, apparatus and non-transitory storage medium for processing punctuation mark
CN103020031A (en) Method and device for updating data pivot table intelligently
CN104317598A (en) Method for integrating applications on desktop of intelligent equipment system
CN104572128A (en) Method for integrating user-defined full screen widgets on desktop
US20170346702A1 (en) Computer implemented method for displaying a user interface
CN107180032A (en) Comment on content display method and system
CN102708710A (en) E-book reader and working method thereof
JP2006510961A5 (en)
CN107025040A (en) Display and setting method, system and graphic user interface based on OLED screen curtain
CN110069300A (en) Vision original text generation method, device, medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128