-
-
Save iddoeldor/1b6cc1196c77528d39b4fced191a6013 to your computer and use it in GitHub Desktop.
Frida android make toast
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.scheduleOnMainThread(function() { | |
Toast = Java.use("android.widget.Toast"); | |
var currentApplication = Java.use('android.app.ActivityThread').currentApplication(); | |
var context = currentApplication.getApplicationContext(); | |
Toast.makeText(context,"hello world", Toast.LENGTH_SHORT.value).show(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not working. Finally, i fix it with :
For detail info about debugging and problem : https://www.yodiw.com/frida-android-make-toast-non-rooted-device/