自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

???的博客

???

  • 博客(7)
  • 资源 (3)
  • 收藏
  • 关注

原创 二叉搜索树

#include using namespace std; class tree{ public: class node{ public: int value; char key; node* left; node* right; node(int v,char k){ this->value=v; this->key=k; } };

2016-07-27 12:46:39 220

原创 Android视图自定义属性

1、在values文件夹下生成attr文件                 / 2、在定义的view中,可将布局文件中的定义view的属性解析 public MyView(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructo

2016-07-14 15:43:27 240

原创 android中的fragment

一、静态     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >            android:layout_width="wrap_content"        android:layou

2016-07-13 14:44:38 213

原创 Android中的broadcast

一、基本使用定义: 定义一个接收器,选择动态或静态注册,然后发送广播或信息。 动态注册: registerRecerver(broadcast,new IntentFilter("action")); 动态注销: unregisterReceiver(broadcast); 二、广播接收器的优先级:                                 andr

2016-07-13 10:37:37 242

原创 Android中的service

一、定义和启动service      编写类继承service,在配置文件中注册service,利用intent桥梁,startservice(),启动service。 可通过intent通讯 二、绑定service方式 bindService(intent, conn,Service.BIND_AUTO_CREATE); //conn为ServiceConnection实例,监听绑定

2016-07-13 10:28:31 221

原创 andorid中的应用权限的检查

一、 1、声明权限:    2、 public static void hasPermision(Context context){ if(context.checkCallingOrSelfPermission(PERMISION_HELLO)!=PackageManager.PERMISSION_GRANTED){ throw new SecurityException("异常");

2016-07-12 16:22:46 394

原创 android中intent的作用

intent:android中的应用间或应用内部的通信桥梁。比如activity/service/broadcast.等。 1.显式intent    Intent i=new Intent(MainActivity.this,AnotherActivity.class)   2.隐式intent 通过Android的筛选机制 ,可实现不同应用的通讯。

2016-07-12 15:31:44 6003

javascript轮播图

javascript实现的轮播图,实现流程: .carousel-container固定大小,.carousel-wrapper包含.carousel-slide,设置.carousel-wrapper的margin-left,然后将第一个.carousel-slide移到末尾

2018-01-06

gradle-2.4-all.zip

官网原下载地址:https://services.gradle.org/distributions/ 不过现在这个网站下载的速度伤不起啊。。。

2017-08-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除