add lots of java APIs needed for Whatsapp

This commit is contained in:
Julian Winkler
2024-06-15 22:32:01 +02:00
parent b81f53e4b2
commit bb50bbfa91
61 changed files with 383 additions and 71 deletions

View File

@@ -15,4 +15,24 @@ public class Parcel {
public void setDataPosition(int position) {}
public void recycle() {}
public void writeByte(byte b) {
System.out.println("Parcel.writeByte(" + b + ")");
}
public void writeString(String s) {
System.out.println("Parcel.writeString(" + s + ")");
}
public void writeLong(long l) {
System.out.println("Parcel.writeLong(" + l + ")");
}
public void writeInt(int i) {
System.out.println("Parcel.writeInt(" + i + ")");
}
public byte[] marshall() {
return new byte[0];
}
}