Phone Number Hint API in Jetpack Compose | by Sagar Malhotra | Jul, 2023
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…
Google SMS-Retriever API in Jetpack Compose | by Sagar Malhotra
The Google SMS-Retrieval API allows Android apps to automatically retrieve SMS messages containing one-time passwords (OTPs) from the user’s device by showing a one-time consent to the user before reading the SMS. This can be used to improve the user experience by eliminating the need…
Kotlin’s Supercharged Flow API — Combining and Merging Flows for Reactive Programming | by Nirbhay Pherwani | Aug, 2023
.combine is a function provided by Kotlin’s Flow API. It allows us to combine two or more flows into a single flow, emitting values whenever any of the source flows emit a new value. This is useful for scenarios where you want to react to…
MenuProvider API— Android. In this article, we will learn how to… | by Nav Singh | Aug, 2023
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {super.onViewCreated(view, savedInstanceState)// Add options menu to the toolbarrequireActivity().addMenuProvider(object : MenuProvider {override fun onCreateMenu(menu: Menu, menuInflater: MenuInflater) {menuInflater.inflate(R.menu.main_menu, menu)}override fun onMenuItemSelected(menuItem: MenuItem): Boolean {return when (menuItem.itemId) {R.id.settings -> {true}else -> false}}}, viewLifecycleOwner)} Source link
REST vs gRPC- Which is the best API Protocol?
In today’s time, most business projects need the use of APIs in their technology. APIs traverse communication between services that might address a single or complex system. It can dwell on single or multiple machines, networks, or languages. Many tech advancements address the inter-service communication…
Github Actions, Transforming UseCase, Jetpack Compose, Kotlin Multiplatform libraries API, Android Lint, and more! | by Shahla Aliyeva | Aug, 2023
Just as always, we are reachable via editors@proandroiddev.com. We look forward to reading your feedback, article submissions, and partnership ideas. Follow us on Facebook and Twitter, and see you soon! Cheers, ProAndroidDev Team Sergii Zhuk . Greg Fawson . Andy Dyer . Brian Gardner ….
From REST API to CoreData in One Step
So, your application retrieves data from a REST API and you need to decode it into custom objects and save them to CoreData, but you aren’t sure how to do it. I was recently in this position while building a bookmarks and rss feed manager….