You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a launcher myself without any decompiling of MC:PE's classes, by just addind smali bytecode calling another classes methods into mcpe's mainactivity and removing the stores. It workes, and I can also hear sound. Maybe I will opensource it the next days.
So I guess these are no specific JNI calls, rather missing java methods in MainActivity, because current original one contains methods that are not there in your decompiled / patched MainActivity.
@JoJoDeveloping I don't see any methods in MainActivity that we are missing that enables sound? I've been looking for hours and cannot figure out why sound isn't working 😞 I don't think the Java methods affect this, but rather the library loading or JNI.
Activity
slice commentedon Mar 19, 2016
Can reproduce.
byteandahalf commentedon Mar 19, 2016
I believe there's specific JNI calls that are needed in order to produce sound, which I have not yet implemented.
slice commentedon Mar 19, 2016
@byteandahalf Any chance you will fix this? @zhuowei?
JoJoDeveloping commentedon Mar 21, 2016
I made a launcher myself without any decompiling of MC:PE's classes, by just addind smali bytecode calling another classes methods into mcpe's mainactivity and removing the stores. It workes, and I can also hear sound. Maybe I will opensource it the next days.
So I guess these are no specific JNI calls, rather missing java methods in MainActivity, because current original one contains methods that are not there in your decompiled / patched MainActivity.
slice commentedon Mar 21, 2016
@JoJoDeveloping Hmm. Thanks for the additional info. 👍 What methods are missing?
JoJoDeveloping commentedon Mar 22, 2016
Too much to list them.
http://imgur.com/S42J06N
^List of the methods
Also there are more classes then HardwareInformation and MainActivity
slice commentedon Mar 22, 2016
@byteandahalf Bump ^
slice commentedon Mar 24, 2016
@JoJoDeveloping I don't see any methods in
MainActivitythat we are missing that enables sound? I've been looking for hours and cannot figure out why sound isn't working 😞 I don't think the Java methods affect this, but rather the library loading or JNI.JoJoDeveloping commentedon Mar 25, 2016
Maybe FMOD got an Update. Idk