1 Reply Latest reply on Dec 8, 2015 4:07 PM by madhul_36

    CySmart Android App Exception Error

    Ashok Ra

      Hi All,


      I had taken the CySmart example code, and started making my own application for BLE. I am getting some exception errors when adding this following


       application = (CySmartApplication) getActivity().getApplication();




      in the profile scanning fragment.java file




      Any idea on it?




        Caused by: java.lang.ClassCastException: android.app.Application cannot be cast to com.fair.ashok.cypresssmart.CySmartApplication




      Ashok r