原文地址:https://medium.com/@devfire/how-to-become-a-devops-engineer-in-six-months-or-less-part-3-version-76034885a7ab 原文作者:Igor Kantor 翻译君:CODING 戴维奥普斯 "Close-up of a backlit laptop keyboard" by Markus Petritz on Unsplash 快速回顾 让我们快速回顾一下前文: 简而言之,这个系…
1.什么是Service? Service是Android四大组件中与Activity最相似的组件,它们都代表可执行的程序,Service与Activity的区别在于:Service一直在后台运行,它没有用户界面,所以绝不会到前台来.一旦Service被启动起来,它就与Activity一样.它完全具有自己的生命周期. A Service is an application component that can perform long-running operations in the back…
Part one: 首先看这样一段代码 SQLiteDatabase db=openOrCreateDatabase("SQLDemo.db", MODE_PRIVATE,null); //创建表 String create_sql="create table if not exists SQLTb(_id integer primary key autoincrement,name text not null,sex text not null,age integer no…