ZOFTINO.COM android and web dev tutorials

Java Annotations

Annotations are part of program elements and provide information about the program without changing any behavior or data of the program.

Java Enums

Java enum allow you to define a data type which contains a fixed set of constant values. The variable of enum data type can be assigned only one of the valued defined in the enum declaration.

Java Lambda Expressions

Lambda expressions allow you to create functions and pass them as arguments to methods. Lambda expressions are introduced in Java 8.

Java Nested Classes Tutorial

Like fields and methods, you can define a class inside a class. The classes which are declared inside a class are called nested classes.

Java classes and Objects

Java is an object oriented programming language. When you create an application in java, you create classes. Classes contain fields (data) and methods (behavior).

Introduction to Java Programming

Java is a powerful object oriented programming language. Java programs are translated into bytecode by java compilers. The compiled java bytecode runs on the virtual computer called Java Virtual Machine (JVM).

Android Instant Apps Tutorial

Android instant apps feature allows you to create apps in such a way that features of the app can be used on the device without installing complete app with all the features.

Android Job Scheduler Example

For scheduling background tasks, Android provides JobScheduler. It allows you to specify conditions for running work.

Android Activity Transition Animation Examples

You can apply animations to activity transitions meaning entry and exist of an activity layout content can be animated. You can define animations in xml and set them as activity transition animations by calling overridePendingTransition() method and passing animation resources for entry activity and exit activity.

Android ThreadPoolExecutor Example

As the components of android apps run on a single thread called main thread, to improve the performance of android apps, it is important to execute long running task on worker threads.

Android Threads Tutorial

Android starts a thread when a component in an app is requested to start. The thread created one per app is called the main thread. System creates a new thread when the requested component is the first one to start in the app.

Android App Permissions Tutorial

In android, without permission from the user of the device, your app can’t use system data, hardware and other features on the device. If your app depends on certain system features or hardware, it needs to request for permissions to access those features on the device.