Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run a function() within an android application with adb shell?

Tags:

android

I've written an android application with an addNotification() function in the main activity.

I'm wondering if it's possible to call this function from my pc using adb shell commands whilst the application is running?

like image 963
Gibsondude Avatar asked Nov 01 '22 06:11

Gibsondude


1 Answers

Simple answer: No.

But you can use intent extras, or make another class file for that function.

like image 100
The Badak Avatar answered Nov 08 '22 05:11

The Badak