View Single Post
Old 08-08-2011, 07:44 PM   #1
firefoxpdm
Junior Member
firefoxpdm began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2011
Device: kindle 3g
Directory contents & opening books through kindlets

Hi, does anyone have any idea how can I get the full content of the /mnt/us/documents directory? I need to get this info into a kindlet. I tried the ctx.getHomeDir, creating a File object and getting the list of files and executing ls as a Runtime Process, but every time I run into an Access Denied error message.

My second question is, if I have the location and name of a book, how can I make the kindle open it in the default viewer?
firefoxpdm is offline   Reply With Quote