Android 75

도로명 주소 입력 받기 ( WebView + JS 연결)

★ WebView 통신 Point ★ webView.addJavascripInterface(new AndroidBridge(),"android"); android => window.android (ANDROID) (JS) 안드로이드에서 @JavascriptInterface로 콜백 받음 xml AddressFragment public class AddressFragment extends DialogFragment { private WebView webView; private Handler handler; private OnAddressFragmentInteractionListener mListener; @Override public void onCreate(Bundle savedInstanceState) ..

Android 2019.04.19