1.Introduction
OriginalToast is an Extension to show Android Toast. Compatible with all Android Versions,
especially for Devices >= Android 11.
See Also : Custom toasts from the background are blocked
This extension won't be updated anymore, that's why I've provided the source code.
Latest Version: 1
Released: 2020-11-04T23:00:00Z
Last Updated: 2021-09-19T22:00:00Z
2.Blocks
3.Documentation
Show Toast
to show toast that has been set using the property blocks
Duration
to set toast duration, (duration block can only accept "LONG" and "SHORT" )
HTML Format
to enable HTML Format on toast
Text
to set toast text, (if Html Format is enabled, toast text in html form can be executed)
4.Screenshots
5.Downloads
com.SalmanDev.OriginalToast.aix (7.0 KB)
Source Code : OriginalToast.txt (3.4 KB)
6.Credits
Thank you to My Best Teacher @MohamedTamer
Big Thanks to @vknow360 , @WatermelonIce And @Kumaraswamy for helping
Thanks to all of you who helped me
And Thanks a lot to MIT
17 Likes
There's actually no problem at all for the Android 11, but anyways good work!
3 Likes
Great work
Because Ai2 isn't yet targeting API 30.So custom toasts still works, due to the fact that the custom toasts aren't removed from the Android SDK, they are just deprecated in API version 30, which means that they can be no longer used when Ai2 targets API 30.
4 Likes
TIMAI2
November 5, 2020, 12:28pm
4
Might be useful to provide a list of gravity values for positioning....
2 Likes
TIMAI2
November 5, 2020, 12:32pm
6
I saw that, but for most users this would not make much sense.
e.g. what constant would place the toast vertical centre, 2/3 from the top ?
A simple list of these would help, rather than having to figure out the somewhat obscure descriptions from Android, or trial and error, one by one.
2 Likes
Good job.
I didn't help you.
TIMAI2:
I saw that, but for most users this would not make much sense.
e.g. what constant would place the toast vertical centre, 2/3 from the top ?
Also sometimes, a combination of more than one constant is needed so providing blocks for it will be useful.
1 Like
Yes, actually my extension, it works on all versions of Android
1 Like
OK I'll try to add the list like you said
vknow360:
I didn't help you.
Maybe you have forgotten, you helped me a lot,
but I will never forget your help
I think I will do some research for that constant
Nice extensions, Some new features (margin and gravity)
1 Like
Okay @TIMAI2 I have Added List For Constant Value.
Thanks a lot @TIMAI2 for the great idea
Awesome work friend! Keep it up
1 Like
Thank you very much for your support @Techno_Vedang
1 Like
Hi Everyone Now This Extension Is Open Source.
OriginalToast Extension [Free & Open Source]
Note: This extension won't be updated anymore, that's why I've provided the source code.
Buy me a coffee
1 Like