Start another activity

Intent intent = new Intent(context, class)  
startActivity(intent)  

Get ResourceId

Resources resources = mContext.getResources(); 
int resourceId = resources.getIdentifier("helloworld", "drawable", mContext.getPackageName()); 

getIdentifier(String name, String defType, String defPackage
Return a resource identifier for the given resource name.