this post was submitted on 23 Jul 2023
7 points (100.0% liked)
Ask Android
2203 readers
1 users here now
A place to ask your questions and seek help related to your Android device and the Android ecosystem.
Whether you're looking for app recommendations, phone buying advice, or want to explore rooting and tutorials, this is the place for you!
Rules
- Be descriptive: Help us help you by providing as many details as you can.
- Be patient: You're getting free help from Internet strangers, so you may have to wait for an answer.
- Be helpful: If someone asks you for more information, tell us what you can. If someone asks you for a screenshot, please provide one!
- Be nice: Treat others with respect, even if you don't agree with their advice. Accordingly, you should expect others to be nice to you as well. Report intentionally rude answers.
- No piracy: Sharing or discussing pirated content is strictly prohibited. Do not ask others for a paid app or about how to acquire one.
- No affiliate/marketing links: Posting affiliate links is not allowed.
- No URL shorteners: These can hide the true location of the page and lead people to malicious places.
- No lockscreen bypasses: Please do not comment, link, or assist with bypassing lock screens or factory reset protection.
- No cross-posting: Please take the time to make a proper post instead of cross-posting.
Other Communities
- !android@lemdro.id
- !androidmemes@lemdro.id
- !google@lemdro.id
- !googlepixel@lemdro.id
- !xiaomi@lemdro.id
- !sony@lemdro.id
- !samsung@lemdro.id
- !galaxywatch@lemdro.id
- !oneplus@lemdro.id
- !motorola@lemdro.id
- !meta@lemdro.id
- !apple@lemdro.id
- !microsoft@lemdro.id
- !chatgpt@lemdro.id
- !bing@lemdro.id
- !reddit@lemdro.id
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sure, I can guide you through the process. Since you mentioned both Tasker and MacroDroid, I'll outline the process for each.
Tasker:
In Tasker, you would first need to create a new task. You can do this by going to the "Tasks" tab and clicking the "+" button.
Then, give your task a name. Something like "Open Internet Connectivity Panel" might be appropriate.
In your new task, you'll need to add an action. To do this, click the "+" button inside your task.
You want to use the "Send Intent" action. This can be found under the "System" category.
In the "Action" field of the "Send Intent" action, you would put "android.settings.WIRELESS_SETTINGS". This is the intent that opens the wireless & networks settings page, which includes the internet connectivity settings.
You can leave the other fields blank, as they are not needed for this intent.
Finally, you can link this task to a shortcut on your home screen by long pressing on an empty space on your home screen, selecting "Widgets", and then finding the "Task Shortcut" widget from Tasker.
MacroDroid:
In MacroDroid, you would start by creating a new macro. This can be done from the main screen by clicking the "+" button.
For the trigger, you can select "Shortcut Launched", and then give your shortcut a name.
For the action, you want to use the "Launch Activity" action. This can be found under the "Applications" category.
In the "Launch Activity" action, you need to find the settings app, and then find the activity that corresponds to the internet connectivity settings. This might be something like "com.android.settings.Settings$WirelessSettingsActivity", but it can vary between devices.
Once you have set up the action, you can save your macro. It will automatically create a shortcut on your home screen that triggers the macro when clicked.
I hope this helps! If you have any further questions, feel free to ask.
Thanks GPT4! The exact intent I needed was this: android.settings.panel.action.INTERNET_CONNECTIVITY