Showing
2 changed files
with
11 additions
and
0 deletions
... | @@ -56,6 +56,7 @@ public class AppActivity extends Activity implements OnClickListener { | ... | @@ -56,6 +56,7 @@ public class AppActivity extends Activity implements OnClickListener { |
56 | private Button btSwitchAcc; | 56 | private Button btSwitchAcc; |
57 | private Button btOpenBbs; | 57 | private Button btOpenBbs; |
58 | private Button btQueryProducts; | 58 | private Button btQueryProducts; |
59 | + private Button pb_bt_verifyname; | ||
59 | 60 | ||
60 | //提示LOG | 61 | //提示LOG |
61 | private TextView txMsg,txSdkMsg; | 62 | private TextView txMsg,txSdkMsg; |
... | @@ -327,6 +328,7 @@ public class AppActivity extends Activity implements OnClickListener { | ... | @@ -327,6 +328,7 @@ public class AppActivity extends Activity implements OnClickListener { |
327 | btSwitchAcc = (Button) findViewById(getRedIdByName("pb_bt_switchacc", "id")); | 328 | btSwitchAcc = (Button) findViewById(getRedIdByName("pb_bt_switchacc", "id")); |
328 | btOpenBbs = (Button) findViewById(getRedIdByName("pb_bt_openbbs", "id")); | 329 | btOpenBbs = (Button) findViewById(getRedIdByName("pb_bt_openbbs", "id")); |
329 | btQueryProducts = findViewById(getRedIdByName("pool_query_products_id","id")); | 330 | btQueryProducts = findViewById(getRedIdByName("pool_query_products_id","id")); |
331 | + pb_bt_verifyname = (Button) findViewById(getRedIdByName("pb_bt_verifyname", "id")); | ||
330 | 332 | ||
331 | txMsg = (TextView) findViewById(getRedIdByName("tx_msg", "id")); | 333 | txMsg = (TextView) findViewById(getRedIdByName("tx_msg", "id")); |
332 | txSdkMsg = (TextView) findViewById(getRedIdByName("tx_sdk_msg", "id")); | 334 | txSdkMsg = (TextView) findViewById(getRedIdByName("tx_sdk_msg", "id")); |
... | @@ -340,6 +342,7 @@ public class AppActivity extends Activity implements OnClickListener { | ... | @@ -340,6 +342,7 @@ public class AppActivity extends Activity implements OnClickListener { |
340 | btSwitchAcc.setOnClickListener(this); | 342 | btSwitchAcc.setOnClickListener(this); |
341 | btOpenBbs.setOnClickListener(this); | 343 | btOpenBbs.setOnClickListener(this); |
342 | btQueryProducts.setOnClickListener(this); | 344 | btQueryProducts.setOnClickListener(this); |
345 | + pb_bt_verifyname.setOnClickListener(this); | ||
343 | } | 346 | } |
344 | 347 | ||
345 | public void yaOnClick(View view) { | 348 | public void yaOnClick(View view) { |
... | @@ -367,6 +370,8 @@ public class AppActivity extends Activity implements OnClickListener { | ... | @@ -367,6 +370,8 @@ public class AppActivity extends Activity implements OnClickListener { |
367 | trackEvent(); | 370 | trackEvent(); |
368 | }else if(view == btQueryProducts){ | 371 | }else if(view == btQueryProducts){ |
369 | queryProducts(); | 372 | queryProducts(); |
373 | + }else if (view == pb_bt_verifyname){ | ||
374 | + Toast.makeText(this,PoolSdkHelper.verifyRealName(this),Toast.LENGTH_SHORT).show(); | ||
370 | } | 375 | } |
371 | } | 376 | } |
372 | 377 | ... | ... |
... | @@ -84,6 +84,12 @@ | ... | @@ -84,6 +84,12 @@ |
84 | android:text="事件上报" /> | 84 | android:text="事件上报" /> |
85 | </LinearLayout> | 85 | </LinearLayout> |
86 | </LinearLayout> | 86 | </LinearLayout> |
87 | + <Button | ||
88 | + android:id="@+id/pb_bt_verifyname" | ||
89 | + style="?android:attr/buttonStyleSmall" | ||
90 | + android:layout_width="fill_parent" | ||
91 | + android:layout_height="wrap_content" | ||
92 | + android:text="实名认证" /> | ||
87 | 93 | ||
88 | <Button | 94 | <Button |
89 | android:id="@+id/pool_query_products_id" | 95 | android:id="@+id/pool_query_products_id" | ... | ... |
-
Please register or login to post a comment