I am actually working on a demo in which i want to do some tasks when i got triggered from sl4a but according to my understanding it can only call android api's but what if i want to do some custom task or you can say that define a command that will run my custom piece of code or my API. correct me if am wrong somewhere.
Thanx