phone view and api invoke