随笔分类 -  android solve

上一页 1 2 3 4 5 6 7 ··· 17 下一页
解决方案
摘要:第一种HashMap map = new HashMap();map.put("cookie","p1u_id=4eb591e73554db0f4d3300cb656113abfb968ef6b0ee2b5de0a35caa5217c51faa028b453576b35c");networkConn... 阅读全文
posted @ 2015-07-21 20:17 wanqi 阅读(7962) 评论(0) 推荐(0) 编辑
摘要:http://itindex.net/blog/2014/11/07/1415353560000.html点击浏览器中的URL链接,启动特定的App。首先做成HTML的页面,页面内容格式如下:启动应用程序 这一句就可以了。各个项目含义如下所示:scheme:判别启动的App。 ※详细后述host:适... 阅读全文
posted @ 2015-07-20 16:38 wanqi 阅读(770) 评论(0) 推荐(0) 编辑
摘要:http://my.oschina.net/liucundong/blog/354029通过手机浏览器直接打开Android应用程序。 如果本地已经安装了指定Android应用,就直接打开它; 如果没有安装,则直接下载该应用的安装文件(也可以跳转到下载页面)。目录[-]实现效果实现方式HTML代码A... 阅读全文
posted @ 2015-07-20 15:30 wanqi 阅读(1209) 评论(0) 推荐(0) 编辑
摘要:import android.content.Context;import android.util.AttributeSet;import android.widget.ListView;/** * Created by wanqi on 15-7-20. */public class Scrol... 阅读全文
posted @ 2015-07-20 10:51 wanqi 阅读(419) 评论(0) 推荐(0) 编辑
摘要:http://debuglog.iteye.com/blog/1441828ScrollView不能包含多个子项,ScrollView can host only one direct child博客分类:AndroidEclipseJavaAndroidEclipseScrollViewIlleg... 阅读全文
posted @ 2015-07-17 18:49 wanqi 阅读(710) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/jasper_success/article/details/7059108如果遇到这个问题,首先考虑以下原因:你是否在setText()方法中设置了一个int型变量,比如setText(10)。这样Android系统就会主动去资源文件当中寻找, 但是它不是... 阅读全文
posted @ 2015-07-17 17:48 wanqi 阅读(1152) 评论(0) 推荐(0) 编辑
摘要:JSONObject jsonObject = JSON.parseObject(wsResponse);String recommends = jsonObject.getString("recommends");Log.i("ss","__________________________reco... 阅读全文
posted @ 2015-07-17 16:46 wanqi 阅读(486) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/catoop/article/details/42744705使用到的类:net.sf.json.JSONObject使用JSON时,除了要导入JSON网站上面下载的json-lib-2.2-jdk15.jar包之外,还必须有其它几个依赖包:commons-... 阅读全文
posted @ 2015-07-16 18:04 wanqi 阅读(2695) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/csdn_ask/article/details/8640994原问题来自于CSDN问答频道,更多解决方案见:http://ask.csdn.net/questions/903原问题描述:xml中的textView:[java]view plaincopy如... 阅读全文
posted @ 2015-07-13 19:41 wanqi 阅读(449) 评论(0) 推荐(0) 编辑
摘要:Android Studio下添加assets目录分类:Android Studio2013-11-06 18:0910872人阅读评论(2)收藏举报android studioassets在Android Studio中添加assets目录,目录的位置在[java]view plaincopyXX... 阅读全文
posted @ 2015-07-13 11:26 wanqi 阅读(556) 评论(0) 推荐(0) 编辑
摘要:2015-03-10 16:47:31|分类:软件技术|举报|字号订阅下载LOFTER客户端1.webview.addJavascriptInterface() doen not work on API 16+常见的客户端与H5的混合编程是使用scheme+、JS bridge、provider等。... 阅读全文
posted @ 2015-07-09 17:38 wanqi 阅读(2194) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/xiaodongrush/article/details/93201351. 首先得到该程序的包名 这个连上手机ADB,看logcat就能看到。比如:QQ客户端的包名是com.tencent.mobileqq。2. 然后通过PackageManager判断... 阅读全文
posted @ 2015-07-08 16:17 wanqi 阅读(787) 评论(0) 推荐(0) 编辑
摘要:http://ikinglai.blog.51cto.com/6220785/1324985在Android开发的时候,经常会使用到用c或c++编写的第三方的静态库。如果有源码的话,可以直接跟你自己的代码一去编译成动态库so,但是如果没有源码的话,你就必须在自己的动态库so里面将别人生成好的静态库导... 阅读全文
posted @ 2015-07-02 15:08 wanqi 阅读(5109) 评论(0) 推荐(0) 编辑
摘要:http://www.cocoachina.com/cocos/20140523/8530.html【Cocos2d-x 3.0】C++11多线程std::thread的简单使用2014-05-23 17:01编辑:wupeng分类:Cocos引擎来源:CocoaChina08773Cocos2d-... 阅读全文
posted @ 2015-06-23 15:26 wanqi 阅读(1790) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/wangliang198901/article/details/12342845http://stackoverflow.com/questions/3856767/android-keeping-a-background-service-alive-pre... 阅读全文
posted @ 2015-06-18 15:02 wanqi 阅读(2037) 评论(0) 推荐(0) 编辑
摘要:一、Ubuntu环境1. 建立或修改文件 ~/.android/adb_usb.ini,在文件开头或末尾添加一行,内容是0x2a45。2. 建立或修改文件 /etc/udev/rules.d/51-android.rules2.1 修改文件权限: sudo chmod a+rx /etc/... 阅读全文
posted @ 2015-06-18 13:48 wanqi 阅读(395) 评论(0) 推荐(0) 编辑
摘要:adb logcat | "/home/hxl/bin/android-ndk-r10d/ndk-stack" -sym "/home/hxl/plu/BadGame/proj.android/obj/local/armeabi/obj/local/armeabi"这几天在做android下的音频播... 阅读全文
posted @ 2015-06-17 11:26 wanqi 阅读(954) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/1016896/get-screen-dimensions-in-pixelsWindowManager w = activity.getWindowManager();Display d = w.getDefaultDispla... 阅读全文
posted @ 2015-06-12 17:07 wanqi 阅读(653) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2015-05-21 09:46 wanqi 阅读(485) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2015-05-21 09:45 wanqi 阅读(648) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 17 下一页