question: public static boolean loadTexture ( int glId , int file ) { InputStream is = Resource . getResInputStream ( file ) ; Bitmap bitmap = null ; try { BitmapFactory . Options opts = new BitmapFactory . Options ( ) ; opts . inScaled = false ; bitmap = BitmapFactory . decodeStream ( is , null , opts ) ; } catch ( Exception e ) { Log . e ( TAG , "Could not read texture file " + file , e ) ; return false ; } finally { try { is . close ( ) ; } catch ( Exception e ) { Log . e ( TAG , "Error closing stream" , e ) ; } } return loadTexture ( glId , bitmap ) ; }
target:  Loads one texture file