• 大小: 1.45MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-14
  • 语言: Java
  • 标签: Androidxml  

资源简介

本人在Android中学习到备份短信时,需求是这样的,需要将短信备份到xml文件中.踩到一个坑,当XmlSerializer遇到emoji表情时,就会出错,保存xml文件就会失败.最后谷歌找了个别人写的KXmlSerializer(),完美解决这个问题.demo中有完整代码

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.itheima.smsbackup;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-02-02 22:08  3.短信备份\
     文件         475  2017-02-02 16:36  3.短信备份\.classpath
     文件         850  2017-02-02 16:36  3.短信备份\.project
     文件        1398  2017-02-02 21:00  3.短信备份\AndroidManifest.xml
     目录           0  2017-02-02 16:36  3.短信备份\assets\
     目录           0  2017-02-02 22:08  3.短信备份\bin\
     文件      286558  2017-02-02 21:46  3.短信备份\bin\3.短信备份.apk
     文件        1398  2017-02-02 21:00  3.短信备份\bin\AndroidManifest.xml
     目录           0  2017-02-02 22:08  3.短信备份\bin\classes\
     文件      709828  2017-02-02 21:46  3.短信备份\bin\classes.dex
     目录           0  2017-02-02 22:08  3.短信备份\bin\classes\com\
     目录           0  2017-02-02 22:08  3.短信备份\bin\classes\com\itheima\
     目录           0  2017-02-02 22:08  3.短信备份\bin\classes\com\itheima\smsbackup\
     目录           0  2017-02-02 22:08  3.短信备份\bin\classes\com\itheima\smsbackup\bean\
     文件        1666  2017-02-02 21:17  3.短信备份\bin\classes\com\itheima\smsbackup\bean\Sms.class
     文件         351  2017-02-02 21:17  3.短信备份\bin\classes\com\itheima\smsbackup\BuildConfig.class
     文件       10069  2017-02-02 21:46  3.短信备份\bin\classes\com\itheima\smsbackup\KxmlSerializer.class
     文件        1166  2017-02-02 21:17  3.短信备份\bin\classes\com\itheima\smsbackup\MainActivity$1.class
     文件        4063  2017-02-02 21:17  3.短信备份\bin\classes\com\itheima\smsbackup\MainActivity.class
     文件         349  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$attr.class
     文件         470  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$dimen.class
     文件         416  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$drawable.class
     文件         435  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$id.class
     文件         449  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$layout.class
     文件         397  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$menu.class
     文件         481  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$string.class
     文件         440  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R$style.class
     文件         703  2017-02-02 21:38  3.短信备份\bin\classes\com\itheima\smsbackup\R.class
     目录           0  2017-02-02 22:08  3.短信备份\bin\classes\com\itheima\smsbackup\utils\
     文件        3683  2017-02-02 21:52  3.短信备份\bin\classes\com\itheima\smsbackup\utils\SmsUtils$1.class
     文件        1008  2017-02-02 21:52  3.短信备份\bin\classes\com\itheima\smsbackup\utils\SmsUtils.class
............此处省略60个文件信息

评论

共有 条评论

相关资源