自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Widsom的博客

人的原动力来自对未来的美好憧憬

  • 博客(9)
  • 资源 (10)
  • 收藏
  • 关注

原创 JNI开发的常见错误&&Android.mk文件说明&& jni开发的简便流程

jni开发的常见错误[1]Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk 说明你的jni目录下需要一个Android.mk文件 [2]11-21 02:26:39.995: E/AndroidRuntime(434): Caused by: java.lang.UnsatisfiedLinkError:

2016-02-27 14:25:16 1042

原创 JNI用javah命令生成头文件

以下代码在Android中JNI的使用之HelloWorld的基础上操作Android中JNI的使用之HelloWorld2.4在工程的src目录下,在dos窗口使用javah命令 后面跟 MainActivity全路径(eg:com.example.jnitojavah.MainActivity),会在src目录下生成一个头文件(eg:com_example_jnitojavah_MainA

2016-02-27 14:07:02 18080

原创 Android中JNI的使用之HelloWorld

1.配置JNI环境下载ndk版本 配置环境变量–>将ndk-build.cmd文件所在路径配置到path中2.创建一个android工程2.1 在MainActivity中创建一个本地方法package com.example.jni;import android.app.Activity;import android.os.Bundle;import android.view.View;i

2016-02-27 11:56:07 1097

原创 shape

<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <!--shape命名空间 类型--> <!--android:shape="rectangle" 表示矩形-->

2016-02-21 10:58:22 655

原创 xml布局方式播放帧动画

audio_wave_anim.xml文件写入图片资源,和每帧执行的时间<?xml version="1.0" encoding="utf-8"?><animation-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/audio_anim_0

2016-02-20 23:04:55 1574

原创 Notification&&自定义Notification

MainActivity的布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match

2016-02-20 23:02:47 383

转载 Android View中getViewTreeObserver().addOnGlobalLayoutListener()

我们知道在oncreate中View.getWidth和View.getHeight无法获得一个view的高度和宽度,这是因为View组件布局要在onResume回调后完成。所以现在需要使用getViewTreeObserver().addOnGlobalLayoutListener()来获得宽度或者高度。这是获得一个view的宽度和高度的方法之一。OnGlobalLayoutListener 是V

2016-02-18 16:28:53 855

原创 BatteryManager--获取电量

public class BatteryActivity extends AppCompatActivity implements View.OnClickListener { private Button btn_battery; private BatteryBoastcaseReceiver receiver; @Override protected void on

2016-02-18 13:21:32 1624

原创 自定义SeekBar

SeekBar的样式修改<SeekBarandroid:layout_width="0dp"android:layout_height="wrap_content"android:layout_weight="1"android:maxHeight="6dp"android:minHeight="6dp"android:progress="40"android:progressDraw

2016-02-18 10:42:16 644

内存检测分析工具

内存分析工具

2017-06-19

Android逆向助手

android逆向助手,反编译工具

2017-06-19

GifCam录屏工具

录屏工具,保存的格式是GIF

2017-06-19

fiddler4抓包工具

Fiddler 4抓包工具

2017-06-19

commons-beanutils-1.8.3.jar

commons-beanutils-1.8.3.jar

2017-02-25

阿里巴巴Java开发手册 高清.pdf版

阿里巴巴Java开发手册,包含编程规约,异常日志,MySQL规约,工程规约,安全规约

2017-02-10

Bugly实现热更新Demo

使用bugly实现热更新

2017-02-07

Gradle Rescipes for Android

Gradle 官网资料

2016-11-15

Gradle for Android

About This Book, Create custom Gradle tasks and plugins for your Android projects, Configure different build variants, each with their own dependencies and properties, Manage multi-module projects, and integrate modules interdependently, Who This Book Is For, If you are an experienced Android developer wanting to enhance your skills with the Gradle Android build system, then this book is for you. As a prerequisite, you will need some knowledge of the concepts of Android application development., What You Will Learn, Build new Android apps and libraries using Android Studio and Gradle, Migrate projects from Eclipse to Android Studio and Gradle, Manage the local and remote dependencies of your projects, Create multiple build variants, Include multiple modules in a single project, Integrate tests into the build process, Create custom tasks and plugins for Android projects, In Detail, Gradle is an open source build automation system that introduces a Groovy-based domain-specific language (DSL) to configure projects. Using Gradle makes it easy for Android developers to manage dependencies and set up the entire build process., This book begins by taking you through the basics of Gradle and how it works with Android Studio. Furthermore, you will learn how to add local and remote dependencies to your project. You will work with build variants, such as debug and release, paid and free, and even combinations of these things. The book will also help you set up unit and integration testing with different libraries and will show how Gradle and Android Studio can make running tests easier. Finally, you will be shown a number of tips and tricks on the advanced customization of your application's build process. By the end of this book, you will be able to customize the entire build process, and create your own tasks and plugins for your Gradle builds.

2016-11-15

空空如也

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

TA关注的人

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