my cmd saying jobb is not recognise as internal or external command
将/ tools添加到您的路径或代替jobb使用path / to / sdk / tools / jobb.bat
which type of files are put in these obb files
大的.像drawables,sound等.然后,例如,您可以使用此代码将可绘制文件放入ImageView:
imageView.setImageBitmap(
BitmapFactory.decodeFile(
sm.getMountedObbPath("/path/to/obb/file") +
"path/to/file/in/obb.png")
或者,播放声音:
mp.setDataSource(AcItem.this,
Uri.fromFile(new File(
sm.getMountedObbPath("/path/to/obb/file") +
"path/to/file/in/obb.png"));
mp.prepare();
mp.start();