顯示具有 android 標籤的文章。 顯示所有文章
顯示具有 android 標籤的文章。 顯示所有文章

2018年2月27日 星期二

咕咚 Android Java 精品技術文章蒐集


收集看到的內容特別棒的技術文章並會配有一段個人短評
https://github.com/maoruibin/AwesomeArticles

http://gudong.name/



2018年2月25日 星期日

2018年1月14日 星期日

[轉錄] [Android性能優化] 我這樣減少了26.5M Java內存

我這樣減少了26.5M Java內存
http://wetest.qq.com/lab/view/359.html


Android 內存暴減的秘密
http://wetest.qq.com/lab/view/362.html



通常來說不管是做什麼性能優化,逃不出性能優化3步曲:

1. 找到性能瓶頸

2. 分析優化方案

3. 執行優化


上述三步看似第三步最能決定優化結果,而事實上,從筆者的幾次性能優化經歷來看,找到瓶頸確佔據了絕對的影響力!

●  能否找到瓶頸意味著優化做不做的下去。

●  找到的瓶頸性能越差意味著優化效果越明顯。

●  找到的瓶頸越多同樣意味著優化效果越好。


2014年3月3日 星期一

Android APP 上架流程

Android APP 上架流程
http://xyz.cinc.biz/2013/06/android-app.html


企業 Android App 上架 Google Play 軟體市場的流程說明
APP上架前相關準備工作
http://www.webmobi.com.tw/push-android-app-google-play-market/


Android 開發筆記 - APP 的上架與更新
http://blog.changyy.org/2012/08/android-app.html

2014年2月21日 星期五

[API 19] ApiDemo Build Error : android.support.v4"

ApiDemo Build Error

import android.support.v4.print.PrintHelper;   <=  Build Error

google " add library eclipse android.support.v4"


Project > Properties > Java Build Path > Libraries
Add External jars

<sdk>\extras\android\support\v4\android-support-v4.jar
e.g.  C:\Users\KOD\android-sdks\extras\android\support\v4\android-support-v4.jar

Done


====

https://developer.android.com/tools/support-library/setup.html

http://developer.android.com/tools/support-library/index.html

If you are including the v4 support and v7 appcompat libraries in your application, 
you should specify a minimum SDK version of "7" (and not "4"). 
The highest support library level you include in your application determines the lowest API version in which it can operate.




Java Source Code Attachment in Eclipse

How to change Eclipse's “associated source” for debugging?

In the package explorer, where the jar is in a library (JRE, Maven dependencies, etc...);
right click => properties => java source attachment.

Alternately in the project properties => Java build path => Library tab => select the jar => edit.

====
http://www.cavdar.net/2008/07/14/3-ways-of-jdk-source-code-attachment-in-eclipse/     (for eclipse 3.4)
as for eclipse 4.3.1, only method 1 works.

打開某class   (e.g. import android.app.ActionBar; )
會跳出 source file not found錯誤訊息的那頁 有個可以讓你設定的按鈕
"change attached source"

External Folder
choose
<sdk>\sources\android-19

=========

不必再用External File (add external jar)

即以下都不必做  (不必再另外下載jar檔)

browse android source eclipse
Where can I browse Android source code on-line
http://stackoverflow.com/questions/449763/where-can-i-browse-android-source-code-on-line


I usually refer this site for the android source code.
http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/4.0.3_r1/
http://grepcode.com/snapshot/repository.grepcode.com/java/root/jdk/openjdk/7-b147/

// http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android-apps/4.2.2_r1