陈奇
2018-11-01 cdbaf79d124d46b69dc62b653fde55f9d40b5534
app/src/main/java/com/moral/yunfushao/MainActivity.java
@@ -71,6 +71,7 @@
    private boolean islogin = false;
    private BluetoothService mBluetoothService;
    @Override
    protected void getBundleExtras(Bundle extras) {
        islogin = extras.getBoolean("islogin", false);
@@ -277,6 +278,7 @@
            });
        }
    }
    public BluetoothService getBluetoothService() {
        return mBluetoothService;
    }
@@ -363,6 +365,7 @@
    private TextView tv_content,tv_name;
    private ImageView iv_logo;
    private Button bt_cancel,bt_ok;
    private void showAd(String content,String logo,String name){
        adView = LayoutInflater.from(this).inflate(R.layout.dialog_ad_layout,null);
        tv_content = (TextView) adView.findViewById(R.id.tv_content);