# Identity_AS **Repository Path**: speedata_1/Identity_AS ## Basic Information - **Project Name**: Identity_AS - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-06-22 - **Last Updated**: 2025-12-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.添加依赖仓库 ``` maven { url 'https://bj.speedata.cn:8443/repository/maven-releases/' } ``` 2.添加依赖 ``` implementation 'com.spd.id2:Id2:2.3.5' ``` 3.SDK方法列表 ``` //初始化 IdManager.getInstance().initDev(context, idReadCallBack); //释放资源 IdManager.getInstance().releaseDev(); ``` 4.获取模块初始化回调 ``` @Override @SuppressLint("SetTextI18n") public void onId2ConfigLoad(boolean success) { config.setText("配置加载" + (success ? "成功" : "失败")); } ``` 5.获取身份证数据回调 ``` @Override public void onReadId2(CardInfo cardInfo) { } ``` ## 注意事项 身份证DEMO自2.3.3版本之后,需要安装版本号15.1.1之后的小拓之家 北京思必拓科技股份有限公司 网址 http://www.speedata.cn/