knziha
knziha
多线程主要是不卡,多进程不崩溃。
just don't attach views. mLibVLC = new LibVLC(context); mPlayer = new MediaPlayer(mLibVLC); mPlayer.setMedia(....) mPlayer.play(); and you can try this: ArrayList options = new ArrayList(1); options.add("--no-video"); mLibVLC = new LibVLC(context,options);
well,following the example above I can easily play a .mp3 sound file,but I have no idea how to display a video file.can u give me more hints?
use such code below in onCreate method just crash the app,and throw"io....null pointer error.....try to call .getDir() on ....." code:MediaPlayer mMediaplayer = new org.videolan.libvlc.media.MediaPlayer(); it seems that I can only...
hahaha I figured it out,referring to issue "Update surfaceview when replaying video #78". do like this:(just partial) public class VlcMainActivity extends Activity implements SurfaceHolder.Callback, Callback { onCreate() { mMediaPlayer =...
https://github.com/KnIfER/Extesions/tree/master/chrome_send_to_plaindict
用 selection.modify 可以实现汉字取词的
you can separate the text layout logic and drawing logic :>
It's in a strange meta structure in the udat box: udta meta hdlr ilst (0xA9)cmt data 'comments...' done.
Like game, It's vital to keep a low draw count. When `hasMissingTiles` is true, ssiv will draw a lot, so I think I'd better develop a simple algorithm to avoid...