Time of Update: 2014-12-19
標籤:android mips kernel 這部分記錄的是kernel的升級, 之前在FPGA上跑了2.6.29的kernel去驗證一些IP的功能.而從google的網站上得到的android的source code是不包含kernel的部分的,kernel需要單獨下載.從google下載後發現是3.0.72的版本.所以這邊記錄的就是kernel從2.6.29.4上升級到3.0.72上的過程.
Time of Update: 2014-12-19
標籤:我有個這樣的需求要在安卓APP向伺服器發起請求的時候調試PHP程式。把目標分解開來,大概步驟如下調試PHP使用ECLIPSE+XDEBUG,而XDEBUG觸發斷點需要get方法傳遞一個參數或者設定一個COOKIE,我使用的是COOKIE的方法(我認為這種方法比較好)也就是說,要想辦法讓APP發起請求的時候帶著COOKIE資訊,因為APP開發我不熟悉,所以只能想別的辦法,我的辦法就是HOOK到請求,然後添加上COOKIE值剛剛好,fiddler除了可以抓取HTTP資料包
Time of Update: 2014-12-19
標籤:使用 R.<resource_type>.<resource_name> 擷取的是資源的一個 id (int 類型), 但有時候我們需要擷取資源本身,這時候我們可以通過 Resources 類來完成。 // 使用 Activity 的 getResources() 來擷取 Resources 對象 Resources res = getResources(); // 擷取字串資源 String
Time of Update: 2014-12-19
標籤:WebView基本使用 WebView是View的一個子類,可以讓你在activity中顯示網頁。 可以在布局檔案中寫入WebView:比如下面這個寫了一個填滿整個螢幕的WebView: <?xml version="1.0" encoding="utf-8"?><WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webview"
Time of Update: 2014-12-19
標籤:http://blog.csdn.net/mars2639/article/details/7352540https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html#//apple_ref/doc/uid/TP30001163-CH17-SW1http://blog.sina.
Time of Update: 2014-12-19
標籤:IOS的Delegate,通俗一點說就是頁面之間的傳值。總結一下現在知道的IOS頁面之間傳值的方式有三種1.使用NSNotification發送通知的傳值主要是通過NSNotificationCenter發送一個通知,他不知道要把值傳給誰,當監聽的頁面收到通知訊息,才會擷取到訊息。2.是利用屬性來傳值,我主要是用到A->B中A頁面要跳轉到B頁面,也就把B中需要A的參數通過preparFroSegue方法從A傳給B3.通過NSUserDefault來傳值,其主要思想是把值寫到本地化的一
Time of Update: 2014-12-19
標籤: 好幾天沒有寫部落格了,感覺都有點懈怠了。筆者參加了大學生第二屆軟體設計大賽,這幾天 一直在弄大賽的事情,沒有花些時間來整理部落格。好在經過一些時日比賽的東西也弄得差不多了,
Time of Update: 2014-12-19
標籤:前言 關鍵字: android.view.ViewStub,版本為Android 2.2 r1 本章翻譯來自唐明 ,這裡本博負責整理和發布,歡迎其他譯者一起參與Android API 的中文翻譯行動,聯絡我[email protected]。 聲明 歡迎轉載,但請保留文章原始出處:) 部落格園:http://www.cnblogs.com 農民伯伯:
Time of Update: 2014-12-19
標籤:1. 安裝apache, gcc, glibc, nagios, nagios-plugins. 基本就是安裝安裝文檔粘貼複製。http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html 2.
Time of Update: 2014-12-19
標籤:Application Fundamentals 英文原文:http://developer.android.com/guide/components/fundamentals.html採集日期:2014-04-16搬遷自原部落格:http://blog.sina.com.cn/s/blog_48d491300101h41p.html在本文中應用程式組件啟用組件 Manifest 檔案聲明組件聲明應用程式的需求 應用程式資源Android 應用程式是用 Java
Time of Update: 2014-12-19
標籤:Bundle類是一個key-value對,“A mapping from String values to various Parcelable types.”1. 聲明Bundle對象執行個體,壓入索引值對,並傳遞對象執行個體: /** * Indicate that the connection was lost and notify the UI Activity. */ private void connectionLost() {
Time of Update: 2014-12-19
標籤:申請地址 :https://developer.apple.com/appstore/contact/?topic=expedite常用原因:1.We have a product launch in the coming days. Considering that it‘s a media event and we can‘t afford any risk about this, we put great effort to improve the APP‘s
Time of Update: 2014-12-19
標籤:android前面有用使用Intent來控制 Service使用的參數是Service的類Service的啟動/關閉還有另外一種方式來控制通過Intent傳入Action的參數在manifest中註冊一個Service並且設定一個action<service android:enabled="true"
Time of Update: 2014-12-19
標籤:android broadcastreceiver broadcast BroadCast Receiver是android常用的技術之一用於發送/廣播Intent訊息下面就介紹兩種簡單的使用方法一. 通過組合的方式在類中定義一個BroadcastReceiver對象重寫onReceive 這樣就能接收到廣播這個可以放到一般的Activity類中
Time of Update: 2014-12-19
標籤: 本文整理自:http://blog.csdn.net/duxinfeng2010/article/details/9067947http://hi.baidu.com/feng20068123/item/1935c6d022bf7513d78ed0d4根據自己的習慣做了一些修改,簡化。?1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
Time of Update: 2014-12-19
標籤:Traceview是android平台配備的一個很好的效能分析工具。它可以通過圖形化的方式讓我們瞭解我們要跟蹤的程式的效能,並且能具體到method。進行Traceview的版本限制對於Android 1.5及以下的版本:不支援。對於Android 1.5以上2.1下(含2.1)的版本:受限支援。trace檔案只能產生到SD卡,且必須在程式中加入代碼。對於Android 2.2上(含2.2)的版本:全支援。可以不用SD卡,不用在程式中加代碼,直接自己用DDMS就可以進程Traceview。
Time of Update: 2014-12-19
標籤:這裡有兩種方法可以採用,方法一:使用MPMoviePlayerControllerMPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:videoURL];moviePlayer.shouldAutoplay = NO; UIImage *thumbnail = [moviePlayer thumbnailImageAtTime:time timeOption:
Time of Update: 2014-12-19
標籤:轉載自:http://blog.csdn.net/zhufuing/article/details/8135270Android開發中的問題總是多種多樣,今天我來總結一個浪費了我一個晚上的錯誤T-T:your project contains error(s),please fix them before running your
Time of Update: 2014-12-19
標籤:用tornado做了一個簡單的頁面。結果頁面中的css被載入了,但是沒有效果。用Google瀏覽器調試,說是Resource interpreted as Stylesheet but transferred with MIME type
Time of Update: 2014-12-19
標籤:原文:http://www.cnblogs.com/android100/p/Android-get-ip.html 1.使用WIFI首先設定使用者權限<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> <uses-permission android:name="android.per