Calling activity from typescript


I have scenario where I have integrated existing app with nativescript.
Roadblock is mentioned below,
I have one service in typescript e.g android.service.ts,from this service I want to call existing android activity of existing app which contain public methods,and this methods have context and call other virtual method. So how can I call this activity methods?

Any help on this!


Hi @hardikPatel, you would call an already existing activity, by building and intent and sending it like so.
Calling activity methods directly is not the recommended approach, so I’d ask you what exactly are you trying to achieve?