轉自:http://www.poemcode.net/2012/06/interpreting_log_message/本篇博文是在觀看 Google I/O 2011 : Memory Management for Android App 所做的筆記之一,主要篇幅是傳遞演講者 Patrick Dubroy 的觀點,小部分則摻雜了自己的理解。這裡的觀點可能包含了謬誤,或者是過時資訊,因此建議讀者如果英語能力尚可,則不妨直接觀看原視頻或者簡報,–需翻牆。Memory Management for
找到一個http://obviam.net/index.php/step-1-the-game-idea/,非常好的android遊戲入門文章,想翻譯下來 先翻譯第一篇The Game Idea 這是最困難的部分,因為我時間有限,所以我要選擇一個短時間內可實現的想法,並且包含一個動作遊戲的全部要素 所以我為遊戲想了一個故事,故事是這樣的末日就要到來,外星球的邪惡機器人已經在月球上建造了工廠,要派遣更多的機器來摧毀人類,他們擁有雷射大炮,飛彈,洗腦武器,還要其他大規模殺傷性武器。
想知道爆炸式怎麼製作的嗎?讓我們抄個近道,試著來實現一個基本的例子爆炸爆炸就是一堆粒子在螢幕上面分散開來,簡單起見,我們認為所有的例子都是來自於一個點想想煙火,小小的火箭上升,然後爆炸為成百的小星星,最終落下時候消失。為了簡單一點,我們會造一些粒子,我們會把他們放到一個位置,給他們隨機的力量,這個值是向量值,也就是說它既有方向,也有大小。大小決定速度,方向決定粒子的方向。粒子類檔案public class Particle {public static final int
1、在SDK Manager下Tools->Options開啟了SDK Manager的Settings,選中“Force https://… sources to be fetched using http://…”,強制使用http協議。2、修改host檔案,添加下面兩行#google_android更新203.208.46.146 dl.google.com203.208.46.146
android.app.Fragment$InstantiationException 解決辦法 在實際的開發中,我遇到過兩次android.app.Fragment$InstantiationException報錯。 其中一次報錯,根據報錯提示“make sure class name exists, is public, and has an empty constructor that is
Android提供兩個常用的訊息彈出框,Toast和Alert。ToastToast是一種短暫的提示框,並不需要使用者互動,也不會將focus移過來,因此可以適合大多數的情境,向使用者進行資訊提示。在之前的學習中,已經多次使用到Toast了。建立一個Toast很簡單,使用靜態方法makeText(Context context, CharSequence text | int resId, int
From: http://yinger-fei.iteye.com/blog/1300144 1.安裝gitsudo apt-get install git-core2.安裝curlsudo apt-get install git-core curl3.安裝repo, 通過curl下載repo Make sure you have a bin/ directory in your home directory, and that it is included in your path:$
反編譯出來的是smali,作者:http://jf.andblogs.net/google了一下:smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android's Java VM implementation. The syntax is loosely based on Jasmin's/dedexer's syntax, and supports the full
作者:徐建祥(netpirate@gmail.com)日期:2010/01/06網址:http://www.anymobile.org1/ set a alarm clock1.1 update alarms.db1.2 update com.android.alarmclock_preferences.xml1.3 update Settings.System.NEXT_ALARM_FORMATTED for status bar1.4 set Kernel RTC alarm or