Start Telegram LaunchActivity

530 views
Skip to first unread message

Mauro

unread,
Sep 15, 2023, 12:39:43 PM9/15/23
to Automate for Android
I have a flow with App start set as follow: with my old phone it worked, if I use it now I get this error: "android.content.ActivityNotFoundException: Unable to find explicit activity class {org.telegram.messenger/org.telegram.ui.LaunchActivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?"; I tried to understand what's going on, but was unable to solve it, is it due to some change in Telegram?

photo_2023-09-15_18-38-43.jpg

Henrik "The Developer" Lindqvist

unread,
Sep 16, 2023, 6:02:33 AM9/16/23
to Automate for Android
As the documentation say:
"An app activity is referred, either explicitly by its package and activity class, e.g. by using the Pick activity button, or implicitly by an action and data URI. Explicit start is seldom needed and should be avoided as it will stop working if the activity class is renamed."

So just clear the Activity class field, e.g by long-clicking it.

Mauro

unread,
Sep 16, 2023, 6:28:21 AM9/16/23
to Automate for Android
Sorry, I missed that, thanks.

I did as you said, and I got another error: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SEND flg=0x10040001 pkg=org.telegram.messenger clip={null {T(4)}} (has extras) }.

Henrik "The Developer" Lindqvist

unread,
Sep 16, 2023, 6:43:25 AM9/16/23
to Automate for Android
You may also have to add:
  • MIME type: text/plain
Reply all
Reply to author
Forward
0 new messages