Skip to content

Commit

Permalink
Merge branch 'system_prod' of https://github.com/dat911zz/CringeMPOne
Browse files Browse the repository at this point in the history
…into androi_PhamVanHuy
  • Loading branch information
huypv2002 committed Mar 21, 2023
2 parents 0cc4e99 + 8281bdf commit b71386f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions app/src/main/java/com/ltdd/cringempone/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ protected void onCreate(Bundle savedInstanceState) {
StrictMode.setThreadPolicy(policy);
setContentView(R.layout.activity_main);

Intent sintent = new Intent(this, BaseAPIService.class);
bindService(sintent, new ServiceConnection() {
@Override
public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
BaseAPIService.LocalBinder binder = (BaseAPIService.LocalBinder) iBinder;
apiService = binder.getService();
isBound = true;
}

@Override
public void onServiceDisconnected(ComponentName componentName) {
isBound = false;
}
}, Context.BIND_AUTO_CREATE);
getRandNumber();
// Intent sintent = new Intent(this, BaseAPIService.class);
// bindService(sintent, new ServiceConnection() {
// @Override
// public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
// BaseAPIService.LocalBinder binder = (BaseAPIService.LocalBinder) iBinder;
// apiService = binder.getService();
// isBound = true;
// }
//
// @Override
// public void onServiceDisconnected(ComponentName componentName) {
// isBound = false;
// }
// }, Context.BIND_AUTO_CREATE);
// getRandNumber();
//#region Streaming media player
//Set up
//https://mp3-s1-zmp3.zmdcdn.me/5a7ab8a550e1b9bfe0f0/2684602975505725241?authen=exp=1679135555~acl=/5a7ab8a550e1b9bfe0f0/*~hmac=4a1ff5882b7f905fb7241eaf281c725b&fs=MTY3ODk2MjmUsIC1NTmUsICzM3x3ZWJWNnwwfDU0LjI1NC4xNjIdUngMTM4
Expand Down

0 comments on commit b71386f

Please sign in to comment.