1

Cannot instantiate class in Android App

view story
linux-howto

http://stackoverflow.com – I'm developing an Android app. In my app, I lanuch an Intent to another class. As soon as this happens, the app crashes. It says that it can't instantiate my class. My code is below: public class CustomObject extends Activity{ ArrayList<String> Alerts; ArrayList<String> Names; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent intent = getIntent(); Names = intent.getExtras().getStringArrayList("Names"); Alerts = intent.getExtras().getStringArrayList("Alerts"); } public CustomObject(ArrayList<String> prop1, ArrayList<String& (HowTos)