title: Any way to check if an Activity in android is registered in manifest file?
body: <p>Is there any way to check if an Activity in android is registered in manifest file before starting it?  </p>
  
  <p>say eg:  </p>
  
  <pre><code> String test = "com.Hy5.activity.Navigate";  
               Intent intent = new Intent().setClassName(this.context,
                   test);                  intent.putExtra("params", params);  
  
  
              try {  
                  ((Activity) context).startActivity(intent);  
              } catch (Exception e) {  
                              //e.printStackTrace();
          } // This Activity will implement 
  </code></pre>
  
  <p>Here I want to check if Test activity has been registered in manifest or not. </p>
  
  <p>Or is there any way I can read/parse this manifest.xml in application package just like i do for say: getResources().getString(R.string.Sprint1)??   </p>