• Stars
    star
    129
  • Rank 278,263 (Top 6 %)
  • Language
    Java
  • Created about 10 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A ppt viewer library for android, which can be easily used in any existing application

pptviewer

NOTE : I have discontinued support for this project. It is provided as it basis. A ppt viewer library, which can be easily used in any existing android application.

Hello folks, I was working on a project for wireless presentation and i need to embedd a PPT viewer in it. I searched for some existing library but found none of them to be developer friendly. So here is a custom library made by me for seamless integration of a PPT viewer in any existing application.

All you need to do is:

  1. Download the library of mine (of course from GitHub).

  2. Somehow add it to your existing app, that can be done in any ways.
    a. Copy and Paste it in a folder named as "libs" in your project root directory.
    b. Add it to your build path by right clicking on your project and "Configure build ......."

  3. You must be having an Activity and an XML file for it.

  4. Now open the layout XML file and add the following line of code in it.
    < com.itsrts.pptviewer.PPTViewer
    android:id="@+id/pptviewer"
    android:width="match_parent"
    android:height="match_parent"
    />

  5. Goto the main activity file which will be inflating the above XML and after the "setContentView", add:
    PPTViewer pptViewer = (PPTViewer) findViewById(R.id.pptviewer);
    pptViewer.setNext_img(R.drawable.next)
    .setPrev_img(R.drawable.prev)
    .setSettings_img(R.drawable.settings)
    .setZoomin_img(R.drawable.zoomin)
    .setZoomout_img(R.drawable.zoomout);
    pptViewer.loadPPT(activity, path);
    // path is a String having the location of the ppt file to be loaded.

The library is fully customizable with the option to change the viewer the way you want.