First attempt at intent
Posted: 19 Feb 2017 02:28
Hi. I have been using Automagic for year but have never needed to deal with intents before. I would really like to start/stop background recording of a dash cam app I have just started using. I found some information on the app website (http://www.dailyroads.com/voyager/tasker). I tried a Start Activity with "com.dailyroads.background.STOP_VIDEO" as the action but get the following error. The background recording was running at the time. Please help
19.02.2017 13:21:11.920 [Manual Test] End executing action 'Start Activity: com.dailyroads.background.STOP_VIDEO ' and exception No Activity found to handle Intent { act=com.dailyroads.background.STOP_VIDEO flg=0x10000000 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }
19.02.2017 13:21:12.123 [Manual Test] Flow ends execution due to errors
19.02.2017 13:21:12.123 [Manual Test] Error:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.dailyroads.background.STOP_VIDEO flg=0x10000000 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1878)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1545)
at android.app.ContextImpl.startActivity(ContextImpl.java:739)
at android.app.ContextImpl.startActivity(ContextImpl.java:721)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:345)
at ch.gridvision.ppam.androidautomagic.c.a.ia.a(SourceFile:352)
at ch.gridvision.ppam.androidautomagic.c.a.d.a(SourceFile:442)
at ch.gridvision.ppam.androidautomagic.c.c.e.a(SourceFile:624)
at ch.gridvision.ppam.androidautomagic.c.c.e.b(SourceFile:581)
at ch.gridvision.ppam.androidautomagic.c.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.c.c.e.a(SourceFile:541)
at ch.gridvision.ppam.androidautomagic.ActionActivity.h(SourceFile:1107)
at ch.gridvision.ppam.androidautomagic.ActionActivity.onOptionsItemSelected(SourceFile:969)
at android.app.Activity.onMenuItemSelected(Activity.java:3204)
at com.android.internal.policy.PhoneWindow.onMenuItemSelected(PhoneWindow.java:1259)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:801)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:155)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:954)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:944)
at com.android.internal.view.menu.MenuPopupHelper.onItemClick(MenuPopupHelper.java:417)
at android.widget.AdapterView.performItemClick(AdapterView.java:345)
at android.widget.AbsListView.performItemClick(AbsListView.java:1547)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3821)
at android.widget.AbsListView$3.run(AbsListView.java:5841)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
19.02.2017 13:21:11.920 [Manual Test] End executing action 'Start Activity: com.dailyroads.background.STOP_VIDEO ' and exception No Activity found to handle Intent { act=com.dailyroads.background.STOP_VIDEO flg=0x10000000 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }
19.02.2017 13:21:12.123 [Manual Test] Flow ends execution due to errors
19.02.2017 13:21:12.123 [Manual Test] Error:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.dailyroads.background.STOP_VIDEO flg=0x10000000 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1878)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1545)
at android.app.ContextImpl.startActivity(ContextImpl.java:739)
at android.app.ContextImpl.startActivity(ContextImpl.java:721)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:345)
at ch.gridvision.ppam.androidautomagic.c.a.ia.a(SourceFile:352)
at ch.gridvision.ppam.androidautomagic.c.a.d.a(SourceFile:442)
at ch.gridvision.ppam.androidautomagic.c.c.e.a(SourceFile:624)
at ch.gridvision.ppam.androidautomagic.c.c.e.b(SourceFile:581)
at ch.gridvision.ppam.androidautomagic.c.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.c.c.e.a(SourceFile:541)
at ch.gridvision.ppam.androidautomagic.ActionActivity.h(SourceFile:1107)
at ch.gridvision.ppam.androidautomagic.ActionActivity.onOptionsItemSelected(SourceFile:969)
at android.app.Activity.onMenuItemSelected(Activity.java:3204)
at com.android.internal.policy.PhoneWindow.onMenuItemSelected(PhoneWindow.java:1259)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:801)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:155)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:954)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:944)
at com.android.internal.view.menu.MenuPopupHelper.onItemClick(MenuPopupHelper.java:417)
at android.widget.AdapterView.performItemClick(AdapterView.java:345)
at android.widget.AbsListView.performItemClick(AbsListView.java:1547)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3821)
at android.widget.AbsListView$3.run(AbsListView.java:5841)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)