1

Array isn't getting set in switch statement in Android

view story
linux-howto

http://stackoverflow.com – I'm trying to set an array in a class from another activity in Android. here is my main activity: public class main_activity extends Activity { int i = 0; TextView title; TextView inst; TextView word; EditText edittext; Button btn; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.activity_four); MyArray mine = new MyArray(); mine.shuffle(getApplicationContext()); } } Here is myArray: public class MyArray{ String[] words = new String[2]; publi (HowTos)