package com.xboa.app.activity;
import java.io.IOException;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Field;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import cn.jpush.android.api.JPushInterface;
import com.xboa.app.activity.R;
import com.xboa.custom.NetworkProber;
import com.xboa.download.HttpDownloader;
import com.xboa.http.ApacheHttpClient;
import com.xboa.untils.ConfigInfo;
import com.xboa.untils.IsConnByHttp;
import com.xboa.untils.OpenIntent;
import com.xboa.xml.handler.RouterlistHandler;
import com.xboa.xml.handler.UserlistHandler;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.StrictMode;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
public class WaittransactInfoActivity extends Activity {
private static final int LISTALERT = 0;
private static final int SUCCESSAFTER = 2;
private final static int SUBMIT_CODE = 1;
private final static int SAVE_CODE = 2;
protected static final int PERSONCHOOSE_CODE = 3;
protected static final int OTHERPERSONCHOOSE_CODE = 5;
protected static final int END = 6;
// 意见信息
private final static int YIJIAN = 4;
public String[] opinions;
public String selectedStr = "";
public String selectedNameStr = "";
private static final String TAG = "WaittransactInfoActivity";
private TextView statusTextView;
private ProgressDialog progressDialog;
private TextView txtF_title = null;
private TextView txtF_person = null;
private TextView txtF_createtime = null;
private TextView txtF_yijians = null;
private TextView txtF_tixieyijian = null;
private TextView txtF_yijian = null;
private TextView txtF_opinion = null;
private TextView txtF_otherinfo = null;
private TextView txtF_otherinfos = null;
private TextView txtF_yuanhao = null;
private TextView txtF_lwjg = null;
private TextView txtF_sdsj = null;
private TextView txtF_yuanhaos = null;
private TextView txtF_lwjgs = null;
private TextView txtF_sdsjs = null;
private TextView txtF_username = null;
private LinearLayout lltF_ztc = null;
private LinearLayout lltF_yuanhao = null;
private LinearLayout lltF_lwjg = null;
private LinearLayout lltF_sdsj = null;
private LinearLayout llt_fujian = null;
private LinearLayout llt_yijian = null;
private LinearLayout txtF_tixieyijianother = null;
private LinearLayout llt_tianxieyijian = null;
private LinearLayout lltF_Zhengwen = null;
private EditText editF_yijian = null;
private Button btnsubmit = null;
private Button btnbefor = null;
private Button btnreadzw = null;
private Button btnreadfj = null;
private ApacheHttpClient httpClient = new ApacheHttpClient();
private List<HashMap<String, String>> objects = null;
private String flowLogId = "";
private String workId = "";
private String flowid = "";
private String textareaid = "";
private String userid = "";
private String username = "";
private String routerId = "";
private String routerIdValue = "";
private String title = "";
private String readzwid = "";
private String tablename = "";
public String[] Routerids;
public String[] Routernames;
boolean[] selected = new boolean[200];
String[] selectedids = new String[200];
String[] selectednames = new String[200];
String roteridsstr = "";
String roternamesstr = "";
String successpersons = "";
public String[] choosepersons;
public String[] choosepersonnames;
private List<HashMap<String, String>> fujians = null;// 附件
private String f_name = "";
private String f_url = "";
private boolean[] fujianFlag = new boolean[10];
private String[] fujianTitle = new String[10];
private String[] fujianUrl = new String[10];
private TextView txtF_file1 = null;
private TextView txtF_file2 = null;
private TextView txtF_file3 = null;
private TextView txtF_file4 = null;
private TextView txtF_file5 = null;
private TextView txtF_file6 = null;
private TextView txtF_file7 = null;
private TextView txtF_file8 = null;
private TextView txtF_file9 = null;
private TextView txtF_file10 = null;
private TextView txtZhengwen = null;
private TextView txtF_zhengwen = null;
private String flag = "";
/**
* 用Handler来更新UI
*/
@SuppressWarnings("unused")
private Handler handler = new Handler() {
@Override
public void handleMessage(Message msg) {
// 关闭ProgressDialog
progressDialog.dismiss();
// 更新UI
statusTextView.setText("Completed!");
}
};
@Override
protected void onPause() {
super.onPause();
JPushInterface.onPause(this);
}
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.waittransactinfo);
if (android.os.Build.VERSION.SDK_INT > 9) {
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder()
.permitAll().build();
StrictMode.setThreadPolicy(policy);
}
Log.i(MainActivity.TAG, "WaittransactInfoActivity-->onCreate");
MainActivity.activityList.add(WaittransactInfoActivity.this);
super.onCreate(savedInstanceState);
Intent intent = getIntent();
Bundle bundle = intent.getExtras();
String sendperson = bundle.getString("sendperson");
title = bundle.getString("title");
String titleSecond = bundle.getString("titleSecond");
String createtime = bundle.getString("createtime");
flowLogId = bundle.getString("flowLogId");
workId = bundle.getString("workId");
flowid = bundle.getString("flowid");
String textarea = bundle.getString("textarea");
textareaid = bundle.getString("textareaid");
String readzw = bundle.getString("readzw");
readzwid = bundle.getString("readzwid");
tablename = bundle.getString("tablename");
SharedPreferences pres = WaittransactInfoActivity.this
.getSharedPreferences("userinfo", Context.MODE_PRIVATE);
userid = pres.getString("userid", "Null");
username = pres.getString("username", "Null");
txtZhengwen = (TextView) findViewById(R.id.txtZhengwen);
txtF_zhengwen = (TextView) findViewById(R.id.txtF_zhengwen);
txtF_zhengwen.setText("文件正文.doc");
txtF_zhengwen.setOnClickListener(zhengwenClick);
txtF_file1 = (TextView) findViewById(R.id.txtF_file1);
txtF_file2 = (TextView) findViewById(R.id.txtF_file2);
txtF_file3 = (TextView) findViewById(R.id.txtF_file3);
txtF_file4 = (TextView) findViewById(R.id.txtF_file4);
txtF_file5 = (TextView) findViewById(R.id.txtF_file5);
txtF_file6 = (TextView) findViewById(R.id.txtF_file6);
txtF_file7 = (TextView) findViewById(R.id.txtF_file7);
txtF_file8 = (TextView) findViewById(R.id.txtF_file8);
txtF_file9 = (TextView) findViewById(R.id.txtF_file9);
txtF_file10 = (TextView) findViewById(R.id.txtF_file10);
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
OA办公系统app (395个子文件)
proguard.cfg 1KB
WaittransactInfoActivity.class 28KB
UserLoginActivity.class 10KB
UserlistActivity.class 10KB
ElectroniclistActivity.class 10KB
FwglInfoActivity.class 9KB
SwglInfoActivity.class 9KB
ElectornicInfoActivity.class 9KB
WaittransactActivity.class 9KB
SelectUser.class 8KB
Bmfw.class 8KB
phonelistActivity.class 7KB
UpdateManager.class 7KB
FwgllistActivity.class 7KB
SwgllistActivity.class 7KB
ConfigInfo.class 7KB
AdjunctlistActivity.class 7KB
R$id.class 7KB
MainActivity.class 7KB
SuperTreeViewAdapter.class 5KB
test.class 5KB
OpenIntent.class 5KB
ConfigInfoActivity$1.class 4KB
NoteGroupActivity.class 4KB
Dzgg.class 4KB
ParseXmlService.class 4KB
UserlistActivity$1.class 4KB
ExampleUtil.class 4KB
WaittransactInfoActivity$15.class 4KB
WaittransactInfoActivity$7.class 4KB
FwglInfoActivity$5.class 4KB
SwglInfoActivity$4.class 4KB
TreeViewAdapter.class 4KB
MainActivity$3.class 4KB
FileUtils.class 4KB
Activity.class 4KB
BasicHttpClient.class 4KB
NoteGroupActivity$3.class 3KB
ElectroniclistHandler.class 3KB
NoteGroupActivity$1.class 3KB
WaittransactInfoActivity$17.class 3KB
UpdateManager$downloadApkThread.class 3KB
MyAdapter.class 3KB
WebViewActivity.class 3KB
HttpDownloader.class 3KB
FwglInfoActivity$2.class 3KB
ElectornicInfoActivity$2.class 3KB
WaittransactlistHandler.class 3KB
Bmfw$1.class 3KB
SelectUser$1.class 3KB
FwgllistHandler.class 3KB
Box$2.class 3KB
SwgllistHandler.class 3KB
ConfigInfoActivity.class 3KB
UserlistActivity$2.class 3KB
ConfigInfoHandler.class 3KB
ApacheHttpClient.class 3KB
ParseXmlServiceHandler.class 3KB
UserInfoHandler.class 3KB
WaittransactInfoActivity$2.class 3KB
SearchSwglActivity$1.class 3KB
UserlistHandler.class 3KB
AdjunctlistHandler.class 3KB
RouterlistHandler.class 3KB
FilelistHandler.class 3KB
SavePwdHandler.class 3KB
InfoListHandler.class 3KB
MyReceiver.class 3KB
WaittransactInfoActivity$12.class 3KB
PictureAdapter.class 3KB
BmfwShow.class 2KB
SelectUser$2.class 2KB
SearchFwglActivity$1.class 2KB
FwglInfoActivity$1.class 2KB
NetworkProber.class 2KB
test$18.class 2KB
SQLiteActivity$queryListener.class 2KB
SearchFwglActivity.class 2KB
SearchSwglActivity.class 2KB
WelcomeActivity.class 2KB
test$16.class 2KB
WaittransactInfoActivity$4.class 2KB
DownloadService.class 2KB
SQLiteActivity.class 2KB
phonelistActivity$1.class 2KB
SQLiteActivity$updateListener.class 2KB
R$drawable.class 2KB
test$15.class 2KB
test$14.class 2KB
R$layout.class 2KB
DownloadService$DownloadThread.class 2KB
SQLiteActivity$delListener.class 2KB
SAXStudentService.class 2KB
ContentInfoHandler.class 2KB
WelcomeActivity$AddTask.class 2KB
test$13.class 2KB
SQLiteActivity$addListener.class 2KB
R$string.class 2KB
DatabaseHelper.class 2KB
WaittransactInfoActivity$10.class 2KB
共 395 条
- 1
- 2
- 3
- 4
资源评论
clj2011
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功