"What is a Motion Sensor?", "Types of Motion Sensors", "What is a Potentiometer?", "How Does a Potentiometer Work?", "Potentiometer Types", "Digital Potentiometers", "Applications of Potentiometer", "Measurement of Voltage by Potentiometer", "What is a resolver?", "How does a resolver work?", "RESOLVER CONTROL TRANSMITTER", "RESOLVER CONTROL TRANSFORMER", "How does an inductive sensor work?", "What are Encoder Sensors?", "Encoder Working Principle", "What is an optical encoder?", "Optical Rotary Encoder Options", "Magnetic Encoders", "What is an Inductive Encoder?", "What are capacitive encoders and where are they suitable?", "Capacitive vs Optical Encoding", "How a Capacitive Encoder Works", "Incremental vs Absolute Encoders", "LVDT", "RVDT (Rotary Variable Differential Transformers)", "WHAT IS A SYNCHRO/RESOLVER?", "How do Synchos work?", "What is an accelerometer?", "Capacitance-type accelerometers", "What is GPS?" stringArrayList.add("What is a Motion Sensor?"); stringArrayList.add("Types of Motion Sensors"); stringArrayList.add("What is a Potentiometer?"); stringArrayList.add("How Does a Potentiometer Work?"); stringArrayList.add("Potentiometer Types"); stringArrayList.add("Digital Potentiometers"); stringArrayList.add("Applications of Potentiometer"); stringArrayList.add("Measurement of Voltage by Potentiometer"); stringArrayList.add("What is a resolver?"); stringArrayList.add("How does a resolver work?"); stringArrayList.add("RESOLVER CONTROL TRANSMITTER"); stringArrayList.add("RESOLVER CONTROL TRANSFORMER"); stringArrayList.add("How does an inductive sensor work?"); stringArrayList.add("What are Encoder Sensors?"); stringArrayList.add("Encoder Working Principle"); stringArrayList.add("What is an optical encoder?"); stringArrayList.add("Optical Rotary Encoder Options"); stringArrayList.add("Magnetic Encoders"); stringArrayList.add("What is an Inductive Encoder?"); stringArrayList.add("What are capacitive encoders and where are they suitable?"); stringArrayList.add("Capacitive vs Optical Encoding"); stringArrayList.add("How a Capacitive Encoder Works"); stringArrayList.add("Incremental vs Absolute Encoders"); stringArrayList.add("LVDT"); stringArrayList.add("RVDT (Rotary Variable Differential Transformers)"); stringArrayList.add("WHAT IS A SYNCHRO/RESOLVER?"); stringArrayList.add("How do Synchos work?"); stringArrayList.add("What is an accelerometer?"); stringArrayList.add("Capacitance-type accelerometers"); stringArrayList.add("What is GPS?"); if (selected.equals("What is a Motion Sensor?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Types of Motion Sensors")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is a Potentiometer?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How Does a Potentiometer Work?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Potentiometer Types")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Digital Potentiometers")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Applications of Potentiometer")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Measurement of Voltage by Potentiometer")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is a resolver?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How does a resolver work?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("RESOLVER CONTROL TRANSMITTER")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("RESOLVER CONTROL TRANSFORMER")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How does an inductive sensor work?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What are Encoder Sensors?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Encoder Working Principle")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is an optical encoder?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Optical Rotary Encoder Options")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Magnetic Encoders")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is an Inductive Encoder?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What are capacitive encoders and where are they suitable?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Capacitive vs Optical Encoding")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/21.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How a Capacitive Encoder Works")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/22.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Incremental vs Absolute Encoders")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/23.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("LVDT")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/24.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("RVDT (Rotary Variable Differential Transformers)")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/25.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("WHAT IS A SYNCHRO/RESOLVER?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/26.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("How do Synchos work?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/27.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is an accelerometer?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/28.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Capacitance-type accelerometers")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/29.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is GPS?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/30.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }