Create an AdMob account https://developers.google.com/admob/android/quick-start First, install CocoaPods if you haven’t already: sudo gem install cocoapods Inside the Android Studio terminal, enter the following commands. The command creates a Pods directory “iosApp/Pods/Podfile” in your iOS project. cd iOSApppod init Android Studio terminal from my laptop The simplest way to import the SDK into an iOS […]
If you’re starting a Greenfield project, one of the key decisions you’ll face is selecting the right local database. Over the years, these databases have evolved significantly, with new features, improvements and some feature deprecations that could impact your choice. Photo by Oladimeji Ajegbile on Pixels.com If you’ve worked with databases before, whether on Android/iOS […]
One of the major challenges developers face in Android app development is optimizing app size without sacrificing functionality. Our team consists of only one Android Engineer working on the WINK+ app. Despite this resource constraint, we set an ambitious goal: to reduce our APK size to under 10 MB. A best-in-class product should look as […]
In the world of Android UI development, DiffUtil is a go-to tool for optimizing list updates in RecyclerView. Enter DiffUtils, a utility class that calculates the minimal changes required to transform one list into another and updates only the parts of the UI that changed, saving performance and reducing unnecessary redraws. This powerful tool relies […]
16 min read · Nov 21, 2024 A few years ago, a friend roped me into a “simple” side project to make some extra cash. The plan? Build a few apps, slap on some ads, and watch the money roll in. Easy, right? Well… not quite. We quickly found ourselves tangled in a mess of […]
For those of you interested in skipping the article, this is the GitHub link. So let’s begin! I have used Hilt and KSP (Kotlin Symbol Processing — similar to KAPT) for injecting our data layer with our UI layer. The other libraries used here are Room library for storing and retrieving the notes from the […]
I had a chance to work with the Paging 3 library, along with Jetpack Compose. This guide shares some of the basics of the paging library, along with a guide on how to implement it in any android app that is using Jetpack Compose. So I chose to build a demo news feed app to […]
In a few recent projects, I’ve needed to utilise Google Maps within environments utilising Jetpack Compose. In the early days of Compose this felt light a sought-after piece of functionality – even though it is still being built on, it now seems to be in a place where I can confidently use it. In this […]
Posted by Thomas Ezan – Sr Developer Relation Engineer (@lethargicpanda) We’re excited to announce Gaze Link as the winner of the Best Android App for our Gemini API Developer Competition! This innovative app demonstrates the potential of the Gemini API in providing a communication system for individuals with Amyotrophic lateral sclerosis (ALS) who develop severe […]
This is Part 8 of the android interview question series. This part will focus on Android architecture. 1. Can you explain the MVC and MVP patterns? What are the main differences and why are they not used in Android development? MVC is the Model-View-Controller architecture where model refers to the data model classes. The view […]