that_person

Android Example: Using File Assets- via http://goo.gl/EeqaE6

Aug 7th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1.     try {
  2.         in = pAssetManager.open(pAssetPath);
  3.         BitmapFactory.decodeStream(in, null, decodeOptions);
  4.     } catch (final IOException e) {
  5.         Debug.e("Failed loading Bitmap in AssetBitmapTextureAtlasSource. AssetPath: " + pAssetPath, e);
  6.     } finally {
  7.         StreamUtils.close(in);
  8.     }
Add Comment
Please, Sign In to add comment