Yes, you need to use native APIs to achieve that goal.