Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.mobile.android > #148182

Re: How to make custom one-tap shortcuts to phone numbers in Android

From Marion <marion@facts.com>
Newsgroups comp.mobile.android
Subject Re: How to make custom one-tap shortcuts to phone numbers in Android
Date 2025-04-27 10:27 +0000
Organization BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID <vul0pv$2nrt$1@nnrp.usenet.blueworldhosting.com> (permalink)
References <vukl0r$2hgr$1@nnrp.usenet.blueworldhosting.com> <vukn4q$1k8n$1@nnrp.usenet.blueworldhosting.com> <vukrrs$2umj$1@nnrp.usenet.blueworldhosting.com>

Show all headers | View raw


This will create a "two-tap shortcut" to dial any number
on my Samsung Android 13 phone (needs to be tested on others).

1. Start "Intents" & populate as below & hit the "airplane" icon.
   <https://play.google.com/store/apps/details?id=krow.dev.scheme>
   Action = ANDROID.DIAL = Android.intent.action.DIAL
   Package Name = com.samsung.android.dialer
   Class Name = (Leave this field blank)
   Data = tel:+18007435002
   Mime Type = (Leave this field blank)
   Extra = (Leave this field blank)
   Category = (Leave this field blank)
   Result = this populated the dialer; just hit the button.

2. In "Intents", go to the "History" tab & longpress that intent.
   In "Intents" your choices for that intent are the following:
    Execute intent
    Edit alias
    Copy uri text = tel:+18007435002#Intent;action=android.intent.action.DIAL;package=com.samsung.android.dialer;end
    Remove intent
    Create shortcut = give it a name "callpge" and press "OK"
    Favorite

3. Start Intent Launcher & paste in that URI above.
   <https://play.google.com/store/apps/details?id=com.villevalta.intentlauncher>
   ACTION = ACTION_CALL
   Uri = tel:+18007435002#Intent;action=android.intent.action.DIAL;package=com.samsung.android.dialer;end
   Press the blue "LAUNCH" button
   Result: Permission Denial: starting Intent 
   { act=android.intent.action.CALL dat=tel:xxxxxxxxxxxx
   cmp=com.android.server.telecom/.components.UserCallActivity }
   from ProcessRecord{dfa61ce26780:com.villevalta.intentlauncher/u0a535}
   (pid=26780,uid=10535) requires android.permission.CALL_PHONE

The problem with creating an Intent, I think, is that almost no app is
going to have permission to make the call. It's a permission thing.

Apps that execute Intents can only set up the dialing of the number.
   ACTION = ACTION_DIAL
   tel:+18007435002#Intent;action=android.intent.action.DIAL;package=com.samsung.android.dialer;end

So, for now, I'll create a two-tap shortcut in the next post, so that
anyone can create a two-tap shortcut to call any desired phone number.

Back to comp.mobile.android | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to make custom one-tap shortcuts to phone numbers in Android Marion <marion@facts.com> - 2025-04-27 07:06 +0000
  Re: How to make custom one-tap shortcuts to phone numbers in Android Marion <marion@facts.com> - 2025-04-27 07:42 +0000
    Re: How to make custom one-tap shortcuts to phone numbers in Android Marion <marion@facts.com> - 2025-04-27 09:02 +0000
      Re: How to make custom one-tap shortcuts to phone numbers in Android Marion <marion@facts.com> - 2025-04-27 10:27 +0000
        Re: How to make custom one-tap shortcuts to phone numbers in Android Marion <marion@facts.com> - 2025-04-27 11:39 +0000
          Re: How to make custom one-tap shortcuts to phone numbers in Android Marion <marion@facts.com> - 2025-04-27 13:41 +0000

csiph-web