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 6/21/2016 at 10: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

where to place the duration code? 

Help me, @ZahirSher

I copy the toast code and paste it under '.locals' , but it does not work when its fully recompiled and signed (the box will close) 

38670952_297450967656557_447717787332876

38497348_546703485747337_343148757166063

 

Updated by HuyKC

On 8/6/2018 at 3:22 PM, HuyKC said:

Help me, @ZahirSher

I copy the toast code and paste it under '.locals' , but it does not work when its fully recompiled and signed (the box will close) 

38670952_297450967656557_447717787332876

38497348_546703485747337_343148757166063

 

Is force closing because you placed toast message into init rather than oncreate lol

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.