How to create an android application that collect system calls from android device in real time and predict application behaviour from the collected sequence.
You could instrument the applications so that the API calls are logged (e.g., by editing the Smali files extracted using Apktool). However, to track the API calls made from dynamically loaded libraries, you would need to use callee-site rewriting (see references below).
Conference Paper Idea: Callee-Site Rewriting of Sealed System Libraries
Conference Paper AppGuard – Fine-Grained Policy Enforcement for Untrusted And...