Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Demo Android Graphs not working
posted

when I run the my demo app with the jar files referenced, I get the following error.

Could not find class 'com.infragistics.controls.charts.DataChartView'

called from 

DataChartView chart = new DataChartView(rootView.getContext());

Anyone know what could be wrong?

  • 14517
    Offline posted

    Hello Duncan,

    I tested adding the ChartSample included in the samples directory by

     1) add the sample to my workspace in eclipse using the option File->Import->Andriod->Existing Andriod Code into WorkSpace and then selecting the Infragistics_Android_CTP_2014_1\Samples\ChartSample directory


     2) Copy and Paste the following jar files from the Infragistics_Android_CTP_2014_1\jars directory to the libs folder in the ChartSample in eclipse


      a. infragistics.core
      b. infragistics.datachart
      c. infragistics.dvshared
      d. infragistics.ui


     3) Start the emulator using the emulator button


     4) Debug the app using the debug button and select Android App

    When running the sample it ran as expected without any errors. Which sample are you having an issue with and what are the steps you used to run the samples?


    Sincerely,
    Valerie
    Developer Support Supervisor - XAML
    Infragistics
    www.infragistics.com/support