Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
assets
gen/com/edu/thss/smartdental
libs
res
src/com
.classpath
.gitignore
.project
AndroidManifest.xml
README.txt
ic_launcher-web.png
lint.xml
proguard-project.txt
project.properties
test.txt

README.txt

关于一些合并的接口:

LoginActivity在登录成功后会在sharedPreference里记录用户id和用户名。
在其它Activity获取sharedPreference信息的方式为:
import android.content.SharedPreferences;
SharedPreferences preferences = getSharedPreferences("setting", MODE_PRIVATE);
int userid = preferences.getInt("userid", -1);
String username = preferences.getString("username", "");

医生可以看到每个病人的详情。每个圈子的所有病人的列表在AllPatientActivity中实现,单击每个病人会跳转到其详情页面PatientInfoActivity。此病人的username保存在Intent的Extra中,通过getIntent().getStringExtra("patient_username")获取其username。
详见PatientInfoActivity.java

合作愉快,祝好!


nezharen

You can’t perform that action at this time.