02 2021 档案

摘要:1.注册 <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_pare 阅读全文
posted @ 2021-02-25 19:33 chenghaixinag 阅读(79) 评论(0) 推荐(0) 编辑
摘要:主页面也上次体温填报页面类似,在百度接口,时间获取上 主页面相关代码 time1= (TextView) findViewById(R.id.tv_time1);SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 阅读全文
posted @ 2021-02-24 22:32 chenghaixinag 阅读(12) 评论(0) 推荐(0) 编辑
摘要:登录界面相关代码 注册 阅读全文
posted @ 2021-02-23 22:22 chenghaixinag 阅读(21) 评论(0) 推荐(0) 编辑
摘要:1.上次的体温填报要求链接sqlite数据库 项目结构: 其中AppSqliteHelper链接数据库 UserDao链接表和相关方法 阅读全文
posted @ 2021-02-22 16:20 chenghaixinag 阅读(16) 评论(0) 推荐(0) 编辑
摘要:1.体温填报项目到此结束 2.遇到问题:app闪退:原因xml中的布局问题 地图无法显示: 没有这条代码positionText = (TextView)findViewById(R.id.position_text_view); 地图无法显示:没有开相应的权限 阅读全文
posted @ 2021-02-20 22:16 chenghaixinag 阅读(9) 评论(0) 推荐(0) 编辑
摘要:1.继续体温填报项目 在我xml布局中显示文本类型的地图代码: mLocationClient = new LocationClient((getApplicationContext())); mLocationClient.registerNotifyLocationListener((BDLoc 阅读全文
posted @ 2021-02-19 21:10 chenghaixinag 阅读(36) 评论(0) 推荐(0) 编辑
摘要:继续上次项目:这次项目难点在于对百度地图接口的调用 今天从网上学习了关于如何调用百度地图接口和相关的布局 百度地图包 然后从百度官网申请API KEY,详情https://blog.csdn.net/hanghang_/article/details/87207093 在项目里申请相关权限 阅读全文
posted @ 2021-02-18 20:08 chenghaixinag 阅读(20) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示