Tagged: android studio

No more SMS & Call Log permissions | Android Developers

No more SMS & Call Log permissions | Android Developers

Google is now restricting special permissions. Google is considering the user’s privacy seriously. Starting from Android Marshmallow, it has segregated dangerous permissions and introduced Runtime permissions. With Android Pie, the apps which are idle...

kotlin textwatcher 0

Android Kotlin TextWatcher Usage

package com.googlecraft.textwatcherimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.text.Editableimport android.text.TextWatcherimport android.widget.Buttonimport android.widget.EditTextclass MainActivity : AppCompatActivity() { lateinit var inputtext :EditText lateinit var action_button: Button override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) inputtext=findViewById(R.id.textinput) action_button=findViewById(R.id.button) inputtext.addTextChangedListener(object : TextWatcher { override...