Time of Update: 2014-12-27
標籤:Dalvik是Google公司自己設計用於Android平台的Java虛擬機器。Dalvik虛擬機器是Google等廠商合作開發的Android行動裝置平台的核心組成部分之一。它可以支援已轉換為 .dex(即Dalvik Executable)格式的Java應用程式的運行,.dex格式是專為Dalvik設計的一種壓縮格式,適合記憶體和處理器速度有限的系統。Dalvik 經過最佳化,允許在有限的記憶體中同時運行多個虛擬機器的執行個體,並且[1] 每一個Dalvik
Time of Update: 2014-12-27
標籤:選擇A,會同時選中A,C選擇B,會同時選中A,C <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"
Time of Update: 2014-12-26
標籤:android 架構 ThinkAndroid架構 網路狀態監聽原理,有需要的朋友可以參考下。現在用到網路監聽的地方越來越廣泛,這裡提供下ThinkAndroid裡的實現方法,還是根據功能原理倒著給出代碼:1、網路狀態會發出廣播,監聽網路狀態肯定通過廣播接收者實現,廣播接受者:/** * @Title NetworkStateReceiver * @Package com.ta.util.netstate *
Time of Update: 2014-12-27
標籤:1.所需檔案下載apktool工具包:https://code.google.com/p/android-apktool/downloads/list需要下載一個apktool的jar包以及 dependencies(協助工具輔助,分別有Windows,OSX,Linux版本)2.安裝操作將apktool.jar放到協助工具輔助目錄下,也就是和apktool、aapt放到一起.進入apktool-install-macosx-r05-ibot目錄下,在終端輸入sh
Time of Update: 2014-12-25
標籤:iPhone上的Safari(還有些webkit android手機瀏覽器)會自動對看起來像是電話號碼的數字串(包括已經加入連字號或括弧格式化過的)添加電話連結,點擊之後會詢問使用者是否想要撥打該號碼。如果你不希望開啟這個自動識別,可以將它關閉:<meta name="format-detection" content="telephone=no" />如果你關閉自動識別後,又希望某些電話號碼能夠連結到iPhone的撥號功能,那麼可以通過這樣來聲明電話連結:<a
Time of Update: 2014-12-25
標籤:private static final String ACTIVITY_TAG="MainActivity"; Log.v(MainActivity.ACTIVITY_TAG, "This is Verbose.%d"); Log.d(MainActivity.ACTIVITY_TAG, "This is
Time of Update: 2014-12-26
標籤:Original:http://sysmagazine.com/posts/216591/Many plowing on open space Github, I found assemblage of interesting designs, source the codes, and libraries. And now the time came to share them. Meet assemblage vkusnostej under
Time of Update: 2014-12-26
標籤:android fm 前幾章我們分析了FM模組的幾個主要的類檔案,今天要分析的是:FMTransceiver.java public class FmTransceiver{ /* Primary FM States : * FM will be in one of the 4 states at any point of
Time of Update: 2014-12-26
標籤:android ui組件 布局 view 執行個體大全 新版Android UI組件執行個體大全---目錄
Time of Update: 2014-12-26
標籤:In parts 1-3 of this series, I have explored three different means for an Android non-UI thread to communicate user interface updates to the UI thread. The links below are to the series posts.Part 1Part 2Part 3In this fourth installment, I want
Time of Update: 2014-12-26
標籤:0. 下載LAME 並解壓縮http://lame.sourceforge.net/download.phphttp://sourceforge.net/projects/lame/files/lame/3.99/lame-3.99.5.tar.gz1. 建立jni/libmp3lame/src目錄, 將解壓縮後的lame-3.99.5/libmp3lame/ 目錄下的bitstream.c fft.h l3side.h
Time of Update: 2014-12-25
標籤: http://developer.android.com/training/articles/security-tips.html1.資料存放區內部儲存internal
Time of Update: 2014-12-26
標籤:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_
Time of Update: 2014-12-25
標籤:handlerhandler是什嗎?handler是android給我們提供用來更新UI的一套機制,也是一套訊息處理的機制,我們可以發送訊息,也可以通過他處理訊息。為什麼要用handler?Android在設計的時候,就封裝了一套訊息建立,傳遞,處理機制,如果不遵循這樣的機制,就沒有辦法更新UI訊息了,就會拋出異常訊息。handler用法(一)程式碼範例:public class MainActivity extends Activity {
Time of Update: 2014-12-26
標籤: 控制項的劃分:自繪控制項、群組控制項、繼承控制項每種方式是如何自訂View的?第一:自繪控制項 繼承view,重寫onDraw方法,在布局檔案裡面引用 樣本:水波紋 WaterRipplesActivity1 public class WaterRipplesActivity extends Activity {2 @Override3 protected void onCreate(Bundle
Time of Update: 2014-12-26
標籤:android 拍照 圖片壓縮 頭像設定
Time of Update: 2014-12-26
標籤:ios開發 mediaplayer mpmovieplayerviewcon 視頻 需要匯入的架構#import <MediaPlayer/MediaPlayer.h>MediaPlayer.frameworkMPMoviePlayerViewController:開啟網路視頻:-(void)openmovie{
Time of Update: 2014-12-26
標籤:參考連結:Displaying Bitmaps EfficientlyCaching Bitmaps 翻譯先吐槽一下:google 給樣本中都有錯誤的地方,國內翻譯的也不去掉錯誤.太坑.Google官方Download the sample 也可參照guolin的文章, 經過一番學習,初步實踐完成.貼出來,備用.package com.akm.testlrucache;import android.app.Activity;import
Time of Update: 2014-12-26
標籤:原文網址:http://mb.it168.com/a2012/0816/1385/000001385641_all.shtml【IT168 應用】當下,越來越多的電腦都已普及USB 3.0介面,新買的筆記本上,新裝的台式機後,你都能發現這個跟過去2.0時代不一樣的藍汪汪的USB介面。那麼,同樣是給手機充電,USB 3.0和傳統的USB
Time of Update: 2014-12-26
標籤:個人原創,轉帖請註明來源:cnblogs.com/jailbreaker之前兩篇文章分別講了mach-o的header區和load command區中的segment,今天繼續講segment中的的setcion,一般在__TEXT和__DATA段中有section。這裡注意下命名規範,大寫代表segment,小寫是section,例如 __TEXT.__text,指的是__TEXT段的__text節。先看section結構定義:再看hopper中的__TEXT.__text