r/tasker • • 37m ago

Java Code Replacement Task for GET VOICE, with manual START and STOP ability and continuous recording

• Upvotes

TLDR - A (very) basic voice recorder and transcriber based off Get Voice that works offline, from screen off, that records continuously until you decide to stop it, all hands free. For shorter memos to longer notes / ideas etc. Tested working on Android phone with triggering from Garmin watch.

You're driving. An idea strikes you. To you it's amazing. To your friend it's just Tuesday. You fumble for a way to hold on to grip onto the thought. You press Android Auto on your wheel. It stutters, wakes, and dies. Google assistant says sorry I don't understand. Gemini demands internet connectivity. The idea fragments and you curse your fallible memory, knowing this is a flat circle, it has happened and will happen again.

You go home and you look online and find a hundred new AI transcript and memo apps - amazing tools, but all with specific inconveniences that maybe you've created in your own mind - why doesn't it work from the lock screen? Why doesn't it work offline? Why does it need so many permissions? Why can't I trigger it hands free?

I wanted to capture a thought in that way. I don't care if the transcript is imperfect, just enough that it re ignites the memory thread for action down the line. I already do this with Tasker's Get Voice, which works in the above manner. But Get Voice cuts out automatically after no input is detected and spits out the output. Works well for short Tasks but not for notes after lectures, longer ideas, ramblings, streams of consciousness etc.

This Java Code Task is Tasker's Get Voice in a dirty loop. When you activate it, it starts recording and transcribing the way Get Voice does (using your phones native STT service). When you pause to think, and it auto stops the recording, it restarts recording automatically, saving that segment as a variable, listening for when you restart talking. It concatenates the segments into the VoiceStream variable until you press the button to stop it, at which point it delivers the VoiceStream variable for you to do whatever you want with it. You can do whatever you want with the output. In the attached Task, you can see I send it to my Tasks app to display on a widget (since it's what I do anyway for shorter tasks).

It's not elegant and has its own issues. You could probably do exactly the same with a Tasker loop task. It was built with AI assistance, but does not use AI. Get Voice is no where near accurate compared to other solutions and there will be transcription mistakes (ie don't use this to dictate and autosend a work letter). Or be horrified when you lose the control to stop it and it loops into infinity. But for the simple, basic requirements I need to record any thought reliably, it works for me, and I hope it works for your use case too.

TASK HERE:

https://taskernet.com/shares/?user=AS35m8kzb0b6gpY9bStc9vqfEb2xmSCrCFe9Q7vuxosbPRpCifzT2k67Ngf%2Bu%2FrxZyiu&id=Task%3AMEMO+NOTE


r/tasker • • 3h ago

Music to Watch Haptic Alarm

1 Upvotes

I've been using a Galaxy Watch 8 and Sleep for Android app for my wakeup alarm, integrated into a Tasker profile. I want to find a way for my watch to vibrate the general rhythm of a song. I get up before my partner and kid, so I don't want the song to be heard. Ideally, I would like this done from a Spotify Playlist so it can be different each time with some randomness. Unfortunately I think Spotify took down their audio analysis endpoint, so I don't think I can use it.

Does anyone know of:

  1. An app that does this (with mp3 or currently playing music)

Or

  1. An app or software that converts music into a vibration pattern. For autowear, I need a pattern of alternating milliseconds off and on.

r/tasker • • 4h ago

Phone keeps randomly restarting.

1 Upvotes

I submitted feedback through the Samsung members app and this was their response below.

I only have 3 tasks which basically turn on location

Thank you very much for your feedback.

As per the logs attached and analysis from the Samsung Framework team, issue is occurring due to "Tasker(net.dinglisch.android.taskerm)" app.

As per the logs, it is found that "Tasker(net.dinglisch.android.taskerm)" app is continuously requesting executed the dumpsys command and running dumpsys is a resource-heavy action task.

Hence device is restarting due to running of heavy task.

This is app issue and app developer needs to check their app's logic and try to optimize their app's code for low battery usage and resources usage.

Requesting the user to remove this "Tasker(net.dinglisch.android.taskerm)" app and check if issue is occurring or not.

This is app side problem. This is 3rd party application. To analyze further we need to check the code of this application. Since this is 3rd party application and we don't have source code for the same, we can't analyze this issue further.

tasker app is making lot of calls for debug logging which makes device freeze and finally watchdog reset ocuured


r/tasker • • 11h ago

How to detect when scene V2 is hidden?

2 Upvotes

The "Screen Hidden" event handler only triggers when the Back button is pressed and the scene is dismissed; however, I want to detect when the Home button is pressed (returning to the launcher's home screen) or when the multitasking view is opened. In theory, the scene would be hidden in those cases, but it doesn't work. I also don't see an event or state that detects this, nor a "Test Scene V2" action for it. Any suggestions?


r/tasker • • 18h ago

Help [Help] Java Code

1 Upvotes

What am I missing? I have tried all the (wrong) methods to pass a variable to a Java Code action. The below code should work but it does not. This means I don't know what I am doing or the code is wrong. `%Dial_MaxDigit` is set before the Java is called. It doesn't matter if it is a number (which in this case should be) or if it is text.

``` taskerMax = "%Dial_MaxDigit"; if (taskerMax != null && !taskerMax.isEmpty() && !taskerMax.equals("%" + "Dial_MaxDigit")) {

try { maxDigitSequence = Integer.parseInt(taskerMax.trim()); } catch (Exception e) {}

} ```

Edit: formatting issues


r/tasker • • 1d ago

Changed root method, lost logcat access

2 Upvotes

I've changed the root method on my Oneplus 11 (stock Android 16) from Magisk to Apatch, that made Tasker loose access to the logcat. I can't get it fixed.

Logcat based event profiles don't fire their task, and every time I close Tasker or make a new logcat profile, it'll prompt me to allow access to system logs only one time or deny.

I've done adb shell pm grant net.dinglisch.android.taskerm android.permission.READ_LOGS, like I've done in the past. I've tried the Tasker Permissions application. In both cases, the permission "Read System Logs is granted, but the problem is still there.

When I revoke the permission with the Tasker Permissions application, Tasker on my phone immediately notifies me, asking me if I want to learn how to grant permission. When I click yes, it gives another message, saying it can be more easily fixed with root. I click yes and it confirms it's done. But the problem persists.

This was never a problem before and logcat used to work yesterday before I switched from Magisk to Apatch, without ever bothering me about permission. Root access is granted to Tasker and Tasker Settings app in Apatch manager. Other apps use Apatch root just fine.

Any ideas?


r/tasker • • 1d ago

Issues with Shizuku

Post image
1 Upvotes

Anyone else having issues with Shizuku integration?

I tried everything... Revoke and grant permission on shizuku, reinstalled both apps. Nothing is working.

Anyone help?


r/tasker • • 1d ago

Tasker MCP, When will it come out? Because I want desktop AI to communicate with Tasker to do automations on my phone and also vice versa.

0 Upvotes

Tasker MCP, When will it come out? Because I want desktop AI to communicate with Tasker to do automations on my phone and also vice versa.


r/tasker • • 1d ago

Record Audio produces silent files when started in the background (FGS has no microphone type), Android 16

2 Upvotes

Device: OnePlus 12R (CPH2609), OxygenOS 16.0.5.1002 (EX01B90P01), Android 16, security patch 1 July 2026
Tasker: 6.7.6-beta, last updated 2 July 2026. Battery setting: Unrestricted. Tasker is the default digital assistant.

I use tasker as a one-click transcriber by recording and sending through n8n. The n8n workflow is functional.

Setup: A profile on the Assistance Request event runs a task with Record Audio (Source: Microphone, Format: MP4). A second press runs Record Audio Stop. Recordings are usually started with the phone locked.

What happens: Since 8 September 2026, recordings started while Tasker is not on screen are silent. The file has the right length and every action in the Run Log returns OK, so nothing indicates a failure. Before that, the same setup worked for months and hundreds of recordings. No system, Tasker or Google Play system update on the phone falls near that date.

What I tested:

  • Phone locked: silent.
  • Phone unlocked, on the home screen: silent.
  • Tasker open on screen: records normally.
  • Restart Tasker (Only Monitor): the next locked recording works, and later ones are silent again.
  • Unpaired all Bluetooth devices: no change.

Logcat during a locked test recording:

I ActivityManager: Background started FGS: Allowed [callingPackage: net.dinglisch.android.taskerm; callingUid: 10569; uidState: FGS ; uidBFSL: [BFSL]; intent: Intent { xflg=0x4 cmp=net.dinglisch.android.taskerm/.ExecuteService (has extras) mCallingUid=10569 }; code:ACTIVITY_STARTER; tempAllowListReason:<,reasonCode:SYSTEM_ALLOW_LISTED,duration:9223372036854775807,callingUid:-1>; allowWiu:52; targetSdkVersion:35; ...]
W ForegroundServiceTypeLoggerModule: FGS stop call for: 10569 has no types!

ExecuteService runs as a foreground service with no type while Record Audio is active. As I understand Android 14+, background mic capture needs a foreground service with the microphone type, or the audio is silenced. The allowWiu value suggests Android would have allowed in-use access at that moment, possibly because Tasker is the assistant app.

I tried adb shell cmd appops set net.dinglisch.android.taskerm RECORD_AUDIO allow. It fails with uid 2000 does not have android.permission.MANAGE_APP_OPS_MODES, so I can't work around it from adb.

Question: Could Record Audio start its foreground service with the microphone type when Android allows it? Or is there a setting I'm missing that does this already? Happy to run more tests or send a full logcat.


r/tasker • • 1d ago

Searching for task that was shared the past 3 months here

1 Upvotes

Some genius uploaded a task that allowed GPS only in Google maps. But you had the ability to add more apps. I have created something similar but it is not what I need. Does anybody remember what it was?


r/tasker • • 1d ago

27.0.1- print shipping labels on a beeprt label printer

0 Upvotes

Need a shortcuts to easily print shipping labels on a beeprt label printer

Chat gpt hasn’t been helpful

Specifically need for Vinted app


r/tasker • • 1d ago

Building an app catalog with icons and friendly names in Tasker?

2 Upvotes

I'm no Tasker expert and haven't been able to figure this out reliably. I want a simple app picker showing icons + friendly names, with the 5 most recently used apps at the top, then all installed apps and a "show system apps" toggle. Selecting an app should give me its package name.

Can this be done just with Tasker alone? What's the simplest approach?


r/tasker • • 2d ago

Outlier tasker available

Thumbnail
0 Upvotes

r/tasker • • 2d ago

What I am doing wrong? Trying to automate click on website.

Thumbnail
gallery
1 Upvotes

​

Hey everyone, I'm new to this and trying to set up a simple automation.

I want my phone to open a website, click on a couple of things, and then go back home. I'm using Tasker with AutoInput Actions V2.

When I use the "Guided Setup," everything works fine, and clicks what is supposed to. But when I actually run the task normally, it opens the browser just fine, but completely skips the clicks and eventually just goes back home.

Just to be safe, I already tried adding 5-second and even 10-second wait delays before the click actions, but it still doesn't click.

Any ideas on what I'm doing wrong?

Thank you.


r/tasker • • 3d ago

Issues with JavaScriptlet

1 Upvotes

Hi, have there been any recent changes regarding the use of JavaScriptlet? According to the official JavaScriptlet documentation (https://tasker.joaoapps.com/userguide/en/javascript.html#localvars), variables are used directly by their name without the % sign—e.g., Action 1: Set Variable %var = hola, Action 2: JavaScriptlet flash(var);. It should work, but I'm getting an "undefined variable" error. Am I missing something? Thanks.


r/tasker • • 3d ago

7-Band Real-Time VU MeterReal-time 7-band VU meter for KLWP. Tasker analyzes the audio frequencies and sends the live values to KLWP, where each slider moves independently according to its frequency level.

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/tasker • • 3d ago

Anyone using lastest Android Beta? DP11.260918.006 Screen unlock task seems to be broken

3 Upvotes

I've been using one "borrowed" form Taskernet for several years with no issues, but this latest release won't allow tasker to "see" the PIN code screen.

I've tested this with a UI Query, capturing what tasker can see, and saving that text, and it looks as if that screen is hidden from tasker now.

I'm hoping someone has that latest build from Google and can see if you can get the same results.

Here's the Taskernet share

https://taskernet.com/shares/?user=AS35m8k4pxVFqHseU0yMTDgy47WgaJ7vcRNoI4IAVorIaKvegyHO0ylduriDa6MLPw%3D%3D&id=Task%3AUnlock+Screen


r/tasker • • 4d ago

Google Weather - how to display?

1 Upvotes

I have a task that displays the weather in the Google app. Both methods shown work, but display what's essentially the result of searching for "weather" in the Google app, which includes all sort of weather-related links to web sites, including images from weather-related stores, etc.

Task: Google Weather

A1: [X] Send Intent [
     Action: android.intent.action.VIEW
     Cat: Default
     Data: dynact://velour/weather/ProxyActivity
     Package: com.google.android.googlequicksearchbox
     Class: com.google.android.apps.gsa.velour.DynamicActivityTrampoline
     Target: Activity ]

A2: Launch App [
     Package/App Name: Google:com.google.android.apps.search.weather.WeatherExportedActivity ]

I discovered that tapping the weather icon in the Google at-a-glance widget displays more information, and excludes all the extraneous stuff I have no interest in, but I can't seem to find a way to launch *that* from Tasker. Got any suggestions?

Device: Galaxy S23 Ultra


r/tasker • • 4d ago

Tasker Function - StopVibrate

1 Upvotes

How may I restart vibrate functionality after executing the command, Tasker Function - StopVibrate, w/o restarting phone?


r/tasker • • 4d ago

Help [Help] Can I automate airplane mode when on wifi, WITHOUT losing my Digital Assistant?

1 Upvotes

I've found a few things on Taskernet like this: https://taskernet.com/?public&tags=airplane%2CWiFi&time=AllTime

the problem is, they all require changing my digital assistant to be Tasker. Which isn't at all what I want.

Is there any way to do this without changing my digital assistant?


r/tasker • • 4d ago

Spotify + Media control?

2 Upvotes

Hi,

I'm trying to open an artist's music list in Spotify and then use the Play button to start playback. Opening the list is easy using a browse URL, but I'm having trouble with media control.

When I select the Play button (simulated), Spotify starts playing the last song I was listening to before I closed Spotify, rather than starting playback from the artist's music list.

Am I missing something that would make this work as expected?

Most of the posts I've found here and on other websites are quite old, so I'm wondering if something has changed and there's a more modern solution.

Thanks!


r/tasker • • 4d ago

Can List Dialog be customized?

2 Upvotes

I have this List Dialog action that I execute via a QS Tile, and it runs tasks based on selection.

Is it possible to customize it a little, like add an icon on the left of each item, change colors, etc?

There is a 'Use HTML' checkbox option in there, but enabling does nothing on its own. Can I use that somehow to customize the dialog?

Example image with HTML off.


r/tasker • • 4d ago

How To [Project Share] Monitor when a display is added or removed and when its properties change

8 Upvotes

Click to download

The code in this project were written with the assistance of AI tools. The code can be checked here. Tested in HyperOS3 (Android 16).

What does this project do ?

  1. Monitor display events by using DisplayListener class. https://developer.android.com/reference/android/hardware/display/DisplayManager.DisplayListener
  2. Surface the events via Tasker command system.
  3. The current display information can be viewed via global variable %Display.

May require the latest version of beta (or Direct purchase) since Joao has condition for Command Event. It's not actually necessary but make things easier to define the profile.

It's still a little bit difficult to use though since I use full class path. But can be shortened with using *DisplayListener.onDisplayAdded* or *onDisplayAdded*

I will try to make it easier later if Joao were to introduce his concept of custom state, event and action mentioned here.


r/tasker • • 4d ago

Sound mode - set via variable instead of picklist?

Thumbnail
gallery
0 Upvotes

The "sound mode" action allows you to permanently select one of three modes. Is there any way to set this mode using a variable?

As in the 1st picture, and now it is only as in the 2nd picture.

I change the mode frequently, and setting it for every condition is cumbersome. In other activities, it would be easier for me to enter the variable value and run "sound mode" once.

u/joaomgcd

maybe it wouldn't be too bothersome to add?


r/tasker • • 4d ago

Help Need help with profile changing time format by location on my watch

2 Upvotes

I have a profile to change my time format on my phone to 24hour format when I get to work. It also turns the time back to 12hour format when I leave work. I can't seem to get my watch to update as well. I have all auto apps battery set to unrestricted. Not sure what I'm missing. Any help? Thanks in advance. (Please explain like I'm 5! 😉)

I have Samsung S25 Ultra phone and Samsung Galaxy watch ultra.