一、Android开发常用的一些第三方jar库
3个apache开源项目
1.1 Common IO
http://commons.apache.org/io/
Commons IO is a library of utilities to assist with developing IO functionality.
There are six main areas included:
- Utility classes - with static methods to perform common tasks
- Input - useful Input Stream and Reader implementations
- Output - useful Output Stream and Writer implementations
- Filters - various implementations of file filters
- Comparators - various implementations of java.util.Comparator for files
- File Monitor - a component for monitoring file system events
1.2 Mime4j
http://james.apache.org/mime4j
Apache James Mime4J is developed by the Apache James team but now has a dedicated mailing list.
Apache James Mime4J provides a parser, MimeStreamParser , for e-mail message streams in plain rfc822 and MIME format. The parser uses a callback mechanism to report parsing events such as the start of an entity header, the start of a body, etc. If you are familiar with the SAX XML parser interface you should have no problem getting started with mime4j.
The parser only deals with the structure of the message stream. It won't do any decoding of base64 or quoted-printable encoded header fields and bodies. This is intentional - the parser should only provide the most basic functionality needed to build more complex parsers. However, mime4j does include facilities to decode bodies and fields and the Message class described below handles decoding of fields and bodies transparently.
The parser has been designed to be extremely tolerant against messages violating the standards. It has been tested using a large corpus (>5000) of e-mail messages. As a benchmark the widely used perl MIME::Tools parser has been used. mime4j and MIME:Tools rarely differ (<25 in those 5000). When they do (which only occurs for illegally formatted spam messages) we think mime4j does a better job.
mime4j can also be used to build a tree representation of an e-mail message using the Message class. Using this facility mime4j automatically handles the decoding of fields and bodies and uses temporary files for large attachments. This representation is similar to the representation constructed by the JavaMail API:s but is more tolerant to messages violating the standards.
1.3 HttpMime
http://hc.apache.org/download.cgi
2. kSOAP2
构建SOAP客户端, http://ksoap2.sourceforget.net
http://code/google.com/p/ksoap2-android/
3.droidtext
http://code.google.com/p/droidtext/
This project is a port of the iText® library version 2.1.7 (last LGPL version) for Android. Parts of the following open source projects are combined to create the port: iText® 2.1.7 (http://sourceforge.net/projects/itext/), Apache Harmony (http://harmony.apache.org/), BouncyCastle (http://www.bouncycastle.org/)
To see how to get started developing check out the Getting Started page in the wiki.
To see the differences between the Android and the Desktop version check the Differences to Desktop wiki page.
4.acegi-security
Acegi Security(以下简称Acegi)是一个能为基于Spring的企业应用提供强大而灵活安全访问控制解决方案的框架,Acegi已经成为 Spring官方的一个子项目,所以也称为Spring Security。它通过在Spring容器中配置一组Bean,充分利用Spring的IoC和AOP功能,提供声明式安全访问控制的功能。虽然,现在 Acegi也可以应用到非Spring的应用程序中,但在Spring中使用Acegi是最自然的方式。
5.acra
https://github.com/ACRA/acra
ACRA is a library enabling Android Application to automatically post their crash reports to a GoogleDoc form. It is targetted to android applications developers to help them get data from their applications when they crash or behave erroneously.
6.FlurryAgent
FlurryAgent是免费的,可以收集用户的分布信息,用户对不同功能的使用频率,用户手机上的具体功能的执行信息(比如某按钮响应的执行时间)。并提供一些分析并以图表的方式显示出来,比如执行时间分布区间直方图,平均执行时间等等。
6.2.需要在网页上查看数据分析,刷新时间很慢。比如在你的程序执行后大约2个小时以上才能在网页上显示出来(Google Analytics 更是要24h,Localytics快一些二十分钟)。分析项目是固定的。图表显示不能更改或者自定义。不能直接看到所有数据(只能通过图表看到分析过了的数据分布的大概信息)
6.3.如果一定要获取所有的具体数据信息,可以通过Flurry 的API来通过输入指定的网址和参数来获取指定的数据(XML或JSON)。这一条将在另一篇文章中讲解(http://blog.csdn.net/lilybaobei/article/details/7200981)。
7.jackson-all
8.json_simple
9. simple-xml
二、Android SDK目录下的jar文件用途:
./android-sdk-linux/extras/google/webdriver/android_webdriver_library.jar./android-sdk-linux/extras/google/webdriver/android_webdriver_library-srcs.jar
./android-sdk-linux/extras/android/support/v13/android-support-v13.jar————————让低版本的android支持高版本的一些特性
./android-sdk-linux/extras/google/admob_ads_sdk/GoogleAdMobAdsSdk-4.3.1.jar——————google广告嵌入SDK
./android-sdk-linux/extras/google/analytics_sdk/libGoogleAnalytics.jar———————— 使Android应用程序集成的Google Analytics分析追踪功能
./android-sdk-linux/samples/android-14-train/NFCDemo/libs/guava-10.0.1.jar——————
◆com.google.common.primitives(原始值)
◆com.google.common.io(输入输出)
◆com.google.common.util.concurrent(并发)
The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.The latest release is 13.0.1, released August 3, 2012.
./android-sdk-linux/platform-tools/lib/dx.jar
./android-sdk-linux/platforms/android-15/android.jar ———— android.jar则 是该版本的主要framework文件
2.4 add-ons这里面保存着附加库,比如GoogleMaps,当然你如果安装了OphoneSDK,这里也会有一些类库在里面。
./android-sdk-linux/add-ons/addon-google_apis-google_inc_-15/libs/effects.jar
./android-sdk-linux/add-ons/addon-google_apis-google_inc_-15/libs/usb.jar
./android-sdk-linux/add-ons/addon-google_apis-google_inc_-15/libs/maps.jar
2.5 tools作为SDK根目录下的tools文件夹,这里包含了重要的工具,比如ddms用于启动Android调试工具,比如logcat、屏 幕截图和文件管理器,而draw9patch则是绘制android平台的可缩放png图片的工具,sqlite3可以在PC上操作SQLite数据库, 而monkeyrunner则是一个不错的压力测试应用,模拟用户随机按键,mksdcard则是模拟器SD映像的创建工具,emulator是 Android SDK模拟器主程序,不过从android 1.5开始,需要输入合适的参数才能启动模拟器,traceview作为android平台上重要的调试工具。
./android-sdk-linux/tools/lib/org.eclipse.jface_3.4.2.M20090107-0800.jar
./android-sdk-linux/tools/lib/sdklib.jar
./android-sdk-linux/tools/lib/sdkuilib.jar
./android-sdk-linux/tools/lib/sdkmanager.jar
./android-sdk-linux/tools/lib/traceview.jar
./android-sdk-linux/tools/lib/ddmuilib.jar
./android-sdk-linux/tools/lib/ddms.jar
./android-sdk-linux/tools/lib/hierarchyviewer2.jar
./android-sdk-linux/tools/lib/jfreechart-1.0.9.jar
./android-sdk-linux/tools/lib/jcommon-1.0.12.jar
./android-sdk-linux/tools/lib/ddmlib.jar
./android-sdk-linux/tools/lib/emma_ant.jar
./android-sdk-linux/tools/lib/hierarchyviewerlib.jar
./android-sdk-linux/tools/lib/draw9patch.jar
./android-sdk-linux/tools/lib/commons-codec-1.4.jar
./android-sdk-linux/tools/lib/commons-logging-1.1.1.jar
./android-sdk-linux/tools/lib/emma_device.jar
./android-sdk-linux/tools/lib/emma.jar
./android-sdk-linux/tools/lib/guavalib.jar
./android-sdk-linux/tools/lib/httpcore-4.1.jar
./android-sdk-linux/tools/lib/x86/swt.jar
./android-sdk-linux/tools/lib/anttasks.jar
./android-sdk-linux/tools/lib/common.jar
./android-sdk-linux/tools/lib/x86_64/swt.jar
./android-sdk-linux/tools/lib/mkidentity.jar
./android-sdk-linux/tools/lib/jython.jar
./android-sdk-linux/tools/lib/androidprefs.jar
./android-sdk-linux/tools/lib/jsilver.jar
./android-sdk-linux/tools/lib/org.eclipse.core.commands_3.4.0.I20080509-2000.jar
./android-sdk-linux/tools/lib/archquery.jar
./android-sdk-linux/tools/lib/lint_checks.jar
./android-sdk-linux/tools/lib/httpclient-4.1.1.jar
./android-sdk-linux/tools/lib/commons-compress-1.0.jar
./android-sdk-linux/tools/lib/jfreechart-1.0.9-swt.jar
./android-sdk-linux/tools/lib/swtmenubar.jar
./android-sdk-linux/tools/lib/sdkstats.jar
./android-sdk-linux/tools/lib/lint.jar
./android-sdk-linux/tools/lib/org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
./android-sdk-linux/tools/lib/swing-worker-1.1.jar
./android-sdk-linux/tools/lib/httpmime-4.1.1.jar
./android-sdk-linux/tools/lib/lint_api.jar
./android-sdk-linux/tools/proguard/lib/retrace.jar
./android-sdk-linux/tools/proguard/lib/proguardgui.jar
./android-sdk-linux/extras/android/support/v13/android-support-v13.jar————————让低版本的android支持高版本的一些特性
./android-sdk-linux/extras/google/admob_ads_sdk/GoogleAdMobAdsSdk-4.3.1.jar——————google广告嵌入SDK
./android-sdk-linux/extras/google/analytics_sdk/libGoogleAnalytics.jar———————— 使Android应用程序集成的Google Analytics分析追踪功能
./android-sdk-linux/samples/android-14-train/NFCDemo/libs/guava-10.0.1.jar——————
◆com.google.common.primitives(原始值)
◆com.google.common.io(输入输出)
◆com.google.common.util.concurrent(并发)
The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.The latest release is 13.0.1, released August 3, 2012.