android app which use Heart (prolog) like a server