Implement android.get_dpi and .open_url using jnius.