CN102253833A - Operation method and device based on application under Android platform - Google Patents

Operation method and device based on application under Android platform Download PDF

Info

Publication number
CN102253833A
CN102253833A CN2011101774684A CN201110177468A CN102253833A CN 102253833 A CN102253833 A CN 102253833A CN 2011101774684 A CN2011101774684 A CN 2011101774684A CN 201110177468 A CN201110177468 A CN 201110177468A CN 102253833 A CN102253833 A CN 102253833A
Authority
CN
China
Prior art keywords
android
android platform
application
operational order
interface
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
CN2011101774684A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2011101774684A priority Critical patent/CN102253833A/en
Publication of CN102253833A publication Critical patent/CN102253833A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an operation method and device based on application under an Android platform, relating to the field of software and realizing that a manufacturer only needs to modify self-developed application resources when developing applications and is free from the influences of version changes of the Android platform. The method comprises the steps of: receiving an operation command of a user on an application under the Android platform; searching a business interface in a business layer, corresponding to the operation command; and executing the operation content corresponding to the business interface corresponding to the operation command. The embodiment of the invention is mainly applied to the condition that a user can develop and upgrade the application when operating the application under the Android platform of terminal equipment.

Description

A kind of method of operating and device of using down based on Android Android platform
Technical field
The present invention relates to software field, relate in particular to a kind of method of operating of using down based on Android Android platform.
Background technology
Android (Android) is based on the operating system of the open kernel of Linux, and the Android system can be applied to smart mobile phone, panel computer.
Application (as: application such as calendar, contact person) exploitation under the existing Android platform all is at UI (User Interface, user interface) directly passes through ContentProvider (content provider) accessing database in, travel through in UI uses behind Cursor (cursor type) result set by obtaining, using among the Android all is directly to carry out the operation of database by calling insertion, renewal, delete interface.
In the process that realizes the embodiment of the invention, the inventor finds that there are the following problems at least in the prior art:
Android platform and core application (as: calendar, contact person, note etc.) version is constantly upgraded, and when upgrading, the realization of its core application all has bigger variation at every turn, is not easy to the exploitation of manufacturer to using.
Summary of the invention
Embodiments of the invention provide a kind of method of operating and device of using down based on the Android platform, when having realized manufacturer's Application and Development, only need the resource of the application of modification manufacturer oneself exploitation to get final product the influence that changed by the Android platform release.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of operating of using down based on Android Android platform comprises:
Receive the operational order that the user uses down the Android platform;
Search in the applied business layer, with described operational order corresponding service interface;
Carry out and the corresponding content of operation of described operational order corresponding service interface.
A kind of operating means of using down based on Android Android platform comprises:
Receiving element is used to receive the operational order that the user uses down the Android platform;
Search the unit, be used for searching the applied business layer, with described operational order corresponding service interface;
Performance element is used to carry out and the corresponding content of operation of described operational order corresponding service interface.
Adopt the technical program, when the user operates using, only need call operation corresponding service interface, get final product complete operation; Manufacturer is in development of new applications, or during to the new operation of existing application and development, and the resource that only needs to revise the application that manufacturer oneself develops gets final product.Compared with prior art, the technical scheme that adopts the embodiment of the invention to provide, the influence that changed by the Android platform release to the operation of using and exploitation.
Description of drawings
A kind of process flow diagram that Fig. 1 provides for the embodiment of the invention 1 based on the method for operating of using under the Android Android platform;
A kind of structural drawing that Fig. 2 provides for the embodiment of the invention 2 based on the operating means of using under the Android Android platform;
A kind of process flow diagram that Fig. 3 provides for the embodiment of the invention 3 based on the method for operating of using under the Android Android platform.
Embodiment
Below in conjunction with accompanying drawing a kind of method of operating and device of using down based on Android Android platform of the embodiment of the invention is described in detail.
Embodiment 1:
The present invention is exactly that the logic of managing business during each is used extracts, and forms the applied business layer, and the variation with the reply processing logic forms constant processing logic, to should be with operation-interface is provided.
A kind of method of operating of using down based on Android Android platform that the embodiment of the invention provides as shown in Figure 1, comprising:
101, receive the operational order that the user uses down the Android platform;
102, search in the applied business layer, with described operational order corresponding service interface;
103, execution and the corresponding content of operation of described operational order corresponding service interface.
The executive agent of present embodiment can be the terminal device that Android is housed, as: mobile phone, panel computer etc.
The technical scheme that adopts present embodiment to provide when the user operates using, only needs call operation corresponding service interface, gets final product complete operation; Manufacturer is in development of new applications, or during to the new operation of existing application and development, and the resource that only needs to revise the application that manufacturer oneself develops gets final product.Compared with prior art, the technical scheme that adopts the embodiment of the invention to provide, the influence that changed by the Android platform release to the operation of using and exploitation.
Based on the foregoing description, another embodiment of the present invention is described further the foregoing description:
The corresponding relation of business interface described in the operational order described in 101 and 102 is through preestablishing.The developer can setting operation order and the concrete corresponding relation of business interface in Application and Development or when application operating is set.
The corresponding relation of content of operation described in the corresponding service interface of operational order described in 102 and 103 is through preestablishing.The developer can setting operation order corresponding service interface and the concrete corresponding relation of content of operation in Application and Development or when application operating is set.
The layer of applied business described in 102 has encapsulated should be with whole described business interfaces.That is, the applied business layer is to have comprised whole operations that the Android platform should be used down with the set of business interface.
Further, the present invention is independent with the business interface of each application, forms the applied business layer, and like this, application operating is reduced to the operation-interface that calls application.The applied business layer is applicable to the different editions of Android, and promptly the applied business layer does not change with the upgrading of Android version, thereby has offset the influence of Android version variation to using.
That is, operating process is by application-applied business layer-application data store layer.The storage of application data store layer
In sum, the technical scheme that adopts present embodiment to provide, the developer has preestablished the corresponding relation of operational order and business interface in Application and Development or when application operating is set, and the corresponding relation of business interface and execution content.When the user operates using, only need call operation corresponding service interface, get final product complete operation; Manufacturer is in development of new applications, or during to the new operation of existing application and development, and the resource that only needs to revise the application that manufacturer oneself develops gets final product.Compared with prior art, the technical scheme that adopts the embodiment of the invention to provide, the influence that changed by the Android platform release to the operation of using and exploitation.
Embodiment 2:
The embodiment of the invention provides a kind of operating means of using down based on Android Android platform as shown in Figure 2, comprising: receiving element 201, search unit 202, performance element 203.
Receiving element 201 is used to receive the operational order that the user uses down the Android platform;
Search unit 202, be used for searching the applied business layer, with described operational order corresponding service interface;
Performance element 203 is used to carry out and the corresponding content of operation of described operational order corresponding service interface.
The technical scheme that adopts present embodiment to provide when the user operates using, only needs call operation corresponding service interface, gets final product complete operation; Manufacturer is in development of new applications, or during to the new operation of existing application and development, and the resource that only needs to revise the application that manufacturer oneself develops gets final product.Compared with prior art, adopt method provided by the invention, the influence that changed by the Android platform release to the operation of using and exploitation.
Based on a kind of operating means of using down based on Android Android platform that the foregoing description provides, an embodiment more of the present invention is described further the foregoing description:
Operational order described in the receiving element 201 and the corresponding relation of searching business interface described in the unit 202 are through preestablishing.The developer can setting operation order and the concrete corresponding relation of business interface in Application and Development or when application operating is set.
Search the corresponding relation of content of operation described in operational order corresponding service interface described in the unit 202 and the performance element 203, through preestablishing.The developer can setting operation order corresponding service interface and the concrete corresponding relation of content of operation in Application and Development or when application operating is set.
Searching that applied business layer described in the unit 202 encapsulated should be with whole described business interface.That is, the applied business layer is to have comprised whole operations that the Android platform should be used down with the set of business interface.
Further, search operation layer described in the unit 202 and be applicable to different Android versions.Be that operation layer does not change with the upgrading of Android version.
In sum, the technical scheme that adopts present embodiment to provide, the developer has preestablished the corresponding relation of operational order and business interface in Application and Development or when application operating is set, and the corresponding relation of business interface and execution content.When the user operates using, only need call operation corresponding service interface, get final product complete operation; Manufacturer is in development of new applications, or during to the new operation of existing application and development, and the resource that only needs to revise the application that manufacturer oneself develops gets final product.Compared with prior art, the technical scheme that adopts the embodiment of the invention to provide, the influence that changed by the Android platform release to the operation of using and exploitation.
Embodiment 3:
Based on the foregoing description, it is a kind of based on the concrete application of the method for operating of application down of Android Android platform that present embodiment provides, and as shown in Figure 3, comprising:
301, the user has carried out calendar application is added the operation that memorandum is reminded in the user interface of the terminal device that Android is housed.
Particularly, terminal device comprises mobile phone that Android is housed, panel computer etc.The user chooses calendar application in the user interface of described terminal when carrying out application operating, click and add the memorandum reminder option in the calendar application, can finish calendar and carry on the back the interpolation of reminding, and subsequent step is finished by terminal device.
Calendar UI (user interface) finishes the processing of calendar application UI and calendar UI interface logic, reaches collaborative (the realizing working in coordination with Intent) of same contact person, mail
302, terminal device receives the user adds the memorandum prompting to calendar application under the Android platform operational order.
Next, 303, in the calendar operation layer, search calendar application and add memorandum reminding business interface.Adding the corresponding relation that memorandum reminder option and calendar application are added memorandum reminding business interface in the calendar application, is predefined.
The calendar operation layer has encapsulated the interface of all data of user's action need, as the increasing of calendar data, delete, change, look into, operation such as tabulation.
Further, the present invention is independent with the business interface of each application, forms operation layer, and like this, application operating is reduced to the operation-interface that calls application.Operation layer is applicable to the different editions of Android, thereby has offset the influence of Android version variation to using.
Get off 304, execution and calendar application add memorandum and remind operation again.
Particularly, calendar application adds memorandum reminding business interface and calendar application is added the corresponding relation that memorandum is reminded operation, is predefined.
To sum up, calendar application-calendar operation layer-application memory layer.
CalendarProvider (calendar provides) data storage provides data query and interface operable in the mode of Android standard C ontentProvider (content provider) to calendar application.Simultaneously, this layer also is that other application provides the data query interface.
SQLite (light-duty database SQL ITE) database is preserved the storage of all business datums of calendar.
Need to prove that the method for operating of present embodiment scheme and principle go for other application (as contact person, note etc.) equally, are not giving unnecessary details at this.
In sum, the technical scheme that adopts present embodiment to provide, the developer has preestablished the corresponding relation of operational order and business interface in Application and Development or when application operating is set, and the corresponding relation of business interface and execution content.When the user operates using, only need call operation corresponding service interface, get final product complete operation; Manufacturer is in development of new applications, or during to the new operation of existing application and development, and the resource that only needs to revise the application that manufacturer oneself develops gets final product.Compared with prior art, the technical scheme that adopts the embodiment of the invention to provide, the influence that changed by the Android platform release to the operation of using and exploitation.
The embodiment of the invention is mainly used in, and the user also can be used for exploitation and upgrading to using simultaneously when the application under the terminal device Android platform is operated.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.

Claims (10)

1. a method of operating of using down based on Android Android platform is characterized in that, comprising:
Receive the operational order that the user uses down the Android platform;
Search in the applied business layer, with described operational order corresponding service interface;
Carry out and the corresponding content of operation of described operational order corresponding service interface.
2. a kind of method of operating of using down based on Android Android platform according to claim 1 is characterized in that:
The corresponding relation of described operational order and described business interface is through preestablishing.
3. a kind of method of operating of using down based on Android Android platform according to claim 1 is characterized in that:
The corresponding relation of described operational order corresponding service interface and described content of operation is through preestablishing.
4. a kind of method of operating of using down based on Android Android platform according to claim 1 is characterized in that:
Described applied business layer has encapsulated the described business interface that should use.
5. a kind of method of operating of using down based on Android Android platform according to claim 1 is characterized in that:
Described applied business layer is applicable to different Android versions.
6. an operating means of using down based on Android Android platform is characterized in that, comprising:
Receiving element is used to receive the operational order that the user uses down the Android platform;
Search the unit, be used for searching the applied business layer, with described operational order corresponding service interface;
Performance element is used to carry out and the corresponding content of operation of described operational order corresponding service interface.
7. a kind of operating means of using down based on Android Android platform according to claim 6 is characterized in that:
The corresponding relation of described operational order and described business interface is through preestablishing.
8. a kind of operating means of using down based on Android Android platform according to claim 6 is characterized in that:
The corresponding relation of described operational order corresponding service interface and described content of operation is through preestablishing.
9. a kind of operating means of using down based on Android Android platform according to claim 6 is characterized in that:
Described applied business layer has encapsulated the described business interface that should use.
10. a kind of operating means of using down based on Android Android platform according to claim 6 is characterized in that:
Described applied business layer is applicable to different Android versions.
CN2011101774684A 2011-06-28 2011-06-28 Operation method and device based on application under Android platform Pending CN102253833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101774684A CN102253833A (en) 2011-06-28 2011-06-28 Operation method and device based on application under Android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101774684A CN102253833A (en) 2011-06-28 2011-06-28 Operation method and device based on application under Android platform

Publications (1)

Publication Number Publication Date
CN102253833A true CN102253833A (en) 2011-11-23

Family

ID=44981113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101774684A Pending CN102253833A (en) 2011-06-28 2011-06-28 Operation method and device based on application under Android platform

Country Status (1)

Country Link
CN (1) CN102253833A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346348A (en) * 2013-07-25 2015-02-11 中兴通讯股份有限公司 Method and device for managing information
CN104400787A (en) * 2014-10-08 2015-03-11 艾尔发(苏州)自动化科技有限公司 Method for conveniently and rapidly using mechanical arm operation interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620536A (en) * 2009-08-17 2010-01-06 用友软件股份有限公司 Method and device for invoking performance function
CN101833467A (en) * 2010-05-14 2010-09-15 华为终端有限公司 Method and equipment for adding menu items into Android menu
CN101930366A (en) * 2010-08-27 2010-12-29 武汉天喻信息产业股份有限公司 Browser-based mobile phone middleware
CN101944022A (en) * 2010-09-03 2011-01-12 中国科学院软件研究所 UI object operation simulation method facing Android and derivative system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620536A (en) * 2009-08-17 2010-01-06 用友软件股份有限公司 Method and device for invoking performance function
CN101833467A (en) * 2010-05-14 2010-09-15 华为终端有限公司 Method and equipment for adding menu items into Android menu
CN101930366A (en) * 2010-08-27 2010-12-29 武汉天喻信息产业股份有限公司 Browser-based mobile phone middleware
CN101944022A (en) * 2010-09-03 2011-01-12 中国科学院软件研究所 UI object operation simulation method facing Android and derivative system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346348A (en) * 2013-07-25 2015-02-11 中兴通讯股份有限公司 Method and device for managing information
CN104400787A (en) * 2014-10-08 2015-03-11 艾尔发(苏州)自动化科技有限公司 Method for conveniently and rapidly using mechanical arm operation interface

Similar Documents

Publication Publication Date Title
KR102324286B1 (en) Application interface management method and device
KR101866221B1 (en) Integration for applications and containers
CN103902562B (en) A kind of terminal database upgrade method and relevant apparatus
CN102955694A (en) Client implementation method based on WebKit browser and client
CN102054217B (en) Entity morphing in metamodel-based tools
CN102855148A (en) Android-based startup management method
CN102810057A (en) Log recording method
CN103077161A (en) Copy and paste method and device and mobile terminal
CN101395580B (en) Reducing the size of computer executable code
CN106302915A (en) The intelligent dialing method of a kind of self-assisted voice service and terminal
CN102163156A (en) Mobile terminal icon replacing method and mobile terminal
CN104123155A (en) Business system page layer development platform and method based on WEB
CN113434063B (en) Information display method, device and equipment
CN104834715A (en) Website generating method and system based on components and container
WO2019139740A1 (en) Extensible input stack for processing input device data
CN111324398A (en) Recent content processing method, device, terminal and storage medium
CN102253833A (en) Operation method and device based on application under Android platform
CN101345933A (en) Dynamic alternation and loading/unloading method for mobile phone display font style and font size
CN103037107A (en) Label editing system and work method thereof for smart touch screen mobile phone
CN104731600A (en) Implementation method for Android system service plug-in
CN105893031B (en) Cache operation implementation method, service layer method calling method and device
CN107391274A (en) The processing method and processing device of deferred information
CN106201639A (en) A kind of replacing application drawing calibration method and terminal
EP3289451A1 (en) Cross-platform command extensibility
EP3853725A1 (en) Connected application experience

Legal Events

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

Application publication date: 20111123