stringArrayList.add("Digital Circuits and Boolean Logic"); stringArrayList.add("Logic Gates Exercises"); stringArrayList.add("Truth Tables"); stringArrayList.add("Truth Table Practice Problems"); stringArrayList.add("Relays"); stringArrayList.add("Analog and Digital Circuits"); stringArrayList.add("Combinational logic circuit"); stringArrayList.add("Sequential digital logic circuits"); stringArrayList.add("Common Digital ICs used in digital logic circuits"); stringArrayList.add("What are Encoders?"); stringArrayList.add("What are Decoders?"); stringArrayList.add("Astable Multivibrator using 555 Timer:"); stringArrayList.add("Bistable Multivibrator using 555 Timer:"); stringArrayList.add("The Common Emitter Amplifier:"); stringArrayList.add("H Bridge Circuit:"); stringArrayList.add("Crystal Oscillator Circuit:"); stringArrayList.add("Integrated circuit"); stringArrayList.add("Basic IC Types"); stringArrayList.add("Microprocessors"); stringArrayList.add("Basic Semiconductor Design"); stringArrayList.add("Field-effect transistors"); stringArrayList.add("Complementary metal-oxide semiconductors"); stringArrayList.add("Bipolar transistors"); stringArrayList.add("Analog design"); stringArrayList.add("Digital design"); stringArrayList.add("Making a base wafer"); stringArrayList.add("Deposition"); stringArrayList.add("Photolithography"); stringArrayList.add("Why Do We Call Them Flip - Flops ?"); stringArrayList.add("Clocked D Flip-Flop"); stringArrayList.add("Flip-Flops and SRAM"); stringArrayList.add("The Need for Clocked Circuits"); stringArrayList.add("Standard Logic ICs: the Foundation of Digital Circuitry"); stringArrayList.add("The Significance of Fan-Out"); stringArrayList.add("Selecting Output Signals with a Multiplexer"); stringArrayList.add("Decoder: Decoding the Input"); if (selected.equals("Digital Circuits and Boolean Logic")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Logic Gates Exercises")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Truth Tables")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Truth Table Practice Problems")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Relays")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Analog and Digital Circuits")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Combinational logic circuit")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Sequential digital logic circuits")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Common Digital ICs used in digital logic circuits")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What are Encoders?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What are Decoders?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Astable Multivibrator using 555 Timer:")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Bistable Multivibrator using 555 Timer:")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Common Emitter Amplifier:")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("H Bridge Circuit:")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Crystal Oscillator Circuit:")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Integrated circuit")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Basic IC Types")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Microprocessors")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Basic Semiconductor Design")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Field-effect transistors")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/21.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Complementary metal-oxide semiconductors")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/22.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Bipolar transistors")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/23.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Analog design")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/24.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Digital design")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/25.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Making a base wafer")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/26.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Deposition")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/27.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Photolithography")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/28.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Why Do We Call Them Flip - Flops ?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/29.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Clocked D Flip-Flop")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/30.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Flip-Flops and SRAM")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/31.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Need for Clocked Circuits")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/32.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Standard Logic ICs: the Foundation of Digital Circuitry")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/33.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Significance of Fan-Out")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/34.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Selecting Output Signals with a Multiplexer")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/35.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Decoder: Decoding the Input")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dc1/36.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }