-1

I am new to android. I am creating a mobile app in android studio which contains a lot of PDF file views for the users using app. I decided to store those PDF files in a server. But i don't know to how retrieve the files on my the app.Is there any way to retrieve the PDF on our app from the local server.. Hoping for reply..

Deepzz
  • 4,489
  • 1
  • 26
  • 52
Andria
  • 47
  • 2

1 Answers1

0

Just store the pdf files on your server using Multipart Post multipart request with Android SDK and then retrieve those files and store them in phone. Then you can use a filemanager https://github.com/nexes/Android-File-Manager to select and open the file.

For opening pdf you have to fire the intent which will open pdf file by using a preinstalled app or if you want to open by your app then there are several libraries like muPDF library, iText library(Java Library).

Community
  • 1
  • 1
Akash Jindal
  • 485
  • 3
  • 7
  • Sorry sir i did not understand what u meant? Actually that is my problem. Am sorry for that. I don't know anything much about Android Programming.So will u please explain the coding for that – Andria Sep 30 '14 at 06:19
  • Then you firstly must learn the basics as without knowing the basics it is pretty much tough to understand things. – Akash Jindal Sep 30 '14 at 08:29