구글링해보니 관련자료가 없는것같아서요.. <div>chart js 를 불러와야하는데요 안되는것같네요</div> <div><br></div> <div><a target="_blank" href="http://52.78.115.181/stat/" target="_blank">http://52.78.115.181/stat/</a>(아무 닉네임 입력하세요)</div> <div><br></div> <div>예를들면 아래와 같이 입력하면됩니다.</div> <div><a target="_blank" href="http://52.78.115.181/stat/kokoko88" target="_blank">http://52.78.115.181/stat/kokoko88</a></div> <div><br></div> <div>aws통해서 뭐 잘 입력은 됩니다.</div> <div>위 링크 입력하면</div> <div>닉네임과 함께 chart 가 하나 뜨지요...</div> <div>안드로이드를 통해서 보이게 하고 싶은데요, </div> <div>분명 닉네임은 잘보이는데 차트가 보이지 않습니다...</div> <div><br></div> <div>아래는 안드로이드 코드입니다...</div> <div>크롬부라우저에서 위 링크 치면 잘만나오는데...왜 웹뷰에서는 못나올까요</div> <div><pre style="font-family:'굴림체';font-size:9pt;"><span style="color:#000080;font-weight:bold;">protected void </span>onCreate(<span style="color:#000080;font-weight:bold;">final </span>Bundle savedInstanceState) {<br><span style="color:#000080;font-weight:bold;">super</span>.onCreate(savedInstanceState);<br> setContentView(R.layout.<span style="background-color:#e4e4ff;">activity_second</span>);<br><br><span style="color:#660e7a;font-weight:bold;">webView</span>=(WebView)findViewById(R.id.<span style="color:#660e7a;font-weight:bold;font-style:italic;">webview</span>);<br><span style="color:#660e7a;font-weight:bold;">webView</span>.setWebViewClient(<span style="color:#000080;font-weight:bold;">new </span>ResultBrowser());<br><span style="color:#660e7a;font-weight:bold;">webView</span>.loadUrl(<span style="color:#008000;font-weight:bold;">"<a target="_blank" href="http://52.78.115.181/stat/kotran12345" target="_blank">http://52.78.115.181/stat/kotran12345</a>"</span>);</pre><pre style="font-family:'굴림체';font-size:9pt;">}</pre></div> <div><pre style="font-family:'굴림체';font-size:9pt;"><span style="color:#000080;font-weight:bold;">class </span>ResultBrowser <span style="color:#000080;font-weight:bold;">extends </span>WebViewClient{<br><span style="color:#808000;">@Override<br></span><span style="color:#808000;"> </span><span style="color:#000080;font-weight:bold;">public boolean </span>shouldOverrideUrlLoading(WebView view, WebResourceRequest request) {<br><span style="color:#000080;font-weight:bold;">final </span>Uri uri=request.getUrl();<br><span style="color:#000080;font-weight:bold;">return </span>handleUri(uri);<br> }<br><span style="color:#000080;font-weight:bold;">private boolean </span>handleUri(<span style="color:#000080;font-weight:bold;">final </span>Uri uri){<br> Log.<span style="font-style:italic;">e</span>(<span style="color:#008000;font-weight:bold;">"main"</span>,<span style="color:#008000;font-weight:bold;">"uri : "</span>+uri);<br><span style="color:#000080;font-weight:bold;">final </span>String host=uri.getHost();<br><span style="color:#000080;font-weight:bold;">final </span>String scheme=uri.getScheme();<br><span style="color:#000080;font-weight:bold;">return false</span>;<br> }<br>}</pre><pre style="font-family:'굴림체';font-size:9pt;"><br></pre><pre style="font-family:'굴림체';font-size:9pt;">못읽는게 맞나보네요...웹사이트 주소넣는부분에 chargjs.org 와같이 사이트 넣으니까...차트부분이 안보이는군요</pre><pre style="font-family:'굴림체';font-size:9pt;">ㅜㅠ</pre><pre style="font-family:'굴림체';font-size:9pt;">어떻게 하면 불러올수있을까요?</pre><pre style="font-family:'굴림체';"><b></b></pre><pre style="font-family:'굴림체';"><b></b></pre><pre style="font-family:'굴림체';"><b></b></pre><pre style="font-family:'굴림체';"><b></b></pre><pre style="font-family:'굴림체';"></pre><pre style="font-family:'굴림체';"><b></b></pre><pre style="font-family:'굴림체';"><b></b></pre><pre style="font-family:'굴림체';"><b></b></pre></div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.