From 0dcf7a67fec9cb98e3246951f3b10f51a31a84c9 Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期三, 19 二月 2020 11:39:28 +0800 Subject: [PATCH] app添加获取Context方法;修改学员信息数据库表;增加修改学员信息表的Work方法;收到服务器发回来的学员信息更新数据库表;注册成功之后的密码进行sp保存;tcp连接成功后,根据sp是否有密码来判断是进行注册还是鉴权 --- app/src/main/res/layout/layout_tcpclient.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/app/src/main/res/layout/layout_tcpclient.xml b/app/src/main/res/layout/layout_tcpclient.xml index d5c882a..f46c2d6 100644 --- a/app/src/main/res/layout/layout_tcpclient.xml +++ b/app/src/main/res/layout/layout_tcpclient.xml @@ -103,6 +103,12 @@ android:layout_marginEnd="10dp" android:id="@+id/btn_stop_exam" android:text="缁撴潫鑰冭瘯"/> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="10dp" + android:id="@+id/btn_keepalive" + android:text="蹇冭烦"/> </TableRow> </TableLayout> -- Gitblit v1.8.0