How To Use Google Chart Api
I am using a google chart API in this how can i use this chart in android application? here is my code public void onCreate(Bundle savedInstanceState) { super.onCreate(sav
Solution 1:
If you want to load your chart like @Rajesh said you have to use a webview and than load the url of your chart by:
webview.loadUrl(CHART_URL);
add to your manifest
<uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
but if you are looking how to draw pie chart in android you can see this tutorial it has sample code attached to
Solution 2:
Remember to enable javascript in your webview!
webview.getSettings().setJavaScriptEnabled(true);
Solution 3:
Use a WebView
to display any web content.
webview.loadUrl(CHART_URL);
Post a Comment for "How To Use Google Chart Api"