stringArrayList.add("Introduction To Computer Networks"); stringArrayList.add("Basic Communication Model"); stringArrayList.add("Uses of Computer Networks"); stringArrayList.add("Line Configuration in Computer Networks"); stringArrayList.add("Types of Network Topology"); stringArrayList.add("Transmission Modes in Computer Networks"); stringArrayList.add("Transmission Mediums in Computer Networks"); stringArrayList.add("Twisted Pair Cable"); stringArrayList.add("Coaxial Cable"); stringArrayList.add("Fiber Optic Cable"); stringArrayList.add("UnBounded or UnGuided Transmission Media"); stringArrayList.add("Types of Communication Networks"); stringArrayList.add("Connection Oriented and Connectionless Services"); stringArrayList.add("Reference Models in Communication Networks"); stringArrayList.add("The OSI Model"); stringArrayList.add("Feature of OSI Model"); stringArrayList.add("Physical Layer - OSI Reference Model"); stringArrayList.add("Data Link Layer - OSI Model"); stringArrayList.add("Network Layer - OSI Model"); stringArrayList.add("Transport Layer - OSI Model"); stringArrayList.add("Session Layer - OSI Model"); stringArrayList.add("Presentation Layer - OSI Model"); stringArrayList.add("Application Layer - OSI Model"); stringArrayList.add("The TCP/IP Reference Model"); stringArrayList.add("Comparison of OSI and TCP/IP Reference Model"); stringArrayList.add("KEY TERMS in Computer Networks"); stringArrayList.add("PROTOCOLS AND STANDARDS"); stringArrayList.add("CONTROLLED ACCESS"); stringArrayList.add("IEEE STANDARDS"); stringArrayList.add("STANDARD ETHERNET"); stringArrayList.add("CHANGES IN THE STANDARD"); stringArrayList.add("FAST ETHERNET"); stringArrayList.add("GIGABIT ETHERNET"); stringArrayList.add("BLUETOOTH"); stringArrayList.add("CONNECTING DEVICES"); if (selected.equals("Introduction To Computer Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Basic Communication Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Uses of Computer Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Line Configuration in Computer Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Types of Network Topology")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Transmission Modes in Computer Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Transmission Mediums in Computer Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Twisted Pair Cable")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Coaxial Cable")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Fiber Optic Cable")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("UnBounded or UnGuided Transmission Media")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Types of Communication Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Connection Oriented and Connectionless Services")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Reference Models in Communication Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Feature of OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Physical Layer - OSI Reference Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Data Link Layer - OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Network Layer - OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Transport Layer - OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Session Layer - OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/21.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Presentation Layer - OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/22.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Application Layer - OSI Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/23.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The TCP/IP Reference Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/24.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Comparison of OSI and TCP/IP Reference Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/25.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("KEY TERMS in Computer Networks")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/26.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("PROTOCOLS AND STANDARDS")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/27.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("CONTROLLED ACCESS")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/28.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("IEEE STANDARDS")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/29.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("STANDARD ETHERNET")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/30.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("CHANGES IN THE STANDARD")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/31.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("FAST ETHERNET")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/32.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("GIGABIT ETHERNET")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/33.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("BLUETOOTH")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/34.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("CONNECTING DEVICES")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/dccn1/35.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }