Back to project page force_analytics_example.
The source code is released under:
Copyright (c) 2011, salesforce.com, inc. All rights reserved. ======================================== Redistribution and use of this software in source and binary forms, with or without modificatio...
If you think the Android project force_analytics_example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.salesforce.samples.analyticsapp; //www . j a va 2 s .co m import com.salesforce.samples.analyticsapp.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.Button; public class GraphActivity extends Activity { Button efforts; public static double[] percent_array; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.graph_main); Bundle b=this.getIntent().getExtras(); percent_array=b.getDoubleArray("percentages"); PieChart effort = new PieChart(); Intent effortIntent = effort.getIntent(this); startActivity(effortIntent); } }