View Single Post
Old 07-18-2013, 09:25 PM   #65
joenojunk
Junior Member
joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.joenojunk got an A in P-Chem.
 
Posts: 7
Karma: 6166
Join Date: Jul 2013
Device: Kindle
Ive been playing around with page count and the apnx generator and am starting to get an idea on how the pages are generated. The book that I ran apnx on is off by about 30 or so pages from the hard copy. But I do like that running apnx plugin does give me a go to page option and that the pages are listed at the bottom of the reader.
For My situation.....
I've created a table that cross references the locations to the actual HC Book pages
I.E. pg202=loc3456 this has help me and other folks in the class to more quickly
get to the right location in the kindle reader. ( I want to automate)
A few questions.
1 .Is there a way for me to hard code the page list-if so how?
I already created the cross reference table.(a lot of work to do that)
2. Ive been working on an external "Go to Page" apk that would
open the book and go to the appropriate page.
so far my app opens the book via the INTENT statement But Im struggling
to find the command that would actually go to a location that I request.
here the jave code so far...

Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIE W);
File file = new File("/sdcard/Books/Testbook.prc");
intent.setDataAndType(Uri.fromFile(file), "application/x-mobipocket-ebook");
startActivity(intent);

Hopefully you know the command and how to invoke after the book is open.
ie goto location 4356.
I'm stuck.. Once I know the command I can create
if the else or a case satements.
Hope someone has suggestions
thx in advanced
joenojunk is offline   Reply With Quote