Coding Studio

Learn & Grow together.

Browsing:

Category: Tech Post

Basic layout design using swiftUI for iOS mobile application

SwiftUI provides a powerful and intuitive way to design layouts for iOS applications using declarative syntax. The basic building blocks of a SwiftUI layout include VStack, HStack, and ZStack, which allow developers to arrange views vertically, horizontally, or by layering Read more…


What is SwiftUI? What is the purpose of SwiftUI? it’s benefits?

SwiftUI is Apple’s modern framework for building user interfaces across all Apple platforms — iOS, iPadOS, macOS, watchOS, and tvOS — using Swift. It was introduced in WWDC 2019 to simplify UI development and make code more declarative (you describe Read more…


How MediaQuery & LayoutBuilder used in adoptive design in Flutter application?

When to use MediaQuery or LayoutBuilder MediaQuery.sizeOf(context):Purpose: To get the overall screen size (width and height).When to Use:When you need to know the device’s screen dimensions.When you want to create layouts that are relative to the screen size (e.g., a Read more…


Sample Flutter App to Take Camera Picture

Taking a pic through a mobile camera is a very common phenomenon. In this topic, we would see how to implement a camera app in Flutter. Let’s start on it. pubspec.yaml dependencies version: 1.0.0+1environment: sdk: ^3.6.0# Dependencies specify other packages Read more…


What are scope functions in Kotlin? How to use them!!

Kotlin scope function ( let, run, with, apply, also ) Basically, these functions all perform the same action: execute a block of code on an objectWhen you call such a function on an object with a lambda expression provided, it Read more…


Difference between Flutter & React Native?

Flutter and React Native are two popular frameworks for developing cross-platform mobile applications. Here’s a comparison of both, along with their future scopes. 1. Technology Overview 2. Advantages Feature Flutter React Native UI/UX Consistency Consistent across platforms (pixel-perfect) UI adapts Read more…


SOLID Principles – Do you understand them?

The SOLID principles help in writing clean, scalable, and maintainable code, and they are highly applicable in Java as well. Let’s go through each principle with examples in Java. 1. Single Responsibility Principle (SRP) A class should have only one Read more…


Capture Images & Video in the Flutter App

Add Dependencies First, add the image_picker package to your pubspec.yaml file: dependencies:flutter:sdk: flutterimage_picker: ^0.8.7+4 Then, run flutter pub get to install the package. Update Android and iOS Configuration Android In your android/app/src/main/AndroidManifest.xml, add the following permissions: <uses-permission android:name=”android.permission.CAMERA”/> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/> Read more…


A well-architected Android project structure with explanations.

Objective To describe the Android project structure which focuses on separation of concern, modularization, scalability & Testability. Kindly Note: This is only a structural explanation. Here, it doesn’t cover detailed classes. Project Structure (Modularization): App Module: This is your main Read more…


Understanding Storage Types in Android: A Comprehensive Guide

Android provides multiple storage options to manage data efficiently based on different use cases. Understanding these storage types is crucial for building apps that handle data securely and efficiently. This guide will explore the various storage types in Android, along Read more…