03 2012 档案

ARM的反汇编工具
摘要:http://hi.baidu.com/jiangboss/blog/item/d00582f3544be3c80a46e0f5.html这里就介绍三个好了,也是非常常用的。1、AXD ADS自带的调试工具,自然也可以当作反汇编器来用。不过,说实话,界面还是比较土的。2、IDA Pro 如果有ARM反汇编模块,IDA Pro可以说是最好的反汇编工具了。可以自定义函数、记录、跳转。等等,十分优秀。3、fromelf 用ADS的人,如果没用过fromelf,说明只是个初级水平。这个命令行工具十分强大。反汇编只是其中沧海一粟而已。和linux下的二进制工具链中的readelf差不多的用法。但是功能远 阅读全文

posted @ 2012-03-27 23:37 androidme 阅读(1733) 评论(0) 推荐(0) 编辑

ARM反汇编笔记贴
摘要:http://bbs.pediy.com/showthread.php?t=129004最快的学习,莫过于对着代码找,那么,从google上下载了os_monitor的apk和源代码 把apk改zip解压,然后到\lib\armeabi找到libosmonitor.so,用IDA打开呗. 打开源代码的jni文件夹,随便找一个函数,我找的是JNI_OnUnload:void JNI_OnUnload(JavaVM* vm, void* reserved){ JNIEnv *env; jclass cls; if ((*vm)->GetEnv(vm, (void **) &env, 阅读全文

posted @ 2012-03-27 23:26 androidme 阅读(653) 评论(0) 推荐(0) 编辑

用于LaTeX的smali语法高亮文件
摘要:http://blog.claudxiao.net/2012/01/smali_syntax_for_latex/smali是对Dalvik虚拟机指令集的一种汇编语法,基于jasmin语法修改而来。在LaTeX中引用代码,一般使用listings宏包,最后一定修订于1999年的listings显然不会支持smali高亮,所以我写了这样一个文件,下载地址:http://code.google.com/p/amatutor/source/browse/smali.sty效果如下:其中关键词和配色方案参考了lohan+在其博客http://androidcracking.blogspot.com中提 阅读全文

posted @ 2012-03-27 22:45 androidme 阅读(420) 评论(0) 推荐(0) 编辑

几个Google的jar包
摘要:http://mytracks.googlecode.com/hg-history/v1.0.17/MyTracks/libs/google-common.jarhttp://mytracks.googlecode.com/hg-history/v1.0.17/MyTracks/libs/accounts.jarhttp://mytracks.googlecode.com/hg-history/v1.0.17/MyTracks/libs/googleloginclient-helper.jarhttp://mytracks.googlecode.com/hg/MyTracksLib/libs/ 阅读全文

posted @ 2012-03-14 11:30 androidme 阅读(614) 评论(0) 推荐(0) 编辑

Protocol Buffers中的optimize_for选项
摘要:http://code.google.com/apis/protocolbuffers/docs/proto.html#optionsoptimize_for (file option): Can be set to SPEED, CODE_SIZE, or LITE_RUNTIME. This affects the C++ and Java code generators (and possibly third-party generators) in the following ways:SPEED (default): The protocol buffer compiler will 阅读全文

posted @ 2012-03-13 21:52 androidme 阅读(1310) 评论(0) 推荐(1) 编辑

kandroid - 很多关于Android知识的文档
摘要:www.kandroid.org/可惜有些是韩文的,碰到韩文就翻译一下吧,有些文档很不错,在其他地方没见到过。 阅读全文

posted @ 2012-03-13 21:21 androidme 阅读(235) 评论(0) 推荐(0) 编辑

Android Visualizer
摘要:https://github.com/felixpalmer/android-visualizerA View subclass that Takes the input from the Android MediaPlayer and displays visualizations, like in iTunes or WinAmpThe Visualizer is designed to be modular, so it is very easy to combine visualizations to create more complex effects.It's easy 阅读全文

posted @ 2012-03-13 16:58 androidme 阅读(999) 评论(0) 推荐(1) 编辑

google-gson - A Java library to convert JSON to Java objects and vice-versa
摘要:http://code.google.com/p/google-gson/Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not hav 阅读全文

posted @ 2012-03-13 15:22 androidme 阅读(232) 评论(0) 推荐(1) 编辑

protobuf - Protocol Buffers - Google's data interchange format
摘要:http://code.google.com/p/protobuf/Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. 阅读全文

posted @ 2012-03-13 15:18 androidme 阅读(271) 评论(0) 推荐(0) 编辑

[AndroidTips]startService与bindService的区别
摘要:Service的生命周期方法比Activity少一些,只有onCreate, onStart, onDestroy我们有两种方式启动一个Service,他们对Service生命周期的影响是不一样的。1 通过startService Service会经历 onCreate --> onStart stopService的时候直接onDestroy 如果是 调用者 直接退出而没有调用stopService的话,Service会一直在后台运行。 下次调用者再起来仍然可以stopService。2 通过bindService Service只会运行onCreate, 这个时候 调用者和Servi 阅读全文

posted @ 2012-03-13 13:32 androidme 阅读(3439) 评论(0) 推荐(1) 编辑

Sensory's TrulyHandsfree™ Voice Trigger Demo
该文被密码保护。

posted @ 2012-03-11 20:05 androidme 阅读(6) 评论(0) 推荐(1) 编辑

[Android]JNI Tips
摘要:http://developer.android.com/guide/practices/design/jni.htmlJNI TipsJNI is the Java Native Interface. It defines a way for managed code (written in the Java programming language) to interact with native code (written in C/C++). It's vendor-neutral, has support for loading code from dynamic share 阅读全文

posted @ 2012-03-11 19:51 androidme 阅读(857) 评论(1) 推荐(1) 编辑

几种ARM反汇编器
摘要:http://blog.claudxiao.net/2011/12/arm-disassemblers/最近在为androguard实现ARM反汇编和ARM漏洞利用代码检测的功能。Anthony告诉我三种方案:smiasm、radare、IDAPython。前段时间尝试了这些方法,各有优劣。归纳如下:方案开源支持Thumb递归反汇编提供指令详情smiasm是否是是radare是是否否IDAPython否是是是下面是详细情况:smiasmsmiasm是一个纯Python的反汇编框架。它由三个子项目构成,其中elfesteem实现ELF和PE格式解析,miasm实现反汇编。smiasm的代码使用了 阅读全文

posted @ 2012-03-10 23:44 androidme 阅读(3521) 评论(0) 推荐(1) 编辑

IDA - Support for Android
摘要:http://www.hex-rays.com/products/ida/6.1/index.shtmlSupport for AndroidThe long awaited Android support in IDA is ready! The new version can disassemble Android bytecode (Dalvik). An IDA user kindly contributed the processor module and file loader (thank you!) A screenshot for your pleasure:Dalvik.. 阅读全文

posted @ 2012-03-10 23:10 androidme 阅读(369) 评论(0) 推荐(0) 编辑

Hex-Rays
摘要:http://www.hex-rays.com/Hex-Rays is a hi-tech company focused on binary software analysis. We strive to deliver the best products and excellent service.IDA is the Interactive DisAssembler: the world's smartest and most feature-full disassembler, which many software security specialists are famil 阅读全文

posted @ 2012-03-10 22:22 androidme 阅读(331) 评论(0) 推荐(1) 编辑

Practice of Android Reverse Engineering
摘要:http://0xlab.org/~jserv/android-reverse.pdfhttps://deepsec.net/docs/Slides/DeepSec_2010_Reverse_Forensics.pdfhttp://www.slideshare.net/jserv/practice-of-android-reverse-engineering 阅读全文

posted @ 2012-03-10 22:19 androidme 阅读(301) 评论(0) 推荐(0) 编辑

ARM工具链中的概念——EABI
摘要:http://blog.csdn.net/flagyan/article/details/6166107EABI(Embedded Application Binary Interface),嵌入式应用程序二进制接口。ABI的定义ABI描述应用程序与操作系统、应用程序与库、应用程序的组成部分之间的低层接口。ABI允许编译好的目标代码在使用兼容ABI的系统中无需改动就能运行。EABI的具体定义Codesourcery上有一个这样的QA:https://support.codesourcery.com/GNUToolchain/kbentry32QuestionWhat is the ABI fo 阅读全文

posted @ 2012-03-10 22:07 androidme 阅读(904) 评论(0) 推荐(1) 编辑

[AndroidTips]jni读取assets资源文件
摘要:http://blog.csdn.net/fontlose/article/details/6686161assets目录底下的文件会被打包到一个apk文件里,这些资源在安装时他们并没被解压,使用时是直接从apk中读取的。这里介绍下怎么在jni内使用 ndk自带api的接口函数读取assets资源文件,和libzip库函数的使用,可以用来读创建修改压缩文档,这里也是以读取apk安装包内的资源文 件为例。1 用ndk自带的接口函数读apk包,从2.3开始提供这些接口函数,具体看头文件assert.h android/asset_manager.h android/asset_manager_jn 阅读全文

posted @ 2012-03-10 20:04 androidme 阅读(1179) 评论(0) 推荐(1) 编辑

use addr2line in android
摘要:Let's say that logcat show you the following crash log (this is from one of my projects):I/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***I/DEBUG ( 31): Build fingerprint: 'generic/sdk/generic:2.3/GRH55/79397:eng/test-keys'I/DEBUG ( 31): pid: 378, tid: 386 &g 阅读全文

posted @ 2012-03-10 18:04 androidme 阅读(698) 评论(0) 推荐(0) 编辑

Android ndk-stack tool
摘要:Android ndk-stack tool----------------------Introduction:-------------This document describes the 'ndk-stack' tool that is distributed withthe Android NDK, since release r6.Overview:---------'ndk-stack' is a simple tool that allows you to filter stack traces as theyappear in the outp 阅读全文

posted @ 2012-03-10 17:57 androidme 阅读(1640) 评论(0) 推荐(1) 编辑

A step-by-step guide for debugging native code, by Carlos Souto
摘要:http://www.eclipse.org/sequoyah/documentation/native_debug.phpPre-requisites0) Sequoyah Native Debug feature must be installed.You can install it from Sequoyah update site:It will install CDT's dependencies if needed:1) The platform must be Android 2.2 (android-8)2) The ndk version must be r4b ( 阅读全文

posted @ 2012-03-09 23:24 androidme 阅读(399) 评论(0) 推荐(0) 编辑

Using cgdb with ndk-debug (and cgdb tutorial)
摘要:http://mhandroid.wordpress.com/2011/01/23/using-cgdb-with-ndk-debug-and-cgdb-tutorial/Android ndk (http://developer.android.com/sdk/ndk/index.html) comes withndk-gdbcommand that startsgdbdebugger and connects it to Android application.cgdb(http://cgdb.sourceforge.net/) is superior console front-end 阅读全文

posted @ 2012-03-09 23:23 androidme 阅读(324) 评论(0) 推荐(0) 编辑

Using Eclipse for Android C/C++ Debugging
摘要:http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-debugging/Yes. You can use Eclipse for debugging of C/C++ code. I personally prefercgdbbut if you want to debug in Eclipse here is how.See myprevious spothow to set upcgdbdebugger if you think it will suit you.See myblog spothow 阅读全文

posted @ 2012-03-09 23:20 androidme 阅读(713) 评论(0) 推荐(0) 编辑

Using Eclipse for Android C/C++ Development
摘要:http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/Programming in C/C++ on Android is just awesome! This tutorial shows how to setup Eclipse for using C/C++ together with Java in Android projects.0) PrerequisitiesYou need to have Google ADT (Android Development Tools) 阅读全文

posted @ 2012-03-09 23:13 androidme 阅读(463) 评论(0) 推荐(0) 编辑

How C/C++ Debugging Works on Android
摘要:http://mhandroid.wordpress.com/2011/01/25/how-cc-debugging-works-on-android/How debugging of C/C++ code works on Android? Nothing special actually.Gdbitself has a feature for remote debugging. Note: For this article I am using Android NDK, r5. The behavior ofndk-buildandndk-gdbcommands can be differ 阅读全文

posted @ 2012-03-09 22:56 androidme 阅读(383) 评论(0) 推荐(0) 编辑

非常容易的进行Android NDK开发的调试
该文被密码保护。

posted @ 2012-03-09 22:40 androidme 阅读(3) 评论(0) 推荐(1) 编辑

Android NDK调试相关
该文被密码保护。

posted @ 2012-03-09 22:20 androidme 阅读(4) 评论(0) 推荐(0) 编辑

Cygwin/MinGW
摘要:Cygwinhttp://www.cygwin.com/MinGW and MSYShttp://www.mingw.org/ 阅读全文

posted @ 2012-03-09 20:20 androidme 阅读(130) 评论(0) 推荐(1) 编辑

Android JNI相关
摘要:JNI Examples for Androidhttp://android.wooyd.org/JNIExample/The Native Android APIhttp://mobilepearls.com/labs/native-android-api/Android JNI开发入门http://my.unix-center.net/~Simon_fu/?p=833 阅读全文

posted @ 2012-03-09 13:13 androidme 阅读(111) 评论(0) 推荐(1) 编辑

Setting up Automatic NDK Builds in Eclipse
摘要:http://mobilepearls.com/labs/ndk-builder-in-eclipse/When editing native JNI code in an Android project using the Android NDK you may configure Eclipse to automatically rebuild your project when editing native code, just as it does for java. The below steps shows how to perform the necessary configur 阅读全文

posted @ 2012-03-09 11:44 androidme 阅读(237) 评论(0) 推荐(1) 编辑

[Android]MIT App Inventor
摘要:http://appinventor.mit.edu/Creating an App Inventor app begins in your browser, where you design how the app will look. Then, like fitting together puzzle pieces, you set your app's behavior. All the while, through a live connection between your computer and your phone, your app appears on your 阅读全文

posted @ 2012-03-09 00:26 androidme 阅读(621) 评论(0) 推荐(1) 编辑

Google非官方的Text To Speech和Speech Recognition的API
摘要:具体参考下面的这些链接,已经有人写好工具直接调用了。Text To Speechhttp://techcrunch.com/2009/12/14/the-unofficial-google-text-to-speech-api/http://michalfapso.blogspot.com/2012/01/using-google-text-to-speech.htmlhttp://tonyvirelli.com/slider/sweet-google-tts/Speech Recognitionhttp://mikepultz.com/2011/03/accessing-google-spe 阅读全文

posted @ 2012-03-07 23:58 androidme 阅读(419) 评论(0) 推荐(0) 编辑

android语音识别 android.speech 包分析
摘要:http://mengxx.blog.51cto.com/2502718/767085android voice recognition,语音识别作为Service实现。 语音识别API在android.speech中 API大致分成应用端API和service端APIRecognizerIntent顾名思义,在自己的程序中,需要语音识别了,发出这个intent,如果已经安装了google voice search应用,谷歌的activity,service就会跳出来帮你。 http://download.csdn.net/source/2591401有三个例子。 例子1基本就实现了这样一个应 阅读全文

posted @ 2012-03-07 23:35 androidme 阅读(4999) 评论(0) 推荐(1) 编辑

[AndroidTips]Check if device is plugged in
摘要:My app has a broadcast receiver to listen for changes to ACTION_POWER_CONNECTED, and in turn flag the screen to stay on.What I am missing is the ability for the app to check the charging status when it first runs. Can anyone please help me with code to manually check charging status?public class Pow 阅读全文

posted @ 2012-03-07 23:15 androidme 阅读(293) 评论(0) 推荐(0) 编辑

两个很不错的在线Text To Speech转换网站
摘要:声音效果很好,但不支持中文。http://www2.research.att.com/~ttsweb/tts/demo.phphttp://vozme.com/index.php?lang=en 阅读全文

posted @ 2012-03-07 21:40 androidme 阅读(665) 评论(0) 推荐(0) 编辑

Voice Search/Actions for Android
摘要:http://www.google.com/mobile/voice-search/http://www.google.com/mobile/voice-actions/ 阅读全文

posted @ 2012-03-07 17:01 androidme 阅读(172) 评论(0) 推荐(0) 编辑

Android Ant Build简单总结
摘要:网上介绍很多,这里简单总结一下,也许总结的不对。1. 正常通过Eclipse创建一个Android工程。这是会在该工程目录下生成一个project.properties和proguard.cfg文件。这两个文件后面会用到。2. 在该工程目录下,打开DOS窗口,运行:android update project -p .这时候会在该工程目录下生成用于Ant编译的build.xml文件。3. 在project.properties文件中,添加如下用于进行包的混淆:proguard.config=proguard.cfg4. 生成一个keystore。在Eclipse中右键该工程,选择Android 阅读全文

posted @ 2012-03-07 16:30 androidme 阅读(560) 评论(0) 推荐(0) 编辑

[Android]Speech Input
摘要:http://developer.android.com/resources/articles/speech-input.htmlPeople love their mobile phones because they can stay in touch wherever they are. That means not just talking, but e-mailing, texting, microblogging, and so on.Speech input adds another dimension to staying in touch. Google's Voice 阅读全文

posted @ 2012-03-07 10:56 androidme 阅读(243) 评论(0) 推荐(1) 编辑

放眼观美股:Siri背后的声控技术公司Nuance
摘要:http://tech.163.com/12/0213/20/7Q5VUJL5000915BE.htmlNuance Communications是一家语音及图像解决方案提供商,是全球最大的专业从事语音识别软件研发及销售的公司,背后支撑苹果Siri工作的语音识别 技术便是由Nuance提供,此外公司还研发多款图像软件、输入法软件等产品。服务范围包含自主语音呼叫查询、医疗诊断记录听写、语音在线搜索、语音导 航、以及PDF文档等。· 竞争核心1.研发 Nuance的核心优势首先在其研发能力。通过自主研发以及收购,Nuance获得的语音相关专利数量在行业内绝对领先,目前拥有近4000项专利 阅读全文

posted @ 2012-03-07 10:33 androidme 阅读(673) 评论(0) 推荐(1) 编辑

VoxForge - collect transcribed speech for use with Free and Open Source Speech Recognition Engines
摘要:http://voxforge.org/一些概念解释的很清晰,这里汇总一下。An acoustic model is a file that contains statistical representations of each of the distinct sounds that makes up a word. Each of these statistical representations is assigned a label called a phoneme. The English language has about 40 distinct sounds that are 阅读全文

posted @ 2012-03-07 10:11 androidme 阅读(444) 评论(0) 推荐(1) 编辑

隐马尔可夫模型(HMM)攻略
摘要:http://blog.csdn.net/likelet/article/details/7056068隐马尔可夫模型(Hidden Markov Model,HMM) 最初由 L. E. Baum 和其它一些学者发表在一系列的统计学论文中,随后在语言识别,自然语言处理以及生物信息等领域体现了很大的价值。平时,经常能接触到涉及HMM的相关文章,一直没有仔细研究过,都是蜻蜓点水,因此,想花一点时间梳理下,加深理解,在此特别感谢 52nlp 对 HMM 的详细介绍。 考虑下面交通灯的例子,一个序列可能是红-红/橙-绿-橙-红。这个序列可以画成一个状态机,不同的状态按照这个状态机互相交替,每一个状. 阅读全文

posted @ 2012-03-06 14:01 androidme 阅读(2145) 评论(1) 推荐(1) 编辑

CMUSphinx-Open Source Toolkit For Speech Recognition
摘要:http://cmusphinx.sourceforge.net/wiki/可以从上面学习一些概念,比如:ModelsAccording to the speech structure, three models are used in speech recognition to do the match:An acoustic model contains acoustic properties for each senone. There are context-independent models that contain properties (most probable featur 阅读全文

posted @ 2012-03-06 13:00 androidme 阅读(323) 评论(0) 推荐(1) 编辑

Sensory Releases Truly Handsfree™ Trigger SDK for iPhone and Android OS
摘要:http://www.sensoryinc.com/company/pr10_02.htmlotal handsfree control now possible for new, popular voice search applicationsSunnyvale, CA, - Oct. 26, 2010 ...Today Sensory announced the availability of Android™ and iPhone® software development kits (SDK’s) that enable smart phones and smart pad 阅读全文

posted @ 2012-03-05 21:40 androidme 阅读(294) 评论(0) 推荐(1) 编辑

[Android]Using Text-to-Speech
摘要:http://developer.android.com/resources/articles/tts.htmlStarting with Android 1.6 (API Level 4), the Android platform includes a new Text-to-Speech (TTS) capability. Also known as "speech synthesis", TTS enables your Android device to "speak" text of different languages.Before we 阅读全文

posted @ 2012-03-05 20:47 androidme 阅读(436) 评论(0) 推荐(1) 编辑

导航

点击右上角即可分享
微信分享提示