I open a book like this:
FBReader.openBookActivity(getActivity(),fbBook,null);
But when I long press and press add bookmark,it failed with no error,and the text did not highlight and no bookmark added.
Did I used the wrong method to open the book or something else
Book fbBook = new Book(id,localpath,bookName,null,null); Intent intent = new Intent(getActivity().getApplicationContext(), BookInfoActivity.class); FBReaderIntents.putBookExtra(intent, fbBook); OrientationUtil.startActivity(getActivity(), intent);.
This method has tried,the same result.
I open a book like this:
FBReader.openBookActivity(getActivity(),fbBook,null);
But when I long press and press add bookmark,it failed with no error,and the text did not highlight and no bookmark added. Did I used the wrong method to open the book or something elseBook fbBook = new Book(id,localpath,bookName,null,null); Intent intent = new Intent(getActivity().getApplicationContext(), BookInfoActivity.class); FBReaderIntents.putBookExtra(intent, fbBook); OrientationUtil.startActivity(getActivity(), intent);
. This method has tried,the same result.