Skip to content
Guest Big Announcement

How to add a Toast/Popup to your Android Mods!

Featured Replies

  • Replies 42
  • Views 54.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hello, Today I will teach you how to add toasts to your mods   What is a toast? - Toast is a pop-up message that shows your text when you open the game. There are 2 types of toasts, and I'm going

  • Skyline769
    Skyline769

    in case something is missing, you must add these packages to make a poppup toast. import Android.widget.toast; Duration of a toast also can be set up using these codes : LENGTH_SHORT LENGTH_LONG

On 21. 6. 2016 at 4:52 PM, Skyline769 said:

in case something is missing, you must add these packages to make a poppup toast.

 


import Android.widget.toast;

Duration of a toast also can be set up using these codes :

 


LENGTH_SHORT
LENGTH_LONG

Please tell me where to place it?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.