Git Product home page Git Product logo

pptviewer-android's Introduction

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.

pptviewer-android's People

Contributors

itsrts avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.