Posts

Showing posts from October, 2025

Pick Contact - Android Studio - Compose

Image
Implement the Contact Pick feature in and Android App To allow the user to pick a contact from the phone's contacts list, we can use contact intent. You will get all information of the contact e.g. Name, Phone Number(s), Address, Thumbnail, Email, etc. You can use get the specific information according to your requirement. To pick a contact we need to  READ_CONTACTS  permission. >>  Check for Java >> Check For Kotlin >> Check For Compose Code: Add permission in AndroidManifest.xml: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android= "http://schemas.android.com/apk/res/android" package= "com.blogspot.atifsoftwares.pickcontact" > <!--Read contact permission--> <uses-permission android:name= "android.permission.READ_CONTACTS" /> <application android:allowBackup= "true" android:icon= "@mipmap/ic_launcher" andr...

Calculator App - Android Studio - Compose

Image
How to develop a complete Calculator App using Android Studio and Compose I’ve created a modern calculator app using Android Studio (Java) with a clean and colorful interface. It supports all standard arithmetic operations, including addition, subtraction, multiplication, division, brackets, and percentages (%). The app accurately handles expressions like: 25+(10/2)-5*(5%*2)+20+50% = 74.25 Designed with a responsive layout, bright orange and blue buttons, and smooth calculation handling — it’s perfect for anyone learning Android development or wanting to build a fully functional calculator UI from scratch. >> Check for Java >> Check for Kotlin >> Check for Compose Code MainActivity.kt package com.technifysoft.myapplication import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundatio...