package com.student.search;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
import com.example.login.CommonAction;
import com.example.login.HttpUtilsHttpURLConnection;
import com.example.login.R;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
public class InterestActivity extends AppCompatActivity implements CompoundButton.OnCheckedChangeListener {
private RadioGroup tagGroup;
private RadioButton practice, part_time, both;
private CheckBox m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11;
private CheckBox m12,m13,m14,m15,m16,m17,m18,m19,m20,m21,m22,m23,m24;
private CheckBox c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11;
private CheckBox c12,c13,c14,c15,c16,c17,c18,c19,c20,c21;
private CheckBox d0,d1,d2,d3,d4,d5,d6;
private EditText other;
private Button btn_to_submit;
public String username, tag, major, zone, weekly, interest;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
CommonAction.getInstance().addActivity(this);
setContentView(R.layout.activity_interest);
CommonAction.getInstance().addActivity(this);
ActionBar actionBar = getSupportActionBar();
actionBar.setDisplayHomeAsUpEnabled(true);
//获取用户名
SharedPreferences sp;
sp = this.getSharedPreferences("userinfo", Context.MODE_PRIVATE);
//TextView Username = (TextView) findViewById(R.id.username);
username = sp.getString("uname", "");
sp.edit().putString("uname", username).commit();
init();
submitHttpURLConnectionOption();
}
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
break;
}
return true;
}
private void init(){
tagGroup=(RadioGroup)findViewById(R.id.tagGroup);
practice=(RadioButton)findViewById(R.id.practice);
part_time=(RadioButton)findViewById(R.id.part_time);
both=(RadioButton)findViewById(R.id.both);
tagGroup.setOnCheckedChangeListener(new tagOncheckedChangeListener());
btn_to_submit=(Button)findViewById(R.id.submit);
other=(EditText)findViewById(R.id.text1);
m1 = (CheckBox) findViewById(R.id.m1);
m2 = (CheckBox) findViewById(R.id.m2);
m3 = (CheckBox) findViewById(R.id.m3);
m4 = (CheckBox) findViewById(R.id.m4);
m5 = (CheckBox) findViewById(R.id.m5);
m6 = (CheckBox) findViewById(R.id.m6);
m7 = (CheckBox) findViewById(R.id.m7);
m8 = (CheckBox) findViewById(R.id.m8);
m9 = (CheckBox) findViewById(R.id.m9);
m10 = (CheckBox) findViewById(R.id.m10);
m11 = (CheckBox) findViewById(R.id.m11);
m12 = (CheckBox) findViewById(R.id.m12);
m13 = (CheckBox) findViewById(R.id.m13);
m14 = (CheckBox) findViewById(R.id.m14);
m15 = (CheckBox) findViewById(R.id.m15);
m16 = (CheckBox) findViewById(R.id.m16);
m17 = (CheckBox) findViewById(R.id.m17);
m18 = (CheckBox) findViewById(R.id.m18);
m19 = (CheckBox) findViewById(R.id.m19);
m20 = (CheckBox) findViewById(R.id.m20);
m21 = (CheckBox) findViewById(R.id.m21);
m22 = (CheckBox) findViewById(R.id.m22);
m23 = (CheckBox) findViewById(R.id.m23);
m24 = (CheckBox) findViewById(R.id.m24);
c1 = (CheckBox) findViewById(R.id.c1);
c2 = (CheckBox) findViewById(R.id.c2);
c3 = (CheckBox) findViewById(R.id.c3);
c4 = (CheckBox) findViewById(R.id.c4);
c5 = (CheckBox) findViewById(R.id.c5);
c6 = (CheckBox) findViewById(R.id.c6);
c7 = (CheckBox) findViewById(R.id.c7);
c8 = (CheckBox) findViewById(R.id.c8);
c9 = (CheckBox) findViewById(R.id.c9);
c10 = (CheckBox) findViewById(R.id.c10);
c11 = (CheckBox) findViewById(R.id.c11);
c12 = (CheckBox) findViewById(R.id.c12);
c13 = (CheckBox) findViewById(R.id.c13);
c14 = (CheckBox) findViewById(R.id.c14);
c15 = (CheckBox) findViewById(R.id.c15);
c16 = (CheckBox) findViewById(R.id.c16);
c17 = (CheckBox) findViewById(R.id.c17);
c18 = (CheckBox) findViewById(R.id.c18);
c19 = (CheckBox) findViewById(R.id.c19);
c20 = (CheckBox) findViewById(R.id.c20);
c21 = (CheckBox) findViewById(R.id.c21);
d0 = (CheckBox) findViewById(R.id.d0);
d1 = (CheckBox) findViewById(R.id.d1);
d2 = (CheckBox) findViewById(R.id.d2);
d3 = (CheckBox) findViewById(R.id.d3);
d4 = (CheckBox) findViewById(R.id.d4);
d5 = (CheckBox) findViewById(R.id.d5);
d6 = (CheckBox) findViewById(R.id.d6);
m1.setOnCheckedChangeListener(this);
m2.setOnCheckedChangeListener(this);
m3.setOnCheckedChangeListener(this);
m4.setOnCheckedChangeListener(this);
m5.setOnCheckedChangeListener(this);
m6.setOnCheckedChangeListener(this);
m7.setOnCheckedChangeListener(this);
m8.setOnCheckedChangeListener(this);
m9.setOnCheckedChangeListener(this);
m10.setOnCheckedChangeListener(this);
m11.setOnCheckedChangeListener(this);
m12.setOnCheckedChangeListener(this);
m13.setOnCheckedChangeListener(this);
m14.setOnCheckedChangeListener(this);
m15.setOnCheckedChangeListener(this);
m16.setOnCheckedChangeListener(this);
m17.setOnCheckedChangeListener(this);
m18.setOnCheckedChangeListener(this);
m19.setOnCheckedChangeListener(this);
m20.setOnCheckedChangeListener(this);
m21.setOnCheckedChangeListener(this);
m22.setOnCheckedChangeListener(this);
m23.setOnCheckedChangeListener(this);
m24.setOnCheckedChangeListener(this);
c1.setOnCheckedChangeListener(this);
c2.setOnCheckedChangeListener(this);
c3.setOnCheckedChangeListener(this);
c4.setOnCheckedChangeListener(this);
c5.setOnCheckedChangeListener(this);
c6.setOnCheckedChangeListener(this);
c7.setOnCheckedChangeListener(this);
c8.setOnCheckedChangeListener(this);
c9.setOnCheckedChangeListener(this);
c10.setOnCheckedChangeListener(this);
c11.setOnCheckedChangeListener(this);
c12.setOnCheckedChangeListener(this);
c13.setOnCheckedChangeListener(this);
c14.setOnCheckedChangeListener(this);
c15.setOnCheckedChangeListener(this);
c16.setOnCheckedChangeListener(this);
c17.setOnCheckedChangeListener(this);
c18.setOnCheckedChangeListener(this);
c19.setOnCheckedChangeListener(this);
c20.setOnCheckedChangeListener(this);
c21.setOnCheckedChangeListener(this);
d0.setOnCheckedChangeListener(this);
d1.setOnCheckedChangeListener(this);
d2.setOnCheckedChangeListener(this);
d3.setOnCheckedChangeListener(this);
d4.setOnCheckedChangeListener(this);
d5.setOnCheckedChangeListener(this);
d6.setOnCheckedChangeListener(this);
}
private class tagOncheckedChangeListener implements RadioGroup.OnCheckedChangeList
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
java+安卓,有数据库 JAVA环境:java 1.8.0_131 (D:\Program Files\Java) 客户端:Android Studio 3.0.1 (F:\Android) 夜神模拟器 6.2.3.0 (D:\Program Files\Nox) 服务端:MyEclipse 2017 (F:\MyEclipse2017) TomCat 8.5(MyEclipse自带) 数据库:MySQL 5.7.23(C:\Program Files\MySQL)
资源推荐
资源详情
资源评论
收起资源包目录
大学生兼职管理app系统全套源代码下载 (311个子文件)
RecomServlet.class 6KB
JLitemServlet.class 6KB
ReleaseServlet.class 6KB
std_ziliaoServlet1.class 6KB
InterestServlet.class 5KB
chongzhikey.class 5KB
DeliverServlet.class 5KB
qiwangServlet1.class 5KB
bdshouji.class 5KB
jingliServlet1.class 5KB
ShowPinfoServlet.class 5KB
PinfoServlet.class 5KB
showServlet1.class 5KB
JobServlet.class 5KB
EinfoServlet.class 5KB
SearchServlet.class 5KB
IntroServlet.class 5KB
ResetpwdServlet.class 5KB
pwdrsetServlet.class 5KB
shoujibdH.class 5KB
shoujibd.class 5KB
OtherJobsServlet.class 5KB
RegStdServlet.class 5KB
HiringServlet.class 5KB
CheckServlet.class 5KB
EndServlet.class 5KB
RegHireServlet.class 5KB
ComplainServlet.class 4KB
MsgServlet.class 4KB
shoujilogin.class 4KB
ZPservlet.class 4KB
wangji.class 4KB
CancelCollectServlet.class 4KB
IfCollectServlet.class 4KB
JianliServlet.class 4KB
ResumesServlet.class 4KB
CollectServlet.class 4KB
std_ziliaoServlet2.class 4KB
ZPitemServlet.class 4KB
daogangServlet.class 4KB
luyongServlet.class 4KB
toudiServlet.class 4KB
qiwangServlet2.class 4KB
LoginServlet.class 4KB
shoucangServlet.class 4KB
jingliServlet2.class 4KB
showServlet2.class 4KB
Einfo_initServlet.class 4KB
Pinfo_initServlet.class 4KB
PorEServlet.class 4KB
PostServlet.class 4KB
jingliServlet3.class 4KB
showServlet3.class 4KB
EmployServlet.class 4KB
PartTimeServlet.class 4KB
PracticeServlet.class 4KB
TestServlet.class 4KB
NewServlet.class 4KB
ShowMsgServlet.class 4KB
DeleteServlet.class 3KB
ConfigManager.class 2KB
.classpath 1KB
org.eclipse.wst.common.component 480B
org.eclipse.wst.jsdt.ui.superType.container 49B
mysql-connector-java-5.1.30-bin.jar 932KB
commons-collections.jar 562KB
commons-lang.jar 256KB
commons-beanutils-1.8.3.jar 227KB
json-lib-2.4-jdk15.jar 155KB
ezmorph-1.0.6.jar 84KB
commons-logging.jar 59KB
InterestActivity.java 15KB
ziliaoActivity.java 15KB
Release2Activity.java 15KB
ReleaseActivity.java 15KB
JobActivity.java 14KB
qiwangActivity.java 12KB
LoginActivity.java 12KB
Jianli_itemActivity.java 12KB
jingliActivity.java 12KB
showActivity.java 12KB
bdshoujiActivity.java 11KB
shoujiloginActivity.java 11KB
shoujiRegHActivity.java 11KB
shoujiregSActivity.java 11KB
ZPActivity.java 10KB
SearchActivity.java 10KB
wangjiActivity.java 10KB
DoubleDatePickerDialog.java 9KB
RecomActivity.java 9KB
PinfoActivity.java 9KB
HiringActivity.java 9KB
CheckActivity.java 9KB
EndActivity.java 9KB
TestActivity.java 9KB
JianliActivity.java 9KB
JobsActivity.java 9KB
ResumeActivity.java 8KB
PracticeActivity.java 8KB
PartTimeActivity.java 8KB
共 311 条
- 1
- 2
- 3
- 4
资源评论
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功