#资源达人分享计划# 安卓自定义自动定时开关机app原生Android源代码 适用于所有现有机型

上传者: meimeieee | 上传时间: 2021-08-05 22:00:15 | 文件大小: 2.49MB | 文件类型: ZIP
1、关于关机:你可以使用 android 系统的关机功能,也可以发送广播 Intent intent_shutdown = new Intent("wits.com.simahuan.shutdown"); 2、发送设置时间:计算现在的时间和设定开机的时间差值,转换为秒,以字节的形式发送过 去。 比如设置开机时间是明天 08:00,当前时间为 18:00 ,这个时间差就是:max = 14 个小时 = 14*60*60 ,这个 max 时间差值,将 max 转换 byte 型发送。 3、每一次进入系统都要更新计算距离定时开机的时间差值,再发送过去。 4、如果到了系统开机时间,而系统还在运行,这个时候还需要重新更新发送时间差值。 5、我们单片机是运行原理的接收到 APK 设置的时间差值,倒计时触发开机动作。 6、往单片机设置时间,一定进行容错处理。

文件下载

资源详情

[{"title":"( 85 个子文件 2.49MB ) #资源达人分享计划# 安卓自定义自动定时开关机app原生Android源代码 适用于所有现有机型","children":[{"title":"openCloseMachine2.0","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 2.30MB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"R.txt <span style='color:#111;'> 48.25KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v7-appcompat-02f1d49fc4c6652a54514098966e5e11.jar <span style='color:#111;'> 206.18KB </span>","children":null,"spread":false},{"title":"android-support-v7-appcompat-2a34c712a7b09269fae471683f565885.jar <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"android-support-v4-3ed5e1df6bded69547d2870371e3f81a.jar <span style='color:#111;'> 421.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R$layout.class <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 15.41KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"openclosemachine","children":[{"title":"MainActivity.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"openCloseMCActivity.class <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"openCloseMCActivity$ReadThread.class <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"openCloseMCActivity$2.class <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"openCloseMCActivity$3.class <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"openCloseMCActivity$1.class <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"zcBoard.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 15.76KB </span>","children":null,"spread":false},{"title":"openCloseMCActivity$WriteTask.class <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 14.77KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"wits","children":[{"title":"serialport","children":[{"title":"SerialPort.class <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 349.96KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"openCloseMachine.apk <span style='color:#111;'> 1007.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 182B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 699B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"listview.xml <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"activity_open_close_machine.xml <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R.java <span style='color:#111;'> 64.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"openclosemachine","children":[{"title":"BuildConfig.java <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 349.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"openclosemachine","children":[{"title":"openclosemachine.rar <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"openCloseMCActivity.java <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"zcBoard.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"wits","children":[{"title":"serialport","children":[{"title":"SerialPort.java <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"openCloseMachine2.0.iml <span style='color:#111;'> 344B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"armeabi","children":[{"title":"libserial_port.so <span style='color:#111;'> 13.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"lint.xml <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • cc9707 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-08-19

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明