1
Lors de la lecture du fichier sous Assets/sb/example/simple.html/Il donne l'exception filenotfound .Filenotfound exception du dossier des actifs android?
11-01 18:30:13.562: WARN/System.err(912): java.io.FileNotFoundException: file:///android_asset/sb/example/simple.html
Code Snippet est
try {
final AssetManager assetMgr = ctx.getResources().getAssets();
is = assetMgr.open(path, AssetManager.ACCESS_STREAMING);
// is = getAssets().open(file.getAbsolutePath());
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}