adajqd / adajqd.github.io Goto Github PK
View Code? Open in Web Editor NEWblog
Home Page: https://adajqd.github.io/
blog
Home Page: https://adajqd.github.io/
https://adajqd.github.io/2017/12/20/mosby-brief/
英文原文 这个library的名字,Mosby,是为了致敬著名电视连续剧 How I Met Your Mother 中的灵魂人物建筑师 Ted Mosby 。这个库的目的是帮助你用一个干净的Model-View-Presenter架构来构建先进的android应用程序。此外,Mosby通过引入 ViewState 和保留Presenters帮助您处理屏幕方向的更改。
在 Android 平台使用 AudioRecord 和 AudioTrack API 完成音频 PCM 数据的采集和播放,并实现读写音频 wav 文件。
使用 SSL 对 MQTT的消息交换进行加密,提高安全性。 服务端使用的是 EMQ v2.0 客户端使用的是 Eclipse Paho Android Service 服务器启用SSL我们需要数字证书来对进行ssl通信用户进行强认证。由于获得一个真正受外界信任的证书需要花费money,所有我们采用自签名证书。 要实现双向认证(服务器认证客户端、客户端认证服务器)我们需要3个证书,一个CA证书,
有些翻译仍不准确,会持续改进。 术语上游,下游RxJava中的数据流包括一个数据源、0个或多个中间步骤、一个数据消费者或组合子步骤(其中的步骤负责以某种方式使用数据流):123source.operator1().operator2().operator3().subscribe(consumer);source.flatMap(value -> source.operator1().o
先来看一下使用demo 12345678910111213Observable.create(new ObservableOnSubscribe<String>() { @OverRide public void subscribe(ObservableEmitter<String> emitter) throws Exception { emi
在 Android 平台绘制一张图片,使用至少 3 种不同的 API,ImageView,SurfaceView,自定义 View。
https://adajqd.github.io/2017/12/20/mosby-mvp/
英文原文 本文主要介绍 Model-View-Presenter (MVP)的原理,以及如何使用Mosby创建基于MVP的应用程序。 model 是将在视图(用户界面)中显示的数据。 view 是显示数据(model)并将用户命令(事件)传递到 Presenter 以对该数据执行操作的界面。view 通常对其Presenter有一个引用。 Presenter 是“中间人”(就像MVC中的cont
https://adajqd.github.io/2018/12/02/2018-12-2-Ubuntu%E7%B3%BB%E7%BB%9F%E7%BC%96%E8%AF%91ijkplayer/
系统:Ubuntu 16.04 64位 一定要安装64位系统,否则之后编译会出各种问题。 1. 下载NDK r10e12wget -q https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip && \unzip android-ndk-r10e-linux-x86_64.zip &a
使用docker基于Debian 官方镜像搭建ijkplayer编译环境,轻松执行各种编译指令,得到我们想要的各种库。
https://adajqd.github.io/2017/12/20/mosby-getting-started/
英文原文 这里有一些如何使用Mosby来建立一个基于MVP的架构的简单的例子。我们假设你已经知道“MVP - passive view”,如果不是,你应该考虑阅读 Mosby翻译(三) : MVP原理,以便在继续之前了解MVP的基本知识。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.