2014年12月26日

Gradle Goodness: Check Task Dependencies With a Dry Run

摘要: We can run a Gradle build without any of the task actions being executed. This is a so-called dry run of our build. We can use the dry run of a build ... 阅读全文

posted @ 2014-12-26 22:34 为梦飞翔 阅读(399) 评论(0) 推荐(0)

Gradle Goodness: Using and Working with Gradle Version

摘要: To get the current Gradle version we can use the gradleVersion property of the Gradle object. This returns a string value we can use for displaying th... 阅读全文

posted @ 2014-12-26 20:21 为梦飞翔 阅读(285) 评论(0) 推荐(0)

Gradle Goodness: Skip Building Project Dependencies

摘要: If we use Gradle in a multi-module project we can define project dependencies between modules. Gradle uses the information from the project dependenci... 阅读全文

posted @ 2014-12-26 20:04 为梦飞翔 阅读(376) 评论(0) 推荐(0)

Gradle Goodness: Continue Build Even with Failed Tasks

摘要: If we run a Gradle build and one of the tasks fails, the whole build stops immediately. So we have fast feedback of our build status. If we don't want... 阅读全文

posted @ 2014-12-26 19:59 为梦飞翔 阅读(354) 评论(0) 推荐(0)

Gradle Goodness: Rename Ant Task Names When Importing Ant Build File

摘要: Migrating from Ant to Gradle is very easy with the importBuild method from AntBuilder. We only have to add this single line and reference our existing... 阅读全文

posted @ 2014-12-26 19:56 为梦飞翔 阅读(267) 评论(0) 推荐(0)

Rename Ant Task Names When Importing Ant Build File

摘要: http://mrhaki.blogspot.jp/2014/12/gradle-goodness-rename-ant-task-names.html 阅读全文

posted @ 2014-12-26 14:34 为梦飞翔 阅读(238) 评论(0) 推荐(0)

Useful for Android the development engineer from Github

摘要: Original:http://sysmagazine.com/posts/216591/Many plowing on open space Github, I found assemblage of interesting designs, source the codes, and libra... 阅读全文

posted @ 2014-12-26 14:28 为梦飞翔 阅读(255) 评论(0) 推荐(0)

Compile a native C Android application

摘要: 原文:Compile a native C Android application翻译: Zhiwei.Li通过上网搜索,你可以发现很多种编译Android native应用的方法.我想说的是,不同的控制台应用, 守护程序(daemon), C/C++库,等等.这些程序在你自己的计算机上编译没有任何... 阅读全文

posted @ 2014-12-26 14:25 为梦飞翔 阅读(1428) 评论(0) 推荐(0)

android-non-ui-ui-thread-communications-part-5-5

摘要: This is the last post in my series regarding Android thread communications. Parts 1 through 4 are linked in below.Part 1Part 2Part 3Part 4In this seri... 阅读全文

posted @ 2014-12-26 14:10 为梦飞翔 阅读(399) 评论(0) 推荐(0)

android-non-ui-to-ui-thread-communications-part-4-of-5

摘要: In parts 1-3 of this series, I have explored three different means for an Android non-UI thread to communicate user interface updates to the UI thread... 阅读全文

posted @ 2014-12-26 14:09 为梦飞翔 阅读(292) 评论(0) 推荐(0)

Android Non-UI to UI Thread Communications(Part 3 of 5)

摘要: Original:http://www.intertech.com/Blog/android-non-ui-to-ui-thread-communications-part-3-of-5/Continuing my series on Android non-UI thread-to-UI thre... 阅读全文

posted @ 2014-12-26 14:08 为梦飞翔 阅读(355) 评论(0) 推荐(0)

Android Non-UI to UI Thread Communications(Part 2 of 5)

摘要: Original:http://www.intertech.com/Blog/android-non-ui-to-ui-thread-communications-part-2-of-5/his isthe second part of my series of blog posts on Andr... 阅读全文

posted @ 2014-12-26 14:06 为梦飞翔 阅读(217) 评论(0) 推荐(0)

Android Non-UI to UI Thread Communications(Part 1 of 5)

摘要: original:http://www.intertech.com/Blog/android-non-ui-to-ui-thread-communications-part-1-of-5/ANDROID UI THREAD AND ANROn the Android platform,applica... 阅读全文

posted @ 2014-12-26 14:04 为梦飞翔 阅读(422) 评论(0) 推荐(0)

Android NDK引用预编译的动态链接库

摘要: NDK里有个例子: android-ndk-r10/samples/module-exports/jni一看就懂了———————————————————————————–从r5版本开始,就支持预编译的库(共享和静态). 也就是说在你的应用中,可包含和使用 预先编译的库。这个功能的用处1. 你想分发你... 阅读全文

posted @ 2014-12-26 13:58 为梦飞翔 阅读(2619) 评论(0) 推荐(0)

ANDROID STUDIO, GRADLE AND NDK INTEGRATION

摘要: Originally posted on:http://ph0b.com/android-studio-gradle-and-ndk-integration/With the recent changes (release 0.7.3 around Dec 27), thenew Android B... 阅读全文

posted @ 2014-12-26 13:55 为梦飞翔 阅读(979) 评论(0) 推荐(0)

Android上使用MP3格式录制声音

摘要: 0. 下载LAME 并解压缩http://lame.sourceforge.net/download.phphttp://sourceforge.net/projects/lame/files/lame/3.99/lame-3.99.5.tar.gz1. 创建jni/libmp3lame/src目录... 阅读全文

posted @ 2014-12-26 13:52 为梦飞翔 阅读(2686) 评论(0) 推荐(0)

Include Native *.so Library in APK With Android Studio

摘要: Originally posted on:http://www.kylethielk.com/blog/include-native-so-library-in-apk-with-android-studio/Using the Android NDK is well documented thro... 阅读全文

posted @ 2014-12-26 13:50 为梦飞翔 阅读(301) 评论(0) 推荐(0)

导航