![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
curiousby
这个作者很懒,什么都没留下…
展开
-
as butterknife 插件使用
presso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.jakewharton:butterknife:8.5.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' compile2017-05-05 14:21:11 · 179 阅读 · 0 评论 -
android file 存储 html 导致 pre[code=java] 不换行
2016-09-20 15:07:06 · 80 阅读 · 0 评论 -
android mediaplayer SurfaceView
et.Uri;import android.os.Bundle; import android.util.Log;import android.view.MotionEvent;import android.view.SurfaceHolder;import android.view.SurfaceView;import android.view.View;import android.widget.SeekBar;import java.io.File;import2016-08-26 15:37:19 · 143 阅读 · 0 评论 -
android xutils 基本使用 方法
eclipse 版:http://download.csdn.net/download/knight_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 xUtils简介xUtils 包含了很多实用的android工具。xUtils 支持大文件上传,更全面的http请求协议支持(10种谓词),拥有更加灵活的ORM,更多的事件注解支持且不受混淆影响原创 2016-08-17 11:06:04 · 162 阅读 · 0 评论 -
android 自定义 dialog
.content.Context; import android.view.View;import android.view.View.OnClickListener;import android.widget.EditText;import android.widget.TextView;/** * @author baoyou E-mail:curiousby@163.com * @version 2016-8-16 下午4:43:17 * * desc: ...2016-08-17 10:46:31 · 92 阅读 · 0 评论 -
android AsyncTask 使用方法
r onResponseListener; @Override protected void onPreExecute() { super.onPreExecute(); } @Override protected String doInBackground(String... params) { // 获取网页html数据 String result = HttpUtil.httpGet(params[0]); return result;2016-08-16 15:00:41 · 74 阅读 · 0 评论 -
android handle ui 更新
d downloadData() { updateUIThread( MSG_UPDATE_DATA ); mListView.refreshSelf(); } public void updateUIThread( final int type ) { new Thread( new Runnable() { @Override public void run() {2016-08-16 10:03:26 · 76 阅读 · 0 评论 -
android webview pre[name=code] syntaxHighlighter 代码高亮
download/knight_black_bob/9822551android eclipse 版:http://download.csdn.net/download/knight_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 博客详细效果图 public final static String syntaxHighlighter2016-08-04 10:16:27 · 112 阅读 · 0 评论 -
(比较 tika 和正则 ,我更喜欢jsoup ) jsoup 抓取 iteye 网站
2016-07-22 17:41:25 · 148 阅读 · 0 评论 -
android intent 最大传送内容 1m
erence/android/os/TransactionTooLargeException.html The Binder transaction failed because it was too large.During a remote procedure call, the arguments and the return value of the call are transferred as Parcel objects stored in the Binder transa2016-09-21 14:38:57 · 342 阅读 · 0 评论 -
android iteye 手机端 客户端(iteye blog 博客阅读器)
关于软件这是一款可以随时查看ITEYE博客的软件。目前只支持Android分类的博客功能列表:自定义添加、关注博主、删除博主查看博客列表支持关注博客、关注博主支持离线阅读,包括博客首页、关注博客、关注博主、浏览历史支持最新、最新的博客,技术点,以及博客专栏支持分享微博支持软件自动更新,升级无广告,无特殊权限,绿色安全环保软件最新版本1.0联系我们邮箱:curiousby@163.comQQ:12237162016-09-26 16:02:06 · 199 阅读 · 0 评论 -
addroid 自定义布局
outParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT);TextView temp = new TextView(this);temp .setId(1);temp.setText(“图片”);rl.addView(temp);TextView tv = new TextView(this);tv.setText(“文字”);tv.setId(2);LayoutParams param1 = n原创 2016-10-14 18:02:40 · 95 阅读 · 0 评论 -
推送sdk (类似百度 推送 ) android mina (待优化... )
2017-04-24 10:07:58 · 128 阅读 · 0 评论 -
android as gradle 使用过称中 错误处理
rocess.ProcessException错误 这个问题的出现是在将eclipse项目导入到Android Studio中,由(.9.png)图片造成的,现在的解决方法是将其换成png图片该问题出现原因 是 你引用了 盗来的 .9.png 非正规渠道的美工图片 3. Error:(1, 1) 错误: 非法字符: '\ufeff'没有看见 明显 乱码错误等文件 内部 编码格式 ,重新 新建该类,并把内容 复制进去 ,即可解决 4. 一下 错2017-04-20 17:39:43 · 103 阅读 · 0 评论 -
仿QQ android 实战(学习 android 先来个QQ)
ownload/knight_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556ps :该demo 中的 .9.png 为盗图,在as中不可使,在eclispe 中可以 先看效果图 android 框架xlistview swipe badgeview slidemenu scrollerviewvolleyxutils3.2017-04-20 17:09:25 · 537 阅读 · 0 评论 -
retrofit rxjava android 封装 使用
13297.html该博主 三个 版本的 gitbub 成果:https://github.com/wzgiceman/RxjavaRetrofitDemo-string-masterhttps://github.com/wzgiceman/RxjavaRetrofitDemo-masterhttps://github.com/wzgiceman/Rx-Retrofit 本人使用 RxjavaRetrofitDemo-string-master modules 该 网络请求 包含2017-04-12 11:07:58 · 112 阅读 · 0 评论 -
as 引用模块 ( android stdio modules )
rough the IDE *will override*# any settings specified in this file.# For more details on how to configure your build environment visit# http://www.gradle.org/docs/current/userguide/build_environment.html# Specifies the JVM arguments used for th2017-04-05 13:48:38 · 416 阅读 · 0 评论 -
ofo 破解 android ios 版 (类似 wifi 万*能*钥*匙 )
.com/327994.json存放的就是一个密码 1234 然后 七牛云的 一个节点 免费存储 空间是31536000 ,没有写 单位,我们可以默认为是B,然后 一个 数据的密码是4位,4B,那么 31536000/4 =788,4000 700w的数据量,应该是北上广 投放的车辆数,那么我们就不能使用一个节点了,所以,我们先建立 全国各省市的 列表 34个省市自治区 北京 天津 河北 山西 内蒙古 辽宁 吉林 黑龙江 上海 江苏 浙江 安徽 福建 江西 山东 河南 湖北 湖南2016-12-14 10:58:20 · 251 阅读 · 0 评论 -
android 线上项目 MysqlConsole
2016-11-25 16:34:17 · 88 阅读 · 0 评论 -
qq新闻 内容抓取 正则表达
<a target="_blank" class="pic" href="/a/20160430/004728.htm"> <img class="picto" src="http://img1.gtimg.com/news/pics/hv1/130/103/2061/134042920_small.jpg"></a>2016-07-20 15:49:24 · 165 阅读 · 0 评论 -
android mob onekeyshare sdkshare 一键分享
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 该测试应用 未审核,不能分享 外网图片。。。。。 mainactivitypackage com.curiousby.demo.sdkshare;import android.app.Activity;import android.os.Bun2016-07-19 10:51:38 · 259 阅读 · 0 评论 -
android xlistview
l_parent" android:layout_height="fill_parent" > <com.curiousby.demoxlistview.xlistview.MsgListView android:id="@+id/mylist" android:layout_width="fill_parent" android2016-05-06 19:39:55 · 79 阅读 · 0 评论 -
android PopupWindow
ght="match_parent" android:gravity="center_horizontal" android:orientation="vertical" android:paddingLeft="15dp" android:paddingRight="15dp" android:background="@color/grey&quo2016-05-06 19:36:13 · 63 阅读 · 0 评论 -
android scrollrefreshlist
rt android.os.Bundle;import android.os.Handler;import android.os.Message;import android.view.View;import android.view.View.OnClickListener;import android.widget.AdapterView;import android.widget.AdapterView.OnItemClickListener;import com.ba2016-05-06 19:33:36 · 160 阅读 · 0 评论 -
android slidemenu
<attr name="rightPadding" /> </declare-styleable></resources> <com.baoy.demo.demoslidemenu.view.SlidingMenu xmlns:android="http://schemas.android.com/apk/res/andr2016-05-06 19:27:14 · 143 阅读 · 0 评论 -
apk 反编译 教程 (不支持混淆,Android)
原创 2015-09-17 08:09:26 · 160 阅读 · 0 评论 -
SplashActivity 类似微博 引导页
th="match_parent" android:layout_height="match_parent" android:background="#0f0"> </RelativeLayout> SplashActivity .java import android.app.Activity;import android.conten原创 2015-09-17 19:18:45 · 113 阅读 · 0 评论 -
eclipse 中绑定 android源码
s下;2.在任意Android工程目录下找个Android相关的类名,[CTRL+鼠标左键]-->[Change Attached Source..]-->[External Location]path:(具体路径)/sdk/sources/android-18.zip -->[ok] 捐助开发者在兴趣的驱动下,写一个免费的东西,有欣原创 2015-09-16 08:18:58 · 72 阅读 · 0 评论 -
android islibaray libaray 的创建和使用
2014-10-09 10:54:29 · 124 阅读 · 0 评论 -
android bounceScrollView
:layout_height="fill_parent" android:orientation="vertical" > <com.baoy.demobouncescrollview.BounceScrollView android:id="@+id/scrollView" android:layout_width="fill_parent&q2016-05-06 19:40:31 · 89 阅读 · 0 评论 -
android firstslide
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.c原创 2016-05-07 05:45:15 · 154 阅读 · 0 评论 -
android jpush 极光推送
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 package com.curiousby.bbbyyy;import cn.jpush.android.api.JPushInterface;import android.os.Bundle;import android.app.Activity; public2016-05-10 18:52:43 · 105 阅读 · 0 评论 -
android volley ,多文件 表单上传
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 android volley ,多文件 表单上传 后台实现 http://knight-black-bob.iteye.com/blog/2311807 public static void createFeed( FeedEntity feed,2016-07-18 08:52:19 · 289 阅读 · 0 评论 -
android qq 消息页面 editview 获得焦点把 标题栏 顶上去 问题
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 ListView 改成 ScrollView 也是有效果的,但改成RelativeLayout 却不行, 改成 RelativeLayout 嵌套 listview 也是可以得 , 可以 给我一个解释 为啥是这样的吗 ? <RelativeLayout2016-06-23 17:15:01 · 189 阅读 · 0 评论 -
android eventbus ui sqlite http
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 运行结果: 日志打印: 流程图: 以上为eventbus 使用,下面可以作为正常逻辑 1@Override public View onCreateView(LayoutInflater inflater, Vie2016-06-16 11:51:34 · 114 阅读 · 0 评论 -
android location lbs baidu 定位 划线
mport java.util.Date;import java.util.List;import android.os.Bundle;import android.support.v4.app.Fragment;import android.util.Log;import android.view.LayoutInflater;import android.view.View;import android.view.ViewGroup;import android.wi2016-05-27 21:55:14 · 105 阅读 · 0 评论 -
android volley
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 package com.example.demonetworkandimagecache; import java.util.HashMap;import java.util.Map;import org.json.JSONObject;import androi2016-05-10 19:09:42 · 80 阅读 · 0 评论 -
android baidupush
ht_black_bob/9822553android stdio 版本:http://download.csdn.net/download/knight_black_bob/9822556 AndroidManifest.xml<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://sc2016-05-10 19:07:54 · 80 阅读 · 0 评论 -
android sqllite dbhelper
"); package com.curiousby.fitnessandappointment.entity;import java.io.Serializable; import java.util.Date; //com.curiousby.fitnessandappointment.entity.UserEntity@SuppressWarnings("serial")public class UserEntity impleme2016-05-10 19:00:09 · 113 阅读 · 0 评论 -
android litepal(还是手写db的好用)
ext; //com.baoy.demo.demolitepal.MyApplicationpublic class MyApplication extends LitePalApplication { private static Context mContext; @Override public void onCreate() { super.onCreate(); mContext = getApplication2016-05-10 18:56:51 · 101 阅读 · 0 评论