当前位置: 首页 > wzjs >正文

h5网站开发软件下载信息系统开发方法

h5网站开发软件下载,信息系统开发方法,网站关键词怎么布局,商务网站开发设计一,概述 AndroidSDK36平台,新增了SettingsPreferenceService类,位于SDK中android.service.settings.preferences下,主要作用是提供系统应用对系统设置的交互,包括读取、设置系统设置的偏好能力。 整体架构图如下 该功能组件如下,采用CS架构,通过binder实现与设置的通信…

一,概述

AndroidSDK36平台,新增了SettingsPreferenceService类,位于SDK中android.service.settings.preferences下,主要作用是提供系统应用对系统设置的交互,包括读取、设置系统设置的偏好能力

整体架构图如下

该功能组件如下,采用CS架构,通过binder实现与设置的通信

客户端API集成在SettingsPreferenceServiceClient类中,目前提供了三个公开接口,

服务端抽象基类SettingsPreferencceService由系统设置实现,实现路径在aosp/packages/apps/Settings/src/com/android/settings/service下,Androidmanifest声明如下

服务端实现,是通过注解处理器,在Settings编译时,生成辅助类,随后通过*ValueRequest相关参数定位到具体偏好页面,即完成一次偏好读取|设置事务。

二,实例

以下是一个简单的实例,当绑定Service成功后,调用getAllPreferenceMetadata获取所有偏好信息,并且显示在List中,

package com.example.myapplication;import static android.service.settings.preferences.SettingsPreferenceValue.TYPE_BOOLEAN;import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.OutcomeReceiver;
import android.service.settings.preferences.GetValueRequest;
import android.service.settings.preferences.GetValueResult;
import android.service.settings.preferences.MetadataRequest;
import android.service.settings.preferences.MetadataResult;
import android.service.settings.preferences.SetValueRequest;
import android.service.settings.preferences.SetValueResult;
import android.service.settings.preferences.SettingsPreferenceMetadata;
import android.service.settings.preferences.SettingsPreferenceServiceClient;
import android.service.settings.preferences.SettingsPreferenceValue;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;import androidx.activity.ComponentActivity;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.util.Consumer;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;@SuppressLint("NewApi")
public class SettingsPreferenceServiceDemoActivity extends ComponentActivity {private static final String TAG = "SettingsPreferenceServiceDemoActivity";private boolean isConnect = false;private ExecutorServi

文章转载自:

http://1Vtc8G5k.sfwyp.cn
http://O2jmZ8Hm.sfwyp.cn
http://yHlm9hzF.sfwyp.cn
http://UZ8Mjeq3.sfwyp.cn
http://x3PMaXqq.sfwyp.cn
http://PzzR4BgT.sfwyp.cn
http://9W7kHDS7.sfwyp.cn
http://8WOt6lZv.sfwyp.cn
http://6Bh6XiuL.sfwyp.cn
http://He36HxdY.sfwyp.cn
http://SRhx9b9b.sfwyp.cn
http://XR3TP8J0.sfwyp.cn
http://dSgHbesL.sfwyp.cn
http://UAQXtHsu.sfwyp.cn
http://dd0eYS42.sfwyp.cn
http://V2RZ1Lbt.sfwyp.cn
http://MtGv4py9.sfwyp.cn
http://cSmNfPjm.sfwyp.cn
http://0nuCaaB1.sfwyp.cn
http://mmAagD0S.sfwyp.cn
http://70LV5VnG.sfwyp.cn
http://qjiv9r6F.sfwyp.cn
http://R7GNxgrC.sfwyp.cn
http://KbBe9077.sfwyp.cn
http://tKOHuGXW.sfwyp.cn
http://sewxYfgb.sfwyp.cn
http://ftjqmuQD.sfwyp.cn
http://q6pqLDqN.sfwyp.cn
http://NveLyyW8.sfwyp.cn
http://Ez5onKFc.sfwyp.cn
http://www.dtcms.com/wzjs/696162.html

相关文章:

  • 装修网站论坛做视频网站被判刑
  • 新建网站推广给企业北京海淀区算富人区吗
  • 网站建设和管理培训网站建设工作具体内容
  • 深圳网站公司祁连网站建设公司
  • 网站月流量北京网站建设公司如何排版
  • 深圳还有网站用html制作简易网页的教程
  • 网站建设实习报告范文图片转链接在线转换
  • 青岛做外贸网站上海兴业建设有限公司网站
  • 网站列表页怎么做内链无极网站招聘信息
  • 王烨小说主角无锡做网站优化
  • 网站ip和uv郑州建网站十大
  • 网站建设优酷环保主题静态网站模板下载
  • 青海医院网站建设公司专业建设网站外包
  • 深圳网站开发专业团队西安公众号开发
  • 山东省建设厅职业资格注册中心网站企业园区网络设计方案
  • 搭建网站教程视频wordpress4.9漏洞利用
  • 网站显示图片标记大连在建项目
  • 蒲城矿建设备制造厂网站5网站建站
  • 乐山网站seo营业执照注销
  • 网站图片批量上传电影网站建设需要什么软件
  • wordpress找回密码收不到邮件seo优化自动点击软件
  • 制作网站要步骤wordpress 多用户开启
  • 网站建设服务器介绍图片汕头网站设计多少钱
  • wordpress4.5图片偶尔不显示seo是什么意思电商
  • 大鹏手机网站建设微博推广费用
  • 嘉兴企业自助建站系统营销型网站建设解决方案
  • 网站运行维护方案学做西餐网站
  • 专业网站建设公司兴田德润放心东营建设信息网老网站
  • 社区做图网站有哪些内容wordpress数据库设置
  • wordpress没有找到站点永州企业网站建设价格