DoubleWay Blog

Thinking will not overcome fear but action will.

简单利用python爬取网站数据

简单利用python爬取网站数据 import requests page=requests.get('https://www.baidu.com/') print(page.text) 首先就是这最简单的这三行python代码 import request导入我们需要的功能模块,request的功能就是我们向互联网发送请求和获取数据的 page=requests.get(‘htt...

Settings某些菜单项的定义

Settings某些菜单项的定义 在Settings里面,正常的二级菜单或者三级菜单是直接在当前界面的布局文件里面定义的,所以可以找到。但是某个二级或者三级菜单里面的preference,在本菜单的布局文件里面没有定义,被定义在Androidmanifest.xml中,它又是如何匹配到二级,或三级菜单里面去的呢。 比如,在Connected devices–>Connection ...

K560_MTK6761_Q_Go Settings模块 Storage

Storage 从一级菜单的布局文件top_level_settings.xml文件可以看到: <Preference android:key="top_level_storage" android:title="@string/storage_settings" android:summary="@string/summary_placeholder" ...

K560_mtk6761_q_go_settings模块 wiko features(三)

项目:K560_MTK6761_Q_Go 修改设置–>Network&internet–>SIM cards 路径: /home/android/work2/k560_wik_fr/android/vendor/mediatek/proprietary/packages/apps /MtkSettings/src/com/android/settings/sim/S...

K560_MTK6761_Q_Go_Settings模块 wiko features(二)

主屏幕设置(Home settings) <Preference android:key="homescreen_management" android:title="@string/wios_feature_display_home_screen_management_title" android:icon="@drawable/ic_home_sett...

K560_MTK6761_Q_Go_Settings模块 wiko features(一)

wiko features 设置里的wiko features主要就是一些wiko的需求功能。 从刚才的top_level_settings.xml资源文件可以看到,和wiko features相关的主要是WiosFeatureDashboardFragment和TopLevelWiosFeaturePreferenceController。 WiosFeatureDashboardF...

K560_MTK6761_Q_Go_Settings模块

项目:K560_MTK6761_Q_Go settings模块还是要从AndroidManifest.xml出发,MTK的项目一般会用自己的MTKSettings 可以看到,Android Q项目的settings模块和之前的差别还是很明显的。 Android Q: <!-- Alias for launcher activity only, as this belongs t...

更改360launcher的布局

更改360launcher的布局 360launcher的布局文件和原生的launcher的布局文件不一样,不是一个xml文件,而是一个db数据库文件,路径在: /device/360OS/product/k110/mcl_mtn_za_af 里面的favorite.db文件 要修改它,不像xml文件一样修改参数,而是手机拖动图标后,pull手机的db文件到项目中替换,手机中db文件...

差分包命令

差分包命令 6739 N ./build/tools/releasetools/ota_from_target_files -s ./device/mediatek/build/releasetools/mt_ota_from_target_files --block -i source.zip target.zip update.zip 6739 O** ./build/tools...

Telephony--Uicc业务框架了解

Telephony–Uicc业务框架了解 手机使用的SIM卡统称UICC(Universal Integrated Circuit Card)有数据存储的能力(保存通讯录),并有唯一的ID(ICCID)都具备运营标识(MCC/MNC)MCC(Mobile country code)MNC(Mobile NetWork code),其本身也是一个文件系统,因为储存数据的位置不同分为不同的种类...