Re: [android-developers] Reading and displaying long formatted text documents in Android

2016-05-17 Thread sardar khan
Hy you can create pdf using IText Library and you can show pdf to user .
Sorry for bad english.
here is the link to create pdf using itext .

http://tutorials.jenkov.com/java-itext/table.html

On Tue, May 17, 2016 at 4:29 PM, Amitai Rosenberg 
wrote:

> Hi all.
>
> I'm developing an Android app which is supposed to present large text
> files (books for example), for the user to browse, read, and search.
>
> My question is as follows: How should I read and present the text file,
> which is currently in either a PDF or Word format, and is formatted?
>
> What file should the text be in (.doc, .txt, .xml, .html)?
>
> What controls/elements and code should I use to read it on the app so that
> it should be presented efficiently and formatted correctly (TextView,
> WebView, PDF reader, or some other way)?
> Should I convert it to some type of markup and then parse it?
>
> I'm quite at loss as to what to do...
> How is this usually done in Android?
>
> Hope someone can help me.
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/d6af3012-70aa-4a52-a42f-f30790df9577%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABHzXAQya33znkQFJmUOCZMoytr%3DKntcSYHwdhPMbLAHp2Y-aA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Reading and displaying long formatted text documents in Android

2016-05-17 Thread Amitai Rosenberg
Hi all.

I'm developing an Android app which is supposed to present large text files 
(books for example), for the user to browse, read, and search.

My question is as follows: How should I read and present the text file, 
which is currently in either a PDF or Word format, and is formatted?

What file should the text be in (.doc, .txt, .xml, .html)?

What controls/elements and code should I use to read it on the app so that 
it should be presented efficiently and formatted correctly (TextView, 
WebView, PDF reader, or some other way)?
Should I convert it to some type of markup and then parse it?

I'm quite at loss as to what to do...
How is this usually done in Android?

Hope someone can help me.
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d6af3012-70aa-4a52-a42f-f30790df9577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.