Code example for AssetManager

Methods: list

	/// List assets in a directory. APK resources only. This is called from native code 
	public static String[] getAssetList(String path){
		String[] list = null;
			list = assetManager.list(path);
		}catch(IOException ioe){
			/// Something went wrong with asset listing. Rare situation, but handle it. 
			Log.v("ParabolaEngine", "Asset listing exception: " + ioe.getMessage());
		return list;
	/// JNI Function used to fetch an APK Resource file descriptor. Called from native code 
	public static AssetFileDescriptor getAssetFileDescriptor(String assetName){
		AssetFileDescriptor fp = null;
			fp = assetManager.openFd(assetName);
		}catch(IOException ioe){
			/// Handle asset loading exception