Back to project page vgandroid-demo.
The source code is released under:
GNU Lesser General Public License
If you think the Android project vgandroid-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// Copyright (c) 2014, https://github.com/rhcad/touchvg /* w w w .j a v a2s .c om*/ package touchvg.demo1; import rhcad.touchvg.IGraphView; import android.graphics.Color; import android.os.Bundle; import android.view.ViewGroup; // Testing Activity using SFGraphView public class ExampleActivitySF extends ExampleActivity1 { @Override protected void createGraphView(Bundle savedInstanceState) { setContentView(R.layout.activity_example1); final ViewGroup layout = (ViewGroup) this.findViewById(R.id.frame); hlp.createSurfaceView(this, layout, savedInstanceState); hlp.getView().setBackgroundColor(Color.GRAY); } @Override public void onFirstRegen(IGraphView view) { super.onFirstRegen(view); hlp.startRecord(PATH + "record"); } }