Savage F. Morgan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年5月8日

摘要: Android provides a default Bluetooth stack, BlueDroid, that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core... 阅读全文
posted @ 2014-05-08 19:28 罗斯摩根 阅读(715) 评论(0) 推荐(0) 编辑

2014年4月23日

摘要: private void performCrop() { try { //call the standard crop action intent (the user device may not support it) Intent cropIntent = ne... 阅读全文
posted @ 2014-04-23 11:39 罗斯摩根 阅读(1324) 评论(0) 推荐(0) 编辑

2014年4月19日

摘要: 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... 阅读全文
posted @ 2014-04-19 19:01 罗斯摩根 阅读(690) 评论(0) 推荐(0) 编辑

2014年4月11日

摘要: 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... 阅读全文
posted @ 2014-04-11 17:21 罗斯摩根 阅读(167) 评论(0) 推荐(0) 编辑

2014年4月9日

摘要: 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 阅读全文
posted @ 2014-04-09 16:53 罗斯摩根 阅读(602) 评论(0) 推荐(0) 编辑

摘要: 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 . 阅读全文
posted @ 2014-04-09 15:26 罗斯摩根 阅读(291) 评论(0) 推荐(0) 编辑

2014年4月8日

摘要: 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 阅读全文
posted @ 2014-04-08 23:37 罗斯摩根 阅读(401) 评论(0) 推荐(0) 编辑

摘要: 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 阅读全文
posted @ 2014-04-08 15:28 罗斯摩根 阅读(423) 评论(0) 推荐(0) 编辑

2014年4月7日

摘要: 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为了方 阅读全文
posted @ 2014-04-07 22:12 罗斯摩根 阅读(88235) 评论(4) 推荐(7) 编辑

摘要: 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 阅读全文
posted @ 2014-04-07 22:00 罗斯摩根 阅读(657) 评论(0) 推荐(0) 编辑