欢迎来到天天文库
浏览记录
ID:39696217
大小:46.53 KB
页数:49页
时间:2019-07-09
《源代码-前30页》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、鼎华文书档案扫描管理系统软件packagecom.kbn.mf.message;importjava.util.ArrayList;importjava.util.Date;importjava.util.HashMap;importjava.util.List;importorg.json.JSONException;importorg.json.JSONObject;importandroid.app.Activity;importandroid.content.BroadcastReceiver;importandroid.content.Context;importand
2、roid.content.Intent;importandroid.content.IntentFilter;importandroid.os.Bundle;importandroid.os.Handler;importandroid.os.Message;importandroid.text.Editable;importandroid.text.TextWatcher;importandroid.view.View;importandroid.widget.AdapterView;importandroid.widget.AdapterView.OnItemClickList
3、ener;importandroid.widget.EditText;importandroid.widget.ListView;importandroid.widget.TextView;importandroid.widget.Toast;importcom.kbn.mf.NetHospitalMainActivity;importcom.kbn.mf.nethospital.R;importcom.kbn.mf.adapter.MessageAdapter;/***文书档案*49鼎华文书档案扫描管理系统软件*/publicclassMessageActivityextend
4、sActivity{privatestaticfinalStringTAG=LogConsts.TAG_PREFIX+"MessageActivity";privatestaticfinalintPUSHMSG_RECEIVE_SUCCESS=0;//扫描文书privateListlistBasicData=newArrayList();//存放原始数据;privateArrayListlist=newArrayList();//存放临时数据privateListViewlistmes
5、sage;//消息列表privateEditTextet_search;//搜索框privateMessageAdapteradapter=null;publicTcpManangertcpManager=null;//tcp服务管理privateUserInfouserinfo=null;//用户信息privateMsgTcpCallbackcallback;//tcp消息回调privateMsgSummaryManagermanager=null;//消息推送数据库管理对象privateHashMapmapMessagInfo=nu
6、ll;privatestaticfinalStringActionName_TCPCLOSE="MessageActivity.MsgBroadCastReceiver.TCPClose";privatestaticfinalStringActionName="MessageActivity.MsgBroadCastReceiver";privatestaticfinalStringCleanEditext="clean.EdittextBroadCastReceiver";//清空文本框privateMsgBroadCastReceivermyBroadcase;//由于tab
7、控件中的Activity响应不了onResumeprivateHandlermhandler=newHandler(){@OverridepublicvoidhandleMessage(Messagemsg){//TODOAuto-generatedmethodstub//super.handleMessage(msg);switch(msg.what){casePUSHMSG_RECEIVE_SUCCESS://扫描文书后,刷新页面listBasicData=manager.g
此文档下载收益归作者所有