摘要:
Android provides a default Bluetooth stack, BlueDroid, that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core... 阅读全文
摘要:
Android provides a default Bluetooth stack, BlueDroid, that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core... 阅读全文
摘要:
private void performCrop() { try { //call the standard crop action intent (the user device may not support it) Intent cropIntent = ne... 阅读全文
摘要:
The more general extension of ViewPager would bet to create a "SetPagingEnabled" method so that we can enable and disable paging on the fly. To enable... 阅读全文
摘要:
It's 0 because in both onCreate and onStart, the view hasn't actually been drawn yet. You can get around this by listening for when the view is actual... 阅读全文
摘要:
http://stackoverflow.com/questions/14765910/could-not-find-class-xxx-referenced-from-method-xxx-yyySince some ADT-Version you have to set which libraries / projects should be exported too.Project-Propiertes -> Java Build Path -> Order and Export -> Check your Sources and other Libraries you 阅读全文
摘要:
http://stackoverflow.com/questions/17063826/how-to-create-jar-for-android-library-projectThis works!Make your library project a normal project by deselecting IsLibrary flag.Execute your project as Android Application. (It will not show any error)You'll find a .jar file in bin folder along with . 阅读全文
摘要:
http://stackoverflow.com/questions/11805784/very-large-tabs-in-eclipse-panes-on-ubuntuou can edit Eclipse's CSS instead of messing with the GTK theme.In your Eclipse directory find the file plugins/org.eclipse.platform_4.2.*/css/e4_default_gtk.css (there's an * in there, because I guess that 阅读全文
摘要:
Ubuntu 13.10 aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directorysudo apt-get updatesudo apt-get install ia32-libs###################################sudo apt-getinstall lib32stdc++6sudo apt-getinstall lib32z1 阅读全文
摘要:
http://www.cnblogs.com/memory4young/p/ubuntu-install-jdk.htmlLinux 下如何安装 JDK ,以 Ubuntu 为例。一、下载首先,当然是要下载了。地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html按照需要选择不同的版本。笔者选择的是 jdk-7u45,如图:二、 解压将下载下来的 .tar.gz 文件解压。使用如下命令解压:sudo tar zxvf ./jdk-7u45-linux-x64.tar.gz为了方 阅读全文
摘要:
https://wiki.mpich.org/mpich/index.php/Configure_xterm_Fonts_and_Colors_for_Your_Eyeball Screenshot If you want a xtem likeDo following steps:Create or update your .Xresources asXTerm*faceName: Bitstream Vera Serif Monoxterm*faceSize: 11xterm*vt100*geometry: 80x60xterm*saveLines: 16384xterm*loginShe 阅读全文
|