Android Kotlin & Java Code Script Plugins

Welcome to Android Script

Discover a treasure trove of Android script examples to supercharge your projects. Whether you're a seasoned developer or just starting out, our curated collection of scripts is designed to help you build powerful Android applications with ease. Simply copy and paste the scripts directly into your projects and watch your ideas come to life.

CardView with An ImageView Inside It

Enhance your Android app's UI with our CardView featuring an embedded ImageView. Perfect for displaying images in a stylish, cohesive layout that enhances user experience and visual appeal.

Learn to Rotate Images Clockwise and Counterclockwise in Android

Discover how to create an Android app that allows users to rotate an image both clockwise and counterclockwise. Step-by-step tutorial for implementing image rotation functionality in your Android application.

Changes the Background Color Randomly Every 10 Seconds in Java Code

Explore how to implement a Java code snippet that dynamically changes the background color at regular intervals, enhancing visual interest and user experience.

Changes the Background Color Randomly Every 10 Seconds in Kotlin Code

Explore how to implement Kotlin code that dynamically alters the background color at regular intervals, providing a dynamic and engaging user experience.

Display Current Day, Date and Time In CardView - Kotlin Version

Learn how to implement a Kotlin code snippet to display the current day, date, and time dynamically within a CardView, enhancing user interaction and app functionality.

Display Current Day, Date and Time In CardView - Java Version

Learn how to display the current day, date, and time dynamically within a CardView using Java, enhancing your application's user interface with real-time information.

Check Internet Connectivity in Android App

Learn how to implement internet connectivity checks in your Android application. Ensure your app can reliably detect network availability for enhanced user experience.

Copy Text from TextView on Long-Press in Android App

Learn how to implement text copying from a TextView when long-pressed in your Android application. Enhance user interaction with this essential feature.

Retrieve Installed Applications Information with RecyclerView

Learn how to retrieve information about installed applications in an Android app using RecyclerView. Follow step-by-step instructions to display app names, package names, versions, and icons.

Encryption and Decryption with AES

Learn how to implement AES encryption and decryption in an Android app for secure string handling. Enhance data security with step-by-step tutorials and practical examples.

Control Screen Orientation with Toggle Button Tutorial

Learn how to implement screen orientation control in an Android app using a toggle button. Follow this step-by-step tutorial to enable users to manage screen rotation settings easily.

Sound Effects Player with MediaPlayer in Kotlin

Learn how to create an Android app in Kotlin that plays sound effects using MediaPlayer. This tutorial covers implementing controls for play, stop, and pause, supporting both local and web MP3 files.

Disabling Screenshots in Android: Protecting App Content

Learn effective methods to disable screenshots in your Android app to safeguard sensitive content and enhance app security.

Auto Start on Boot: Android App Development Guide

Learn how to create an Android app that automatically starts on device boot using broadcast receivers and permissions handling. Follow our detailed guide to implement this feature effectively.

Implementing Double Back Press to Exit in Android Applications

Learn how to implement a double back press mechanism in Android using Kotlin to provide a smooth exit experience for users.

Make a Call from Android App in Kotlin

Learn how to create an Android app in Kotlin that enables users to make calls from a specified number. Follow our detailed guide for implementing call functionality seamlessly.

Android Dialog Boxes: Examples and Implementation Guide

Learn how to create an Android app with examples of AlertDialogs, DatePickerDialogs, and TimePickerDialogs. Step-by-step guide to implement various dialog boxes for enhanced user interaction.

Responsive Login Panel in Android: Tutorial for Kotlin & Java

Learn how to create a responsive login panel in Android using both Kotlin and Java. This tutorial includes email format validation and centers components within a CardView for effective UI design.

Android Image Zoom App: Learn to Implement Zoom Controls

Discover how to create an Android app that allows users to zoom in and out on images using dedicated zoom buttons. Follow our step-by-step tutorial for integrating zoom functionality seamlessly.

Learn to Implement Pinch Gestures on Images in Android Kotlin

Discover how to create an Android app in Kotlin that allows pinch-to-zoom gestures on images. Step-by-step tutorial for integrating pinch functionality seamlessly.

Learn to Monitor Battery Status in Android

Discover how to create an Android app that monitors battery status, including charging, discharging, and current battery level. Step-by-step tutorial for implementing battery status monitoring.

Learn to Alert with Alarm Sound on Charger Disconnect

Discover how to create an Android app that alerts users with an alarm sound when the device is unplugged from the charger. Step-by-step tutorial for implementing charger unplugged alarm functionality.

Learn to Apply Custom Fonts to TextView in Android

Discover how to apply custom fonts to a TextView in an Android app. Step-by-step tutorial for implementing custom font functionality using Typeface.

Learn to Rotate Images with Left and Right Buttons in Android

Discover how to create an Android app that allows rotating an image using left and right buttons. Step-by-step tutorial for implementing image rotation functionality in your Android application.

Guide to Implement Infinite Image Blinking in Android Using Handler

Discover how to create an Android app that features an image blinking infinitely. This step-by-step tutorial will teach you how to utilize a Handler to toggle ImageView visibility at regular intervals, achieving the blinking effect seamlessly. Follow along to integrate infinite image blinking functionality into your Android application effortlessly.

Creating a Sliding Image Effect with ViewPager in Android

You will learn how to create an Android application that implements a banner-like sliding image effect from left to right using ViewPager

Android App: Display Battery and Device Information Guide

Discover how to develop an Android application that showcases both battery and device information using CardViews and Android APIs. This step-by-step tutorial guides you through designing the layout and accessing data, enabling you to build a comprehensive Android app that provides users with essential device details at their fingertips.

Creating Popup Menu in Android Using Kotlin: Step-by-Step Guide

Master the creation of popup menus in your Kotlin-based Android application with this comprehensive tutorial. Learn how to set up a menu resource file and programmatically handle popup menu display. Follow step-by-step instructions to enhance your app's user interface by implementing versatile and responsive popup menus efficiently.

Creating a Voice Recorder in Android Using Kotlin: Step-by-Sept Guide

Explore how to develop a Voice Recorder Android application using Kotlin with this detailed tutorial. Learn the step-by-step process of capturing audio using MediaRecorder, managing the recording lifecycle, and implementing essential features for a robust recording experience in your Kotlin-based Android app.

Android App with Checkboxes and Transition using CardView Design: Step-by-Step Tutorial

Master the creation of an Android application featuring checkboxes, a submit button, and navigation to another activity based on checked checkboxes. This comprehensive tutorial guides you through designing a colorful CardView for the main activity and implementing seamless transitions based on user selections. Follow step-by-step instructions to enhance your app's UI and functionality in Kotlin.

Creating an Android App with RatingBar Using Kotlin and Java: Step-by-Step Tutorial

Discover how to develop an Android application featuring a RatingBar using both Kotlin and Java. This tutorial provides a detailed, step-by-step guide on setting up the layout XML file and implementing functionality to manage user interactions and display ratings effectively. Follow along to enhance your app's user experience with intuitive rating capabilities.

Convert Copied Text to Audio Using Text-to-Speech (TTS) in Java & Kotlin

In this comprehensive tutorial, learn how to develop an Android app that converts copied text to audio using Text-to-Speech (TTS) functionality in Java. We guide you through the process step-by-step, covering the essential concepts, coding practices, and implementation details. By the end of this tutorial, you'll be able to create an app that reads out any text you copy, enhancing accessibility and user experience.