上一页 1 2 3 4 5 6 ··· 13 下一页
http://www.cnblogs.com/_ymw/p/4227862.html1.首先贴上项目结构图:2.先添加一个接口文件BackHandledInterface.java,定义一个setSelectedFragment方法用于设置当前加载的Fragment在栈顶,主界面MainActivi... Read More
posted @ 2015-08-21 09:52 wanqi Views(225) Comments(0) Diggs(0) Edit
because you have not set LinearLayoutManager to RecyclerView.for example: mRecyclerView = (RecyclerView) findViewById(R.id.recyclerView); Linear... Read More
posted @ 2015-08-20 15:40 wanqi Views(690) Comments(0) Diggs(0) Edit
sudo apt-get updatesudo apt-get upgradesudo apt-get install git openjdk-7-jdk m4 zlib1g-dev python-software-properties build-essential libgmp-dev libm... Read More
posted @ 2015-08-19 10:21 wanqi Views(773) Comments(0) Diggs(0) Edit
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0204/2410.htmlhttp://www.cnblogs.com/blueofsky/archive/2012/01/07/2315664.htmlhttp://www.2c... Read More
posted @ 2015-08-14 18:02 wanqi Views(2149) Comments(0) Diggs(0) Edit
http://www.liaohuqiu.net/cn/posts/leak-canary-read-me/LeakCanary 中文使用说明分享到:新浪微博微信10 May 2015LeakCanaryAndroid 和 Java 内存泄露检测。“A small leak will sink a ... Read More
posted @ 2015-08-14 15:56 wanqi Views(644) Comments(0) Diggs(0) Edit
转自:http://hi.baidu.com/xiboliya/blog/item/fee581d46cf5e41fa08bb7fb.html如果ubuntu要安装新软件,已有deb安装包(例如:iptux.deb),但是无法登录到桌面环境。那该怎么安装?答案是:使用dpkg命令。dpkg命令常用格... Read More
posted @ 2015-08-07 16:15 wanqi Views(197) Comments(0) Diggs(0) Edit
QueryBuilder queryBuilder = videoTagInfoIntegerDao.queryBuilder();try { queryBuilder.where().eq("value",roomId).and().eq("myFocus",true); VideoT... Read More
posted @ 2015-08-06 15:26 wanqi Views(5992) Comments(0) Diggs(0) Edit
http://blog.csdn.net/softkexin/article/details/5933589/android:layout_above="@id/xxx" --将控件置于给定ID控件之上android:layout_below="@id/xxx" --将控件置于给定ID控件之下and... Read More
posted @ 2015-08-05 15:30 wanqi Views(162) Comments(0) Diggs(0) Edit
scrollView问题 打开activity之后 屏幕初始位置不是顶部 而是在中间 也就是scroll滚动条不在上面 而是在中间楼主你好,我大概是和你遇见了同样的问题,你可以灵活处理一下,不要去管那个滚动条的位置了,我试过了,用scrollViewMsg.scrollTo(0,0);一点效果没有。... Read More
posted @ 2015-07-30 10:01 wanqi Views(504) Comments(0) Diggs(0) Edit
http://www.cnblogs.com/yejiurui/p/3413796.html一、通过html页面打开Android本地的app1、首先在编写一个简单的html页面 Insert title here 打开ap... Read More
posted @ 2015-07-27 13:58 wanqi Views(587) Comments(0) Diggs(0) Edit
http://www.cnblogs.com/sunzn/archive/2013/04/03/2998113.htmlmWebView.setWebViewClient(new MyWebViewClient());mWebView.loadUrl(url);最近做项目在手机端加载一个 WebVi... Read More
posted @ 2015-07-22 19:45 wanqi Views(191) Comments(0) Diggs(0) Edit
第一种HashMap map = new HashMap();map.put("cookie","p1u_id=4eb591e73554db0f4d3300cb656113abfb968ef6b0ee2b5de0a35caa5217c51faa028b453576b35c");networkConn... Read More
posted @ 2015-07-21 20:17 wanqi Views(7458) Comments(0) Diggs(0) Edit
http://itindex.net/blog/2014/11/07/1415353560000.html点击浏览器中的URL链接,启动特定的App。首先做成HTML的页面,页面内容格式如下:启动应用程序 这一句就可以了。各个项目含义如下所示:scheme:判别启动的App。 ※详细后述host:适... Read More
posted @ 2015-07-20 16:38 wanqi Views(482) Comments(0) Diggs(0) Edit
http://my.oschina.net/liucundong/blog/354029通过手机浏览器直接打开Android应用程序。 如果本地已经安装了指定Android应用,就直接打开它; 如果没有安装,则直接下载该应用的安装文件(也可以跳转到下载页面)。目录[-]实现效果实现方式HTML代码A... Read More
posted @ 2015-07-20 15:30 wanqi Views(621) Comments(0) Diggs(0) Edit
import android.content.Context;import android.util.AttributeSet;import android.widget.ListView;/** * Created by wanqi on 15-7-20. */public class Scrol... Read More
posted @ 2015-07-20 10:51 wanqi Views(236) Comments(0) Diggs(0) Edit
http://debuglog.iteye.com/blog/1441828ScrollView不能包含多个子项,ScrollView can host only one direct child博客分类:AndroidEclipseJavaAndroidEclipseScrollViewIlleg... Read More
posted @ 2015-07-17 18:49 wanqi Views(474) Comments(0) Diggs(0) Edit
http://blog.csdn.net/jasper_success/article/details/7059108如果遇到这个问题,首先考虑以下原因:你是否在setText()方法中设置了一个int型变量,比如setText(10)。这样Android系统就会主动去资源文件当中寻找, 但是它不是... Read More
posted @ 2015-07-17 17:48 wanqi Views(837) Comments(0) Diggs(0) Edit
JSONObject jsonObject = JSON.parseObject(wsResponse);String recommends = jsonObject.getString("recommends");Log.i("ss","__________________________reco... Read More
posted @ 2015-07-17 16:46 wanqi Views(293) Comments(0) Diggs(0) Edit
今天开始用的git,记下获取ssh keys 的代码?123ssh-keygen -t rsa -C "your_email@example.com"# Enter file in which to save the key (/home/you/.ssh/id_rsa):ssh-add id_rs... Read More
posted @ 2015-07-16 20:37 wanqi Views(307) Comments(0) Diggs(0) Edit
http://blog.csdn.net/catoop/article/details/42744705使用到的类:net.sf.json.JSONObject使用JSON时,除了要导入JSON网站上面下载的json-lib-2.2-jdk15.jar包之外,还必须有其它几个依赖包:commons-... Read More
posted @ 2015-07-16 18:04 wanqi Views(921) Comments(0) Diggs(0) Edit
http://blog.csdn.net/csdn_ask/article/details/8640994原问题来自于CSDN问答频道,更多解决方案见:http://ask.csdn.net/questions/903原问题描述:xml中的textView:[java]view plaincopy如... Read More
posted @ 2015-07-13 19:41 wanqi Views(322) Comments(0) Diggs(0) Edit
Android Studio下添加assets目录分类:Android Studio2013-11-06 18:0910872人阅读评论(2)收藏举报android studioassets在Android Studio中添加assets目录,目录的位置在[java]view plaincopyXX... Read More
posted @ 2015-07-13 11:26 wanqi Views(305) Comments(0) Diggs(0) Edit
sudo apt-get install -fsudo dpkg --configure -asudo apt-get cleansudo apt-get updatesudo apt-get upgradeEnvironment: Ubuntu 12.04 LTS 64bitProblem: Un... Read More
posted @ 2015-07-11 09:20 wanqi Views(1934) Comments(0) Diggs(1) Edit
2015-03-10 16:47:31|分类:软件技术|举报|字号订阅下载LOFTER客户端1.webview.addJavascriptInterface() doen not work on API 16+常见的客户端与H5的混合编程是使用scheme+、JS bridge、provider等。... Read More
posted @ 2015-07-09 17:38 wanqi Views(1315) Comments(0) Diggs(0) Edit
http://blog.csdn.net/xiaodongrush/article/details/93201351. 首先得到该程序的包名 这个连上手机ADB,看logcat就能看到。比如:QQ客户端的包名是com.tencent.mobileqq。2. 然后通过PackageManager判断... Read More
posted @ 2015-07-08 16:17 wanqi Views(394) Comments(0) Diggs(0) Edit
当然你可以直接在命令行使用 git reset --hard 或者 git reset --hard HEAD^来进行回退 Read More
posted @ 2015-07-03 09:48 wanqi Views(1010) Comments(0) Diggs(0) Edit
http://ikinglai.blog.51cto.com/6220785/1324985在Android开发的时候,经常会使用到用c或c++编写的第三方的静态库。如果有源码的话,可以直接跟你自己的代码一去编译成动态库so,但是如果没有源码的话,你就必须在自己的动态库so里面将别人生成好的静态库导... Read More
posted @ 2015-07-02 15:08 wanqi Views(4192) Comments(0) Diggs(0) Edit
http://rsljdkt.iteye.com/blog/1142463apt-cache search wubipinyin apt-get命令本身并不具有管理软件包功能,只是提供了一个软件包管理的命令行平台。在这个平台上使用更丰富的子命令,完成具体的管理任务。 apt-get命令的一般语法格式... Read More
posted @ 2015-06-30 18:54 wanqi Views(1430) Comments(0) Diggs(0) Edit
http://www.cocoachina.com/cocos/20140523/8530.html【Cocos2d-x 3.0】C++11多线程std::thread的简单使用2014-05-23 17:01编辑:wupeng分类:Cocos引擎来源:CocoaChina08773Cocos2d-... Read More
posted @ 2015-06-23 15:26 wanqi Views(717) Comments(0) Diggs(0) Edit
http://blog.csdn.net/wangliang198901/article/details/12342845http://stackoverflow.com/questions/3856767/android-keeping-a-background-service-alive-pre... Read More
posted @ 2015-06-18 15:02 wanqi Views(1807) Comments(0) Diggs(0) Edit
一、Ubuntu环境1. 建立或修改文件 ~/.android/adb_usb.ini,在文件开头或末尾添加一行,内容是0x2a45。2. 建立或修改文件 /etc/udev/rules.d/51-android.rules2.1 修改文件权限: sudo chmod a+rx /etc/... Read More
posted @ 2015-06-18 13:48 wanqi Views(280) Comments(0) Diggs(0) Edit
adb logcat | "/home/hxl/bin/android-ndk-r10d/ndk-stack" -sym "/home/hxl/plu/BadGame/proj.android/obj/local/armeabi/obj/local/armeabi"这几天在做android下的音频播... Read More
posted @ 2015-06-17 11:26 wanqi Views(655) Comments(0) Diggs(0) Edit
http://stackoverflow.com/questions/1016896/get-screen-dimensions-in-pixelsWindowManager w = activity.getWindowManager();Display d = w.getDefaultDispla... Read More
posted @ 2015-06-12 17:07 wanqi Views(344) Comments(0) Diggs(0) Edit
adb logcat -v time | grep sceenshot Read More
posted @ 2015-05-26 15:27 wanqi Views(108) Comments(0) Diggs(0) Edit
https://github.com/bboyfeiyu/android-tech-frontier/tree/master/android-blog/Google%2B%20%E5%9B%A2%E9%98%9F%E7%9A%84%20Android%20UI%20%E6%B5%8B%E8%AF%9... Read More
posted @ 2015-05-21 09:46 wanqi Views(376) Comments(0) Diggs(0) Edit
https://github.com/bboyfeiyu/android-tech-frontier/tree/master/others/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%9C%AC%E5%9C%B0%E6%90%AD%E5%BB%BA%E4%B8%80%E4%B8%A... Read More
posted @ 2015-05-21 09:45 wanqi Views(435) Comments(0) Diggs(0) Edit
LOCAL_PATH := $(call my-dir)//标准mk语句,指编译路径,所有mk文件第一句都是这个/**这个模块表示引用了一个本地的静态库include $(CLEAR_VARS) //清除各种变量,因为这些变量是静态全局的,如果清除,下次编译时又会用到这些变量造成出错LOCAL_MO... Read More
posted @ 2015-05-19 15:21 wanqi Views(746) Comments(0) Diggs(0) Edit
http://blog.csdn.net/highning0007/article/details/37991787Unity3d之截图方法分类:Unity3D2013-11-28 17:131014人阅读评论(2)收藏举报AnYuanLzhunityunity3d截屏下面是我总结的、在u3d中的,... Read More
posted @ 2015-05-19 09:42 wanqi Views(483) Comments(0) Diggs(0) Edit
http://blog.csdn.net/ganpengjin1/article/details/19088921我们要保存当前的运行的scene的截图的话,我用到CCRenderTexture,看例子代码:[cpp]view plaincopyCCSizesize=CCDirector::shar... Read More
posted @ 2015-05-19 09:41 wanqi Views(989) Comments(0) Diggs(0) Edit
http://blog.csdn.net/innost/article/details/9008691经作者授权,发表Tieto某青年牛的一篇《程序员》大作。Android系统性能调优工具介绍在软件开发过程中,想必很多读者都遇到过系统性能问题。而解决系统性能问题的几个主要步骤是:测评:对系统进行大量... Read More
posted @ 2015-05-11 16:26 wanqi Views(11608) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 ··· 13 下一页