the link provided clearly explains what is involved. (eg, you wanted to know about permissions. it is explained in the link)
if you download and run the example, you see exactly what is involved. (did you do that?)
you then take the parts you need and incorporate them into your project.
do you know how to load a file (csv, text, image) from file.dirassets? from file.dirinternal? well, this is just like that, only android doesn't allow direct access to sd cards anymore. as is explained in the link, it is very difficult now to access an sd card. you need to use the example to simplify that access. OR you need to set your target sdk to android os 4 (also explained in the link.)