• 大小: 10MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-10
  • 语言: Java
  • 标签: android  time  网络时间  

资源简介

在Android开发中,有很多情况是需要获取网络时间的,以防止用户修改时间。此代码是获取网络时间代码。

资源截图

代码片段和文件信息

/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.project.currenttime;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.project.currenttime“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = 1;
  public static final String VERSION_NAME = “1.0“;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件           8  2018-10-29 16:28  app\.gitignore
     文件       13602  2018-10-29 16:43  app\app.iml
     文件         956  2018-10-29 16:28  app\build.gradle
     目录           0  2018-10-29 16:41  app\build\
     目录           0  2018-10-29 16:41  app\build\generated\
     目录           0  2018-10-29 16:41  app\build\generated\assets\
     目录           0  2018-10-29 16:41  app\build\generated\assets\shaders\
     目录           0  2018-10-29 16:41  app\build\generated\assets\shaders\debug\
     目录           0  2018-10-29 16:29  app\build\generated\res\
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-anydpi-v21\
     文件        5776  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-anydpi-v21\ic_launcher_background.xml
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-hdpi\
     文件         730  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-hdpi\ic_launcher_background.png
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-ldpi\
     文件         331  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-ldpi\ic_launcher_background.png
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-mdpi\
     文件         407  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-mdpi\ic_launcher_background.png
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-xhdpi\
     文件        1320  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-xhdpi\ic_launcher_background.png
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-xxhdpi\
     文件        3254  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-xxhdpi\ic_launcher_background.png
     目录           0  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-xxxhdpi\
     文件        4380  2018-10-29 16:29  app\build\generated\res\pngs\debug\drawable-xxxhdpi\ic_launcher_background.png
     目录           0  2018-10-29 16:29  app\build\generated\res\resValues\
     目录           0  2018-10-29 16:29  app\build\generated\res\resValues\debug\
     目录           0  2018-10-29 16:29  app\build\generated\res\rs\
     目录           0  2018-10-29 16:29  app\build\generated\res\rs\debug\
     目录           0  2018-10-29 16:41  app\build\generated\source\
     目录           0  2018-10-29 16:29  app\build\generated\source\aidl\
............此处省略1407个文件信息

评论

共有 条评论