Code for mlbb patcher by Roderick v. Almaras
Copyrighted © since march,30,2020
Create variable string name it-
output
filename
src
path
Add more blocks
extract-string-src-output the add
addsourcedirectory put this code inside
UnZip unZip = new UnZip();
unZip.unZipIt(_src, _output);
library-string-add
addsourcedirectory out this inside
}
public class UnZip {
List<String> fileList;
public void unZipIt(String zipFile, String outputFolder){
byte[] buffer = new byte[1024];
try{
java.util.zip.ZipInputStream zis = new java.util.zip.ZipInputStream(new java.io.FileInputStream(zipFile));
java.util.zip.ZipEntry ze = zis.getNextEntry();
while(ze!=null){
String fileName = ze.getName();
java.io.File newFile = new java.io.File(outputFolder + java.io.File.separator + fileName);
new java.io.File(newFile.getParent()).mkdirs();
java.io.FileOutputStream fos = new java.io.FileOutputStream(newFile);
int len;
while ((len = zis.read(buffer)) > 0) {
fos.write(buffer, 0, len);
}
fos.close();
ze = zis.getNextEntry();
}
zis.closeEntry();
zis.close();
}catch(java.io.IOException ex){
ex.printStackTrace();
}
}
For inject button blocks
- /storage/emulated/0/Android/data/com.mobile.legends/files/dragon2017/assets/ui/android/
- rodtechph.zip
- storage/emulated/0/Download/rodtech ph.zip
- /storage/emulated/0/Android/data/com.mobile.legends/files/dragon2017/assets/ui/android/rodtech ph.zip
For oncreate blocks
- /storage/emulated/0/Android/data/com.mobile.legends/files/dragon2017/assets/ui/android
For download button
App ng ml buksan sa button blocks on click

- Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.mobile.legends");
- if (launchIntent != null) {
- startActivity(launchIntent);
- }
Comments
Post a Comment