This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.IOException; | |
| import javax.microedition.lcdui.*; | |
| import javax.microedition.media.*; | |
| import javax.microedition.media.control.*; | |
| import javax.microedition.midlet.MIDlet; | |
| import javax.microedition.media.control.VideoControl; | |
| public class VideoControlExample extends MIDlet implements CommandListener{ | |
| private Display display; | |
| private Form form; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update && sudo apt-get upgrade -y; | |
| sudo apt-get build-dep -y libqt4-gui libqt4-network libqt4-webkit; | |
| sudo apt-get install -y openssl build-essential xorg git git-core libssl-dev libxrender-dev t1-xfree86-nonfree xfonts-scalable ttf-ubuntu-font-family ttf-mscorefonts-installer poppler-utils libqt4-dev qt4-dev-tools; | |
| cd ~; | |
| git clone git://gitorious.org/~antialize/qt/antializes-qt.git wkhtmltopdf-qt; | |
| git clone git://github.com/antialize/wkhtmltopdf.git wkhtmltopdf; | |
| cd wkhtmltopdf; | |
| qmake-qt4; | |
| cd ../wkhtmltopdf-qt; | |
| git checkout 4.8.4; |