System API setting and calling method and system based on Android system platform calling
A system platform and integrated system technology, applied in the field of system API setting and calling based on the Android system platform call, can solve the problems that it takes several hours to complete the compilation, the software compilation cannot pass, and the efficiency is low, so as to reduce the compilation time, The effect of improving development efficiency and high reusability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Such as figure 1 As shown in the flowchart, this specific embodiment discloses a system API setting method based on the Android system platform call, and realizes the setting of the system API through the following steps:
[0029] Integrate the system API, integrate the system API that the main application needs to call into a service program; the service program only includes services, and the development of the service program is compiled using conventional service program development software in the prior art. The service program includes services for integrating system APIs, and the service program only includes services and does not include UI. The service specifically integrates the system-level API required by the main application, which is feasible, and the service is also provided with a monitoring service. Invoke the required system API by listening to the broadcast sent by the main application. Specifically, a Service service can be created in the service p...
Embodiment 2
[0033] This specific embodiment provides a kind of method based on Android system platform calling system API, realizes calling system API by following steps:
[0034] S01, open the service in the service program on the system platform where the system API is set by the setting method as described in claim 1; specifically, the specific process can be to integrate the system API first, and integrate the system API that the main application needs to call Into a service program, the integration method can be to create a Service service in the service program, and create a BroadcastReceiver broadcast in the service. The monitoring broadcast created is set in the onReceive() method to monitor the type respectively. The type refers to the type of system API that needs to be called, which is used to monitor the specified broadcast sent by the main application. The type implements the system API corresponding to the call.
[0035] The service program code only needs to be compiled on...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com