logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Android JSON基础,移动开发技术

1.几个例子1.例子:Array里面包含对象(object)[{“id”:1,“name”:“小猪”,“age”:22},{“id”:2,“name”:“小猫”,“age”:23}]Array里面的对象数据是有序的,json字符串最外层是方括号的,方括号:[ ]解析jsonArray代码try {//json字符串最外层是方括号时:JSONArray jsonArray = new JSONArr

#面试#android#移动开发
Android ActivityManager常用方法,移动端网页开发工具

ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);ComponentName componentName = activityManager.getRunningTasks(1).get(0).topActivity;return Build.

#面试#android#移动开发
27,android程序设计基础

{ui->setupUi(this);//初始化操作udpSocket = new QUdpSocket(this);//用户名获取uName = name;//端口号this->port = 9999;//绑定端口号绑定模式共享地址,断线重连udpSocket->bind(this->port,QUdpSocket::ShareAddress |QUdpSocket::R

#面试#android#移动开发
Android Studio上Kotlin的入门,进阶加薪全靠它

在 2019 年 Google I/O 大会上,他们宣布今后将优先采用 Kotlin 进行 Android 开发。如今,超过 60 款 Google 应用是用 Kotlin 构建的,其中包括 Google 地图、Google Home、Google Play 和 Google 云端硬盘等应用。根据 Google 的说法,Google Play 商店前 1000 个应用中有 60% 以上也使用 Ko

#面试#移动开发#android
到底了