Start Android activity from list of activities
问题 I am working on one android app, and in which i have one menu that shows list of Activity name.Upon clicking of any item from menu should start that specific Activity. One way i know to do this is, String classes[]= {"firstActivity","DetailActivity"}; intent i =new Intent(pkg_name+classes[position]);startActivity(i); where position=0 or 1. And for that i need to write in AndroidManifest.xml file below code for each Activity <activity android:name="com.example.day1.DetailActivity" > <intent