[FREE] Miscellaneous extensions for AI2 from The K Studio

Here are some of the extensions that I created for personal use and some of were sponsored that I never shared with the community. Here I am sharing in case if someone finds them useful.

Some of the methods or extensions might be already exist on community and some of the methods are possible without extensions however they are created just to ease the work, hope it helps!

Back Press to Exit App: Back press again to exit the app.

image

com.thekstudio.BackToExit.aix (5.8 KB)

Simple Toast Shows simple toast since AI2 Notifier toast is weird.

v2 com.thekstudio.simpletoast.aix (8.0 KB)

Checkbox Utilities

com.thekstudio.CheckboxUtilities.aix (5.7 KB)

Wallpaper Tools

com.thekstudio.WallpaperTools.aix (9.6 KB)

Ellipsize Label Truncate label text if exceeds within set max lines.

image

com.thekstudio.EllipsizeLabel.aix (5.3 KB)

Text Scroller Animate text on screen resembling marquee like effect but not marquee.

com.thekstudio.TextScroller.aix (9.1 KB)

JSON 2 Dictionary Parse JSON text into dictionary.

image

com.thekstudio.Json2Dictionary.aix (6.1 KB)

Password Validator

com.thekstudio.PasswordValidator.aix (7.7 KB)

Developer Settings

com.thekstudio.DeveloperSettings.aix (5.0 KB)

Time Settings

com.thekstudio.TimeSettings.aix (6.1 KB)

App Launcher

com.thekstudio.AppLauncher.aix (6.2 KB)

IP Checker

com.thekstudio.IPChecker.aix (10.0 KB)

Countdown

com.thekstudio.Countdown.aix (8.0 KB)

Extra Utilities

com.thekstudio.ExtraUtilities.aix (6.3 KB)

Dropbox Link: Get Dropbox and Google Drive file download link

image

com.thekstudio.DropboxLink.aix (5.1 KB)

Haptic Feedback Gives Vibrate feedback to the user.

image

v1 com.thekstudio.HapticFeedback.aix (5.8 KB)

v2 com.thekstudio.hapticfeedback.aix (6.0 KB)

Network Status

com.thekstudio.NetworkStatus.aix (7.2 KB)

Border View Apply border to view layout like horizontal arrangement with border width, color and corner radius.

com.thekstudio.BorderView.aix (6.8 KB)

DynamicInputDialog: To create number of input text boxes in a dialog dynamically.

com.thekstudio.dynamicinputdialog.aix (7.0 KB)

Input type codes:

Code Description
1 Normal text input
2 Number input (only digits)
3 Phone number input
4 Date and time input
129 Password input (hides characters)
145 Visible password input
225 Web password input
32 Email input
17 Decimal number input
4098 TYPE_NUMBER_VARIATION_PASSWORD`
18 Signed number (allows negative)
4099 Date input
4100 Time input
8192 Capitalizes first letter of every word

Hope this helps!

14 Likes

What is this used for?

This will give vibration feedback to the user.

1 Like

please remember the naming conventions

and update the TimeSettings and Countdown extension accordingly

Taifun

1 Like

I am seeing error : Runtme error
vibrate: Neither user 10256 nor current process has android.permission.VIBRATE.

hOW TO FIX?

SAME IN OTHER DEVICES TOO, realme with OHaptics

Hi, let me check.

I have updated the permission error. It should work now. Try updated aix.

Added.

2 Likes

@The_K_Studio I think I did something wrong since this is not working.

Yes, small mistake you did.

When you call Get IP method then Got IP event will trigger with ip.
And when you call GetIP info then IPInfoReceived event will trigger.

Do like this:

1 Like

Thanks

Added to the collection:

2 Likes

Hi there, I downloaded the haptic one that vibrates, but when i drag HapticFeedback into the designer and look at it in the code, there are no blocks

go into the project properties and set toolkit to default
Taifun

is there anyway to adjust the level of power that it vibrates? also, is there a way to have it vibrate based on true false? like i press a button that makes the phone vibrate, and it keeps vibrating until i press another button? also thx!

Version 2 Updated for Haptic Feedback with some additional functions:

Intensity is the power of vibration but it doesn't supports all devices, so you can check it using HasAmplitudeControl function, if yes then only it will work.

Set a longer duration which will keep vibrating until it stopped manually.

Hello I used the simple toast plugin, how do I make the icon next to it disappear? That is, when sending a message, that icon disappears.

[com.thekstudio.SimpleToast.aix|attachment]

link remove by mod. no direct link to extension allowed here, unless you are the author.

Just use the AI2 notifier, or look for other toast extensions that do not show an icon.

2 Likes

Starting with Android 12, the icon is displayed by default.

This was Google's decision.

In earlier versions, it can be used without the icon being displayed.

1 Like