Skip to content

Instantly share code, notes, and snippets.

@myzhan
Last active September 28, 2023 01:56
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save myzhan/ab13068463cd7f77b7f06ae561ea853a to your computer and use it in GitHub Desktop.
Save myzhan/ab13068463cd7f77b7f06ae561ea853a to your computer and use it in GitHub Desktop.
Frida android make toast
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();
});
@FourCinnamon0
Copy link

What about hyperlinks and stuff?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment