hi i use dual sims on pixel 6a and there is no toggle in the dropdown menu to change…
- User
hi i use dual sims on pixel 6a and there is no toggle in the dropdown menu to change e-sims at will, so I have to always go through the setting to achieve that which is burdensome, any suggestions ?
- Assistant
Unfortunately, there is no quick toggle to switch between e-SIMs on the Pixel 6a. However, you can create a shortcut on your home screen to the e-SIM settings page to make it quicker to access.
To do this, follow these steps:
-
Go to Settings > Network & internet > Mobile network
-
Select the e-SIM you want to create a shortcut for
-
Scroll to the bottom of the page and tap "Add a shortcut to this eSIM"
-
This will add a shortcut to that e-SIM's settings page on your home screen. You can repeat this process for each e-SIM you have.
This will make it slightly easier to switch between e-SIMs, although it still requires going through the settings. Another option is to use a third-party app like Dual SIM Selector, which allows you to switch between e-SIMs with just a few taps. However, keep in mind that using third-party apps may have security risks, so use them at your own discretion.
-
- User
there is no "add shortcut to this esim"
- Assistant
I apologize for the confusion. It seems that Pixel 6a does not have the "Add a shortcut to this eSIM" option to create a shortcut on the home screen.
In that case, you could use a third-party app like QuickShortcutMaker or Nova Launcher to create a shortcut to the e-SIM settings page. Here's how to create a shortcut using QuickShortcutMaker:
-
Install QuickShortcutMaker from the Google Play Store.
-
Open the app and type "e-SIM" in the search bar.
-
Select "Mobile network" from the list of search results.
-
Tap "Create" to create a shortcut on the home screen.
-
Give the shortcut a name and select an icon.
-
The shortcut will now appear on the home screen. Tap it to quickly access the e-SIM settings page.
I hope this helps! Let me know if you have any further questions.
-
- User
i have nova launcher, but what about your write me a code for android to custom this directly ?
- Assistant
Sure, here's a way to create a shortcut to the e-SIM settings page using a direct dial widget.
-
Long-press on your home screen to open the widget menu.
-
Scroll down until you see "Direct Dial."
-
Drag the "Direct Dial" widget to the home screen.
-
In the "Select Phone Number" screen, tap "Esim settings" (you may need to scroll down to find it).
-
Tap "Create."
-
The widget will now appear on the home screen. Tap it to go directly to the e-SIM settings page.
This should work for most Android devices, including the Pixel 6a. Let me know if you have any other questions!
-
- User
no write me a code for that
- Assistant
Ah, I see. Here's the code for creating a shortcut to the e-SIM settings page using an intent:
Intent intent = new Intent(Intent.ACTION_MAIN); intent.setClassName("com.android.settings", "com.android.settings.Settings$MobileNetworkActivity"); PackageManager packageManager = getPackageManager(); if(intent.resolveActivity(packageManager) != null) { ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); ShortcutInfo shortcut = new ShortcutInfo.Builder(this, "esim_shortcut") .setShortLabel("eSIM Settings") .setIcon(Icon.createWithResource(this, R.drawable.ic_esim)) .setIntent(intent) .build(); if (shortcutManager != null) { shortcutManager.setDynamicShortcuts(Collections.singletonList(shortcut)); } }This code creates a shortcut to the e-SIM settings page using an intent with the actions
ACTION_MAINand the target activity"com.android.settings.Settings$MobileNetworkActivity".The shortcut is given a short label "eSIM Settings" and an icon. It's then added to the
ShortcutManageras a dynamic shortcut.Note that you'll need to declare the activity in your AndroidManifest.xml file to use this code.
- User
where should i put this code ?
- Assistant
You can put this code in the
onCreate()method of your activity or in a separate method that gets called when the user wants to create the shortcut.Here's an example of how you can use this code to create the shortcut when the user taps a button:
Button createShortcutButton = findViewById(R.id.create_shortcut_button); createShortcutButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { createESIMShortcut(); } }); private void createESIMShortcut() { Intent intent = new Intent(Intent.ACTION_MAIN); intent.setClassName("com.android.settings", "com.android.settings.Settings$MobileNetworkActivity"); PackageManager packageManager = getPackageManager(); if(intent.resolveActivity(packageManager) != null) { ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); ShortcutInfo shortcut = new ShortcutInfo.Builder(this, "esim_shortcut") .setShortLabel("eSIM Settings") .setIcon(Icon.createWithResource(this, R.drawable.ic_esim)) .setIntent(intent) .build(); if (shortcutManager != null) { shortcutManager.setDynamicShortcuts(Collections.singletonList(shortcut)); } } } - User
forget it, how would i go about this for nova launcher ?
- Assistant
Sure! Here's how you can create a shortcut to the e-SIM settings page using Nova Launcher:
-
Long-press on your home screen and select "Add widget" from the menu that appears.
-
Scroll down and select "Activities."
-
Scroll down until you find "Mobile network."
-
Tap and hold "Mobile network" and drag it to your home screen.
-
In the "Edit" menu that appears, change the label and icon if desired.
-
Tap "Save" to create the shortcut.
-
Tap the new widget to go directly to the e-SIM settings page.
That's it! This should work on most Android devices, including the Pixel 6a. Let me know if you have any other questions.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.