```
dependencies {
compile fileTree(include: ['*.jar'],dir:'libs')
testCompile'junit:junit:4.12'
compile'com.android.support:appcompat-v7:23.4.0'
compile project(':app-aar')
//compile project(':Usercenter2345library')
compile files('libs/okhttp-3.4.1.jar')
compile files('libs/universal-image-loader-1.9.4.jar')
compile files('libs/libammsdk.jar')
}
```
android:id="@+id/big_window_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/dropzonebg_belongto2345"
android:gravity="center_vertical"
android:paddingLeft="5dp"
>
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_wxentry);
registerToWx();
findViewById(R.id.button).setOnClickListener(newView.OnClickListener() {
@Override
public voidonClick(View view) {
login();
}
});
//如果没回调onResp,八成是这句没有写
api.handleIntent(getIntent(), this);
}protected voidonCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_wxentry);
registerToWx();
findViewById(R.id.button).setOnClickListener(newView.OnClickListener() {
@Override
public voidonClick(View view) {
login();
}
});
//如果没回调onResp,八成是这句没有写
api.handleIntent(getIntent(), this);
}
网友评论