Open in app

Sign in

Write

Sign in

Sagar Malhotra
Sagar Malhotra

37 Followers

Home

About

Published in

ProAndroidDev

·Pinned

Phone Number Hint API in Jetpack Compose

The Phone Number Hint API is a part of the Google Play services library and uses a PendingIntent to initiate the flow. This means that the user is presented with a UI that lists all of their SIM-based phone numbers. The user can then select the phone number they would…

Androidwithsagar

3 min read

Phone Number Hint API in Jetpack Compose
Phone Number Hint API in Jetpack Compose
Androidwithsagar

3 min read


Nov 17

Razorpay Integration in Android: Easy Step-by-Step Guide

In this article, I will be showing you how you can integrate the Razorpay payment gateway into your production-ready application. …

Android

3 min read

Razorpay Integration in Android: Easy Step-by-Step Guide
Razorpay Integration in Android: Easy Step-by-Step Guide
Android

3 min read


Published in

Stackademic

·Nov 8

Jetpack Compose UI Testing in Android

Like always we will directly jump into the implementation part and learn the things on the go… Dependency: // Test rules and transitive dependencies: androidTestImplementation("androidx.compose.ui:ui-test-junit4:$compose_version") // Needed for createAndroidComposeRule, but not createComposeRule: debugImplementation("androidx.compose.ui:ui-test-manifest:$compose_version") As you can see, Compose testing is only supported with JUnit4. …

Android

4 min read

Jetpack Compose UI Testing in Android
Jetpack Compose UI Testing in Android
Android

4 min read


Published in

ProAndroidDev

·Sep 11

Building a Referral system: Play Install Referrer Library in Android

Pre-requisites: A unique referral code generation mechanism for every user(should be done in the backend). Testing the feature can be done in the developer release of your app. Applying and checking the referral code validation should be done with your backend API request. (Not shown here) Implementation: Sender: This perspective is of the…

Android

4 min read

Building a Referral system: Play Install Referrer Library in Android
Building a Referral system: Play Install Referrer Library in Android
Android

4 min read


Published in

Stackademic

·Sep 5

Firebase Cloud Messaging in Android: Efficiently Handling the Device Token

FCM workflow Overview: A unique identifier of every device is generated each time the fresh(First launch, clear data, re-installing, etc) app is there. We’ll call it Device FCM Token or just Token. Token is required to send PUSH notifications to those particular devices.(We can also group some Tokens and send group notification) You…

Android

5 min read

Firebase Cloud Messaging in Android : Efficiently handling the Device Token
Firebase Cloud Messaging in Android : Efficiently handling the Device Token
Android

5 min read


Published in

Stackademic

·Aug 17

Testing Retrofit API Calls in Android

Retrofit is a type-safe HTTP-Client which you are using in your android project to consume the API responses you want. Why need to test this? Your API development is independent from your android project and it might have some structural changes over the time. …

Android

4 min read

Testing Retrofit API Calls in Android
Testing Retrofit API Calls in Android
Android

4 min read


Published in

Stackademic

·Aug 13

ViewModel Testing with JUnit5, MockK & Turbine

Introduction: Unit testing your viewmodel class is one of the most important step in your Android application development as it is the only place where you manage all your UiState and interact with data layer, so you need to ensure everything works as expected in this layer. JUnit5 is the next…

Android

4 min read

ViewModel Testing with JUnit5, MockK & Turbine
ViewModel Testing with JUnit5, MockK & Turbine
Android

4 min read


Published in

Stackademic

·Aug 12

Using Proto Datastore in Jetpack compose with Hilt

What is Proto Datastore: One of the downsides of SharedPreferences and Preferences DataStore is that there is no way to define a schema or to ensure that keys are accessed with the correct type. Proto DataStore addresses this problem by using Protocol buffers to define the schema. …

Android

4 min read

Using Proto Datastore in Jetpack compose with Hilt
Using Proto Datastore in Jetpack compose with Hilt
Android

4 min read


Jul 28

Use GoogleMaps and get Marker Address Details in Jetpack Compose

Output:

Androidwithsagar

3 min read

Use GoogleMaps and get Marker Address Details in Jetpack Compose
Use GoogleMaps and get Marker Address Details in Jetpack Compose
Androidwithsagar

3 min read


Published in

Stackademic

·Jul 17

Show ‘Turn on device location’ Request(like Google Maps) in Jetpack Compose

Output:

Androidwithsagar

4 min read

Show ‘Turn on device location’ Request(like Google Maps) in Jetpack Compose
Show ‘Turn on device location’ Request(like Google Maps) in Jetpack Compose
Androidwithsagar

4 min read

Sagar Malhotra

Sagar Malhotra

37 Followers

Android | Open Source | YouTube

Following
  • Sohom Das

    Sohom Das

  • Radhika S

    Radhika S

  • Jaewoong Eum

    Jaewoong Eum

  • Daniel Atitienei

    Daniel Atitienei

  • Abdelfattah Sekak

    Abdelfattah Sekak

See all (81)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams