CN108881628A - The implementation method of Ethernet function under a kind of Android-X86 system - Google Patents

The implementation method of Ethernet function under a kind of Android-X86 system Download PDF

Info

Publication number
CN108881628A
CN108881628A CN201810585314.0A CN201810585314A CN108881628A CN 108881628 A CN108881628 A CN 108881628A CN 201810585314 A CN201810585314 A CN 201810585314A CN 108881628 A CN108881628 A CN 108881628A
Authority
CN
China
Prior art keywords
ethernet
under
android
increase
settings
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
CN201810585314.0A
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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics 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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201810585314.0A priority Critical patent/CN108881628A/en
Publication of CN108881628A publication Critical patent/CN108881628A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The present invention provides a kind of implementation method of Ethernet function under Android-X86 system, it is related to field of computer technology, the present invention increases the function of Ethernet setting by way of modifying Android-X86 source code in the setting menu of Android-X86 system, user is supported to automatically select the acquisition modes of network, the availability of user-friendly network and test equipment network interface.

Description

The implementation method of Ethernet function under a kind of Android-X86 system
Technical field
The present invention relates to a kind of realizations of Ethernet function under field of computer technology more particularly to Android-X86 system Method.
Background technique
Android Settings includes the switch of the basic adjustment and function of mobile phone or plate items attribute, is user's root The entrance for the most convenient that mobile phone or plate are customized according to personal preference and user frequency of use highest in daily life One of module.Therefore, its stability, modification customization, it is particularly important for developer.Primary Android4.0 with In system afterwards, setting is divided into four parts:
(1)WIRELESS&&NETWORKS:SIM card management, flow service condition, offline mode, VPN, network share etc..
(2)DEVICE:Contextual model is shown, is stored, battery, application program.
(3)PERSONAL:Account is backed up and is reset with synchronous, location-based service, safe, language and input method.
(4)SYSTEM:Date and time, time switch and, miscellaneous function, developer's option, about mobile phone.
Settings is present in cell phone system in the form of application Settings.apk in fact.In Google source code In path be:packages/apps/Settings.
The display of Settings first order menu is mainly by wrapping below com.Android.settings Settings.java is responsible for control.In the packet in the following, further comprising the control class of some other function setting option, such as DisplaySettings.java etc., other packets are just basic it can be seen that being specifically responsible for the control of corresponding function module from packet name.
Settings first order menu is a ListView, each item is made of a Header, entirely List is adapted to by HeaderAdapter.When adaptation, the icon and title of Header can be taken out, Summary etc. is simultaneously put into HeaderViewHolder, followed by the monitoring to each item, when clicking an item, It jumps in the corresponding Fragment of specific module.
Android X86 is the Android operation system run on X86 PC, has supported most peace at present Zhuo Chengxu.Android X86 platform is to preside over design by Beyounn and Cwhuang.It needs to provide for X86 platform a set of complete Whole android system solution.
Summary of the invention
In order to solve the above technical problems, the invention proposes Ethernet functions under a kind of Android-X86 system Implementation method.Increase Ethernet in the setting menu of Android-X86 system by way of modifying Android-X86 source code The function of setting supports that user automatically selects the acquisition modes of network, user-friendly network and test equipment network interface can The property used.
The present invention increases " Ethernet setting " option first under " Settings " menu of Android-X86 system;Its It is secondary, realize the setting function of Ethernet.
Mainly comprise the following steps the following contents:
1, increase the interface of " Ethernet " setting first under settings menu:In packages/apps/
Under res resource folder under Settings, increase the xml document and the relevant file of variable of " Ethernet " layout.
2, the basic function of " Ethernet " set interface under settings menu is realized:In packages/apps/
Under src source files of program folder under Settings, increase the java file of " Ethernet " set interface basic function.
3, increase associated documents, the modification associated documents of Ethernet at core layers of Framework service and: Then the file that ethernet is created first under framework/base catalogue is realized the management of " Ethernet ", service, is led to Believe interface etc..
4, the display function of Ethernet icon is realized at SystemUI layers of Framework:In frameworks/base/ Increase relevant icon under packages/SystemUI/res catalogue.
5, the files such as relevant Android.mk are modified.
Detailed description of the invention
Fig. 1 is the implementation flow chart of 1 ethernet feature;
Fig. 2 is the process for using figure of ethernet feature.
Specific embodiment
More detailed elaboration is carried out to the contents of the present invention below:
The present invention is based on the plates of i7-3517 processor, but implementation method is not limited only to this, and main implementation method is as follows:
1, into the Setiings source code catalogue of Android-X86, i.e. packages/apps/Settings catalogue, first The layout file and correlated variables file that " Ethernet " setting is added under res catalogue write phase secondly under src catalogue The java file of pass realizes the basic function of " Ethernet " set interface;
2, increase associated documents, the modification associated documents of Ethernet at core layers of Framework service and:(1) it repairs Change frameworks/base/Android.mk, increases the aidl file of Ethernet;(2) ethernet catalogue is created, is compiled herein Code realizes the functions such as service, the manager of " Ethernet ";
3, the display function of Ethernet icon is realized at SystemUI layers of Framework:Display icon of successful connection etc.;
4, build/core/pathmap.mk file is modified, is added at " FRAMEWORKS_BASE_SUBDIRS " " ethernet " catalogue.

Claims (5)

1. the implementation method of Ethernet function under a kind of Android-X86 system, which is characterized in that including two aspect,
Increase " Ethernet setting " option first under " Settings " menu of Android-X86 system;
Secondly, realizing the setting function of Ethernet.
2. the method according to claim 1, wherein
Increase Ethernet setting in the setting menu of Android-X86 system by way of modifying Android-X86 source code Function, support user to automatically select the acquisition modes of network.
3. according to the method described in claim 2, it is characterized in that,
Concrete operation step is:
1), first under settings menu increase " Ethernet " setting interface:In packages/apps/
Under res resource folder under Settings, increase the xml document and the relevant file of variable of " Ethernet " layout;
2), realize settings menu under " Ethernet " set interface basic function:In packages/apps/
Under src source files of program folder under Settings, increase the java file of " Ethernet " set interface basic function;
3), core layers of Framework service and increase Ethernet associated documents, modification associated documents;
4), SystemUI layers of Framework realize Ethernet icon display function:In frameworks/base/ Increase relevant icon under packages/SystemUI/res catalogue;
5), the relevant Android.mk file of modification.
4. according to the method described in claim 2, it is characterized in that,
Step 3)Operation content be:The file of ethernet is created first under framework/base catalogue, it is then real Management, the service, communication interface of existing " Ethernet ".
5. according to the method described in claim 2, it is characterized in that,
Step 5)In, build/core/pathmap.mk file is modified, is added at " FRAMEWORKS_BASE_SUBDIRS " " ethernet " catalogue.
CN201810585314.0A 2018-06-08 2018-06-08 The implementation method of Ethernet function under a kind of Android-X86 system Pending CN108881628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810585314.0A CN108881628A (en) 2018-06-08 2018-06-08 The implementation method of Ethernet function under a kind of Android-X86 system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810585314.0A CN108881628A (en) 2018-06-08 2018-06-08 The implementation method of Ethernet function under a kind of Android-X86 system

Publications (1)

Publication Number Publication Date
CN108881628A true CN108881628A (en) 2018-11-23

Family

ID=64337549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810585314.0A Pending CN108881628A (en) 2018-06-08 2018-06-08 The implementation method of Ethernet function under a kind of Android-X86 system

Country Status (1)

Country Link
CN (1) CN108881628A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073268A (en) * 2020-09-10 2020-12-11 广东天波信息技术股份有限公司 Ethernet connectivity detection method and device based on android system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079596A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Remote wakeup method and device
US20150067196A1 (en) * 2013-09-04 2015-03-05 Red Hat, Inc. Portable computing device providing operating system for host devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079596A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Remote wakeup method and device
US20150067196A1 (en) * 2013-09-04 2015-03-05 Red Hat, Inc. Portable computing device providing operating system for host devices

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIUYIDENNY: "Android2.3.4系统添加Ethernet框架支持(含去除状态栏信号图标及增加屏幕超时"永不关屏"选项)", 《HTTPS://BLOG.CSDN.NET/LIUYIDENNY/ARTICLE/DETAILS/7175908》 *
愚蠢概念_480: "android 2.3 ethernet", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_5CE6489C0100XUZ6.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073268A (en) * 2020-09-10 2020-12-11 广东天波信息技术股份有限公司 Ethernet connectivity detection method and device based on android system

Similar Documents

Publication Publication Date Title
KR101105176B1 (en) Method of supplying content to a device
CN110058863A (en) Construction method, device, equipment and the storage medium of Docker container
JP4909591B2 (en) System and method for creating and communicating with component-based wireless applications
CN110187912B (en) Node selection method and device
KR20180137554A (en) PATCH UPGRADE BASED FILE PROCESSING METHOD AND DEVICE, TERMINAL,
US20150302073A1 (en) Method and system for cross-platform application cloning
CN104750487B (en) A kind of development approach and starting method of mobile terminal APP
WO2016145747A1 (en) Smart gateway functional plug-in management method, client terminal and system
WO2012022835A2 (en) Method and apparatus for managing application resources via policy rules
JP2007523419A6 (en) How to supply content to a device
WO2006071338A1 (en) Apparatus and method for managing security policy information using a device management tree
CN104636122B (en) The sharing method and equipment of a kind of capability component
CN101557584A (en) Method for realizing application authority control of mobile terminal and device
CN106339273A (en) Application program restoration method, terminal and server
CN108647107A (en) Unified exception handling method for micro-service development framework
CN108089873A (en) A kind of method and terminal of application component immediate updating
CN111316230B (en) Method and equipment for generating patch package
US10175851B2 (en) Methods, management servers, and computer program products for managing network devices
WO2013170801A1 (en) Device management method and apparatus
CN106484452A (en) A kind of unified configuring management method of software platform and device
CN108881628A (en) The implementation method of Ethernet function under a kind of Android-X86 system
CN105700900B (en) A kind of method and device optimizing wireless lan function
CN109857374B (en) Development method and device of mobile application
US20080311950A1 (en) Device for communicating in multiple modes using multi-mode applications
KR20110123513A (en) Web application executable device and method with page association function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20181123