Also, I have some secret codes, which are by the way, numbers that you type in the dialer to trigger a rask, app, or carrier level mumbo jumbo, that I would like to be trigger by tasker. I found that auto dialing via tasker works, but only for codes that are at a carrier level. So when a secret code is at a device level or airplane mode is on, these code cannot be trigger by dialing via tasker with or without auto dial check. It seems like the dialer only detects the code when # is manually pressed in the dialer. Are there anyway around this?
I would be greatly grateful if anyone could give me some pointers.
The secret code is of this format **05*[OldCode]*[NewCode]*[Retypenewcode]#
Dialing the code does not work. What are your other methods?
I am currently trying the app you suggested, but it cannot seem to find keyguard.apk, which is where the lock is stored, from my long observation. I do not have the fastest Internet right now as I am out and about; do you mind if you can pull up your androidmanifest on your device?
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.systemui" coreApp="true" package="com.android.keyguard">
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.STATUS_BAR"/>
<uses-permission android:name="android.permission.DEVICE_POWER"/>
<uses-permission android:name="android.permission.MANAGE_USERS"/>
<uses-permission android:name="android.permission.MANAGE_APP_TOKENS"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
<uses-permission android:name="android.permission.BIND_APPWIDGET"/>
<uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"/>
<uses-permission android:name="android.permission.BIND_DEVICE_ADMIN"/>
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
<uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL"/>
<uses-permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"/>
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<uses-permission android:name="com.sonymobile.permission.SHOW_LOCKSCREEN_WALLPAPER"/>
<application android:label="@string/app_name" android:persistent="true" android:process="com.android.systemui" android:supportsRtl="true">
<meta-data android:name="com.sonymobile.runtimeskinning.LAF_VERSION" android:value="1"/>
<service android:exported="true" android:name=".KeyguardService"/>
</application>
</manifest>
Matt
Right now, I am trying to detect and close a system dialog whenever it opens.
By the way, while you didn't fully answer my questions, I really want to show my appeciation to people like you, making part of their time to help others. I want to give you a $10 gift card because of it. Where do you want me to e-mail it to?
%WIN might help with detection. There is an action > close system dialogue, that has worked for me with those pesky popups.
Usually, I'll work the action into the task flow itself if I can't determine it's appearance.
Matt
Event: Variable Set [ Variable:%WIN Value:* ]
Enter:
Abort Existing Task
A1: Flash [ Text:%WIN Long:Off ]
If a unique value is present, you can use it in a profile context, or work the recognition of the window event into the task itself.
Matt
Matt
Here is what happen:
1) The phone boots up, shows the keyguard, asking for the pin to be input. You cannot escape this screen, with only the emergency dialer available. Cellular signal is unavailable until password is inputted.
2) Tasker kicks in after 5 seconds, dial the number and cell is activiated.
3) The regular keyguard is shown(swipe, pin, pass at hardware level).
4) Once unlocked, the cursed popup awaits.
So my question is:
How do I decrease the time between the boot up and when Tasker kicks in? Even by making my project a system app, there is still a significant time to wait. Using a 3rd party lockscreen will instantly bypass the Sim check at bootup, but I prefer the traditional lock from aosp.
How can I get rid of that popup? I know it's a small thing, but I really want to get rid of it.
Make the dismissal of that pop-up part of your boot up sequence. Use something like secure settings to remove the keyguard, dismiss the pop-up with a back button or screen tap, then re-enable the keyguard. Or just use a variable to dismiss the pop-up the first time you unlock after boot (but not subsequent times).
Matt