"What do you mean by factor of safety?", "Factor of Safety in Design and Engineering: The Basics", "What Is the Factor Of Safety?", "Factors of Safety", "4 Insights on Factor of Safety in Engineering", "Safety factor: How do I calculate that?", "Factor of Safety Calculator", "How to Determine the Factor of Safety", "Factor of Safety, FOS", "Geotechnical Factor of Safety and Risk", "Understanding Human Factors in Occupational Safety", "Human Factors in Safety: How do stress and fatigue affect work?", "Much Ado About Safety Factors of Two", "The Factor of Safety as a Statistical Design Variable", "Structural design and factors of safety", "Factor of Safety Used in Machine Design | Significance | Importance" stringArrayList.add("What do you mean by factor of safety?"); stringArrayList.add("Factor of Safety in Design and Engineering: The Basics"); stringArrayList.add("What Is the Factor Of Safety?"); stringArrayList.add("Factors of Safety"); stringArrayList.add("4 Insights on Factor of Safety in Engineering"); stringArrayList.add("Safety factor: How do I calculate that?"); stringArrayList.add("Factor of Safety Calculator"); stringArrayList.add("How to Determine the Factor of Safety"); stringArrayList.add("Factor of Safety, FOS"); stringArrayList.add("Geotechnical Factor of Safety and Risk"); stringArrayList.add("Understanding Human Factors in Occupational Safety"); stringArrayList.add("Human Factors in Safety: How do stress and fatigue affect work?"); stringArrayList.add("Much Ado About Safety Factors of Two"); stringArrayList.add("The Factor of Safety as a Statistical Design Variable"); stringArrayList.add("Structural design and factors of safety"); stringArrayList.add("Factor of Safety Used in Machine Design | Significance | Importance"); if (selected.equals("What do you mean by factor of safety?")) { 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("Factor of Safety in Design and Engineering: The Basics")) { 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 the Factor Of Safety?")) { 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("Factors of Safety")) { 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("4 Insights on Factor of Safety in Engineering")) { 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("Safety factor: How do I calculate that?")) { 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("Factor of Safety Calculator")) { 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("How to Determine the Factor of Safety")) { 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("Factor of Safety, FOS")) { 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("Geotechnical Factor of Safety and Risk")) { 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("Understanding Human Factors in Occupational Safety")) { 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("Human Factors in Safety: How do stress and fatigue affect work?")) { 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("Much Ado About Safety Factors of Two")) { 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("The Factor of Safety as a Statistical Design Variable")) { 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("Structural design and factors of safety")) { 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("Factor of Safety Used in Machine Design | Significance | Importance")) { 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); }