Posts

Dark Mode for Android App in Kotlin using DataStore Jetpack android

Image
Dark Theme Night Mode implementation programmatically Android App Development Tutorial for beginners Dark Mode is an example of optimization of User Experience as well as the Battery.  It can be implemented on any application a developer desires.

How to create Static, Dynamic & Pinned App Shortcuts in Android App

Image
Shortcuts deliver specific types of content to your users by helping them quickly access parts of your app. Android 7.1 introduced a new feature called App Shortcuts. When you long press your app icon, it shows shortcuts to specific actions which can be launched, on supported launchers. They are of three types:   Static,  Dynamic &  Pinned.

SwiftUI Tutorial | SwiftUI Masterclass 2022 - iOS App Development & Swift

Image
SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before. A complete series of tutorials covering Xcode, SwiftUI, and all the layout and development techniques. https://www.swiftuiio.com/ SwiftUI Masterclass 2022 - iOS App Development & Swift The Complete iOS App Development Course with SwiftUI From Beginner to Advanced App Developer with Xcode

Adobe XD - Shopping Cart UI templates

Image
Adobe XD : App UI UX design | Free App UI UX templates You can use it for designing social network apps, dashboard & stats apps, media & news apps (blogs, videos, galleries...), e-commerce apps, booking apps, and much more.

Compose Offline Web to App with Mobile Responsive templates ID001

Image
Create an Android WebView mobile app from a responsive website. We can do much more, explore the many useful options & features we offer below: Template price: Just 499 ₹  ONLY Kotlin Language Jetpack Compose:  This project is developed in Kotlin language with Google's latest guidelines and material design. Web Engine:  WebView is developed with the latest chromium web engine support. Chromium web engine will give you an optimal web browsing experience. Theme Support:  To change the theme you can select from our existing theme with gradient style color or single style color. You can also set the color code to get match your branding. Android Navigation Drawer:  You can remove the slide menu or set it by your choice (options, and other details ). Android Custom Toolbar:  We are providing a fully customizable toolbar. So, you can remove the toolbar to make a full-screen app. Also, you can change the toolbar style from our style presets setting. Full-Screen App:  If your website h

Compose Offline Web to App with Mobile Responsive templates ID002

Image
Create an Android WebView mobile app from a responsive website. We can do much more, explore the many useful options & features we offer below: Template price: Just 499 ₹  ONLY Kotlin Language Jetpack Compose:  This project is developed in Kotlin language with Google's latest guidelines and material design. Web Engine:  WebView is developed with the latest chromium web engine support. Chromium web engine will give you an optimal web browsing experience. Theme Support:  To change the theme you can select from our existing theme with gradient style color or single style color. You can also set the color code to get match your branding. Android Navigation Drawer:  You can remove the slide menu or set it by your choice (options, and other details ). Android Custom Toolbar:  We are providing a fully customizable toolbar. So, you can remove the toolbar to make a full-screen app. Also, you can change the toolbar style from our style presets setting. Full-Screen App:  If your website h

How to create an App Walkthrough or Onboarding with SwiftUI 4.0 Tutorial

Image
SwiftUI 4.0 App Walkthrough Screens - Onboarding Screen 2022. In this article, I'm going to show how to create a Stylish Onboarding Screen/App Walkthrough Screens Using SwiftUI 4.0 Onboarding is a virtual unboxing experience that helps users get started with an app. Swift UI 4.0 code snippets for the IOS app developers: .. GET source code on Github: ..

How to create bottom sheet dialog with Jetpack Compose?

Image
In this Jetpack compose tutorial we will learn How to create bottom sheet dialog in Android application using Jetpack Compose. Bottom sheet is an area containing additional content that are anchored to the bottom of the screen.  Scaffold basically provides API that will combine different material components to make our layout. In the same way BackdropScaffold uses a backdrop as the centerpiece of the screen. To use bottom sheet we need BottomSheetScaffold which is annotated  as ExperimentalMaterialApi, BottomSheetState (State which persistent bottom sheet in BottomSheetScaffold), remember BottomSheetScaffoldState ( which create and remember BottomSheetScaffoldState) Some parameters for BottomSheetScaffold were given below: sheetContent - Which contains the content of the bottom sheet. scaffoldState - state of the Scaffold. topBar -  top bar bar which is optional field. sheetPeekHeight - The height of the bottom sheet when it is collapsed. sheetContentColor - To set the color for the bo

Let us build app with Google Jetpack Compose?

Image
Let us build better apps faster & beautiful with Jetpack Compose. Jetpack Compose course for Android with Kotlin Modern Android apps with Jetpack Compose and integrations: Basic,  MVVM, Coroutines, ViewModel, LiveData, Retrofit, Navigation, UI UX & so on.

Custom Bottom Navigation Bar

Image
Bottom Navigation Bar in Android Jetpack Compose In this article, we will learn how to add bottom navigation in Jetpack Compose. Below is a sample of how it will look. 

App Request Permission in android - Bolt UIX

Image
Permission requests should be simple, transparent, and understandable. Pay attention to permissions Build trust with your users by being transparent and providing users control over how they experience your app. UI for prominent disclosure when requesting for permissions from user. I'm going to show you how to implement run time permission request with kotlin . 

Custom Dialog box in android - Bolt UIX

Image
How to create a Custom Dialog box in android? - Android Material UI/UX Let us create a Custom Dialog box in Android using a View binding. Use this syntax for a 100% crash-free custom dialog solution & create your own customized dialog box. No 3rd party plugin is required. Step 1 Need to add a view binding in app-level Gradle (by default it will be added while you create a new project) View binding is a feature that allows you to more easily write code that interacts with views. (Read more) buildFeatures { viewBinding true }

Compose WebView Part 12 | No internet screen

Image
No Internet & Error Screen: When the app doesn’t get any internet connection, you can show error message on app screen “no internet connection” or any type of error message related to the problem. This example demonstrates how do I load No internet Screen from asset directory into WebView in android.

Compose WebView Part 11 | Webpage not available

Image
Error Screen: When the web page is not available means, you can show error message on app screen “404 page not found” or any type of error message related to the problem, instead of showing broken web page like Webpage not available. This example demonstrates how do I load 404 files from asset directory into WebView in android.

Compose WebView Part 10 | Show Loader

Image
How do i display Loader while loading url - Jetpack compose In this jetpack compose tutorial series we will cover how to display loader screen while loading the webpage inside webview with jetpack compose. To handle the webpage loading status we will use WebViewClient class.

Compose WebView Part 9 | Removes or Stop Ad in web

Image
A WebView that can block basic ads. Very Easy to setup for Android Projects. No 3rd party plugin is required. Android web view code is basically stop the ads and remove the html from it and render it again. Removes or Stop Ad in web view with Jetpack Compose in Android Studio | Kotlin | Jetpack Compose | Android Tutorials

Compose WebView Part 8 | Navigation Go To Previous Page

Image
 Jetpack Compose WebView Handling Back Navigation And Go To Previous Page The WebViewClient listens for onPageStarted which checks if the WebView can navigate backwards and then updates backEnabled. This causes a recomposition which toggles the BackHandler on and off.

Compose WebView Part 7 | Hide elements from web view

Image
We can also hide elements (html's id or class) from webview loading in android. So are going to hide some elements like menu or buttons from 3rd party websites while web view on loading. Hide elements from web view with Jetpack Compose in Android Studio | Kotlin | Jetpack Compose | Android Tutorials

Compose WebView Part 6 | Bind JavaScript code to Android code

Image
When developing a web application that's designed specifically for the WebView in your Android app, you can create interfaces between your JavaScript code and client-side Android code. For example, your JavaScript code can call a method in your Android code to display a Dialog, instead of using JavaScript's alert() function.

Compose WebView Part 5 | Should Override URL Loading

Image
Should Override URL Loading :  Public Boolean shoulderoverrideurloading (WebView, string Url) is a method defined in the WebViewClient class. We can override the logic in WebView when the return value is true, and call the system browser or third-party browser when it is false.  We are going to redirect Facebook to Instagram site in this web view example using override  shoulderoverrideurloading method

Compose WebView Part 4 | OFFLINE Load from Assets folder

Image
We learn online webview to load a webpage/website from URL online. We can also load a webpage from the assets folder in jetpack compose webview.  You can provide web-based content—such as HTML, JavaScript, and CSS—for your app to use that you statically compile into the application rather than fetch over the internet. This example demonstrates how do I load files from asset directory into WebView in android.

Compose WebView Part 3 | Handle configuration changes

Image
Handling an orientation change without reloading the page from source each time. To manually handle orientation changes in your app you must declare the "orientation", "screenSize", and "screenLayout" values in the android:configChanges attributes. You can declare multiple configuration values in the attribute by separating them with a pipe | character. WebView With Jetpack Compose in Android Studio | Kotlin | Jetpack Compose | Android Tutorials

Compose WebView Part 2 Play Video | Enable JS setting

Image
JavaScript is disabled in a WebView by default. You can enable it through the WebSettings attached to your WebView.You can retrieve WebSettings with getSettings(), then enable JavaScript with setJavaScriptEnabled(). WebView With Jetpack Compose in Android Studio | Kotlin | Jetpack Compose | Android Tutorials

Compose WebView Part 1 Load URL

Image
WebView With Jetpack Compose in Android Studio | Kotlin | Jetpack Compose | Android Tutorials In Android, a Compose WebView is an extension of View Class that allows us to display webpages. In simpler words, if you want to display a webpage in Activity Layout, then you can implement a WebView to display it. 

Gradient Button | Shapes in Jetpack compose

Image
In this Jetpack compose tutorial, we will see how to create Gradient Buttons using Jetpack Compose. Jetpack Compose is a cutting-edge toolkit for creating native Android user interfaces. It simplifies and accelerates UI development on Android by using minimal code, powerful tools, and explicit Kotlin APIs. Compose supports material design ideas. Many of its UI elements are built with material design in mind right out of the box.