stringArrayList.add("length of any curve"); stringArrayList.add("root mean square value of a function"); stringArrayList.add("formulas in differentiation applications"); stringArrayList.add("the area under a parametric curve"); stringArrayList.add("first-order partial derivative of functions with three variables"); stringArrayList.add("gauss-jordan method to find out the inverse of a matrix"); stringArrayList.add("first-order homogeneous ode"); stringArrayList.add("homogeneous difference equations"); stringArrayList.add("product rule of differentiation"); stringArrayList.add("laplace transform of a unit step function"); stringArrayList.add("partial fractions of higher degree numerators with examples"); stringArrayList.add("triangular decomposition method in 3 × 3 matrices"); stringArrayList.add("symmetric, skew-symmetric and orthogonal matrices"); stringArrayList.add("gaussian elimination method in 3 × 3 matrices"); stringArrayList.add("the line integral of a scalar field"); stringArrayList.add("divergence of a vector function"); stringArrayList.add("curl of a vector function"); if (selected.equals("length of any curve")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("root mean square value of a function")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("formulas in differentiation applications")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("the area under a parametric curve")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("first-order partial derivative of functions with three variables")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("gauss-jordan method to find out the inverse of a matrix")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("first-order homogeneous ode")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("homogeneous difference equations")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("product rule of differentiation")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("laplace transform of a unit step function")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("partial fractions of higher degree numerators with examples")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("triangular decomposition method in 3 × 3 matrices")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("symmetric, skew-symmetric and orthogonal matrices")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("gaussian elimination method in 3 × 3 matrices")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("the line integral of a scalar field")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("divergence of a vector function")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("curl of a vector function")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/em2/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }