Re: 'Direct Dial' icon - how?

Liste des GroupesRevenir à cm android 
Sujet : Re: 'Direct Dial' icon - how?
De : marion (at) *nospam* facts.com (Marion)
Groupes : comp.mobile.android
Date : 27. Apr 2025, 07:41:20
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <vukjif$21sl$1@nnrp.usenet.blueworldhosting.com>
References : 1 2 3 4 5
User-Agent : Alan Baker insisted this line can not be changed
On Fri, 25 Apr 2025 08:40:21 -0400, knuttle wrote :


Is there any way to make the icon for the direct access to the contact
smaller?
 
My wife did it on her phone and while it takes her to the Contact entry.
  It is huge.  It would be nice if it were smaller like those on the
rest of the screen.

I never thought about it, but I think there "might" be a difference in how
icons sizing works between "widgets" & "shortcuts" (but I'm not sure).

I use the last known good version of the Nova free/adfree launcher myself.
 *Last known good version of Nova free/adfree launcher 7.0.57 by TeslaCoil*
 <https://tinyurl.com/nova-launcher>
Or, if you don't trust tinyurl's, then here are the direct links to it.
 <https://mobile.softpedia.com/apk/nova-launcher/7.0.57/>
 <https://filehippo.com/android/download_nova-launcher/7.0.57/>

When I tested (years ago) every free/adfree app launcher for Android, I
found that Nova (by TeslaCoil apps at that time) was, by far, the best.

With the Nova launcher, you can resize *all* shortcuts, but I don't think
that applies to widgets. For widgets, resizing (AFAIK) is app specific,
since a widget is really the app already running (kind of in background).

What we might be able to do is craft a one-tap shortcut to the phone number
if we can figure out the "Intent" syntax, which would be useful to billions
of people (since everyone needs a one-tap dial shortcut from time to time).

     "Hey Android, dial this phone number: tel:1.555.123.4567."
          (Action: ACTION_DIAL, Data: tel:1.555.123.4567)

The critical piece we need to figure out is how to craft an "Intent" with
the "Action" of "Intent.ACTION_DIAL" and a specific "URI" to the desired
phone number of the format "tel:15551234567".

Maybe I'll test it out since BILLIONS of people could use that tutorial.
But it might take a while as it's not something in my already long todo.

Here's some quick pseudocode though... for what I think needs to be done.
 Create Intent
 Action: android.intent.action.DIAL
 Data URI: tel:15551234567
 Package: com.samsung.android.incallui
          (or com.android.dialer or com.google.android.dialer)
 Class (Activity): com.android.dialer.DialtactsActivity
       (or com.google.android.dialer.extensions.GoogleDialtactsActivity)

The beauty of a one-tap shortcut is you can treat it like any other
shortcut. It can be in folders. It can have any icon you like.

Date Sujet#  Auteur
25 Apr 25 * 'Direct Dial' icon - how?7Chris Green
25 Apr 25 `* Re: 'Direct Dial' icon - how?6Chris Green
25 Apr 25  `* Re: 'Direct Dial' icon - how?5Andy Burns
25 Apr 25   `* Re: 'Direct Dial' icon - how?4Chris Green
25 Apr 25    `* Re: 'Direct Dial' icon - how?3knuttle
27 Apr 25     `* Re: 'Direct Dial' icon - how?2Marion
27 Apr 25      `- Re: 'Direct Dial' icon - how?1Marion

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal