編譯android的linux核心

參考文檔:http://linux.chinaunix.net/techdoc/beginner/2009/02/06/1060906.shtml運行環境:Ubuntu8.101、構建交叉編譯環境Android的預設硬體處理器是ARM的,因此我們需要在自己的host機器上構建交叉編譯環境。來到CodeSourcery,(http://www.codesourcery.com/gnu_toolchains/arm/download.html),點擊GNU/Linux對應的連結,再點擊IA32

Android ScrollView反彈效果的實現

/** * ScrollView反彈效果的實現 */public class BounceScrollView extends ScrollView {private View inner;// 孩子Viewprivate float y;// 點擊時y座標private Rect normal = new Rect();// 矩形(這裡只是個形式,只是用於判斷是否需要動畫.)private boolean isCount = false;// 是否開始計算public

Android 源碼的編譯

/**版本:1.0日期:2009-03-18作者:HKjinzhao備忘:初始版本*//**版本:1.1日期:2009-03-27作者:HKjinzhao備忘:增加make sdk,修改一些內容*/本次編譯過程主要參考官方文檔(http://source.android.com/download)和網上相關資料(如http://blog.csdn.net/liaoshengjiong/archive/2009/03/04/3957749.aspx)編譯環境:Ubuntu8.101、安裝一些環境 

Android動畫詳解之Tween動畫

一個Tween動畫將對於View對象的內容進行一系列簡單的轉換,在animation提供了所以關於Tween動畫的類,主要有四個常用的類,AlphaAnimation(透明度漸層),RotateAnimation(旋轉動畫),ScaleAnimation(圖片縮放動畫),TranslateAnimation(移動動畫),AnimationSet(一個動畫的集合類),以下是對常用動畫特效類的構造方法的作用和參數進行講解(1) AlphaAnimationpublic AlphaAnimation(

Android 定時器實現的幾種方式和removeCallbacks失效問題詳解

實現定時器有很多種方式,在這裡我簡單的介紹幾種方式(1)使用Handler + Runnable的方式Handler handler = new Handler();Runnable runnable = new Runnable() {@Overridepublic void run() {//你要做的事//......System.out.println(Thread.currentThread().getName());handler.postDelayed(runnable, 1000)

擷取Android的APK包簽名資訊

擷取Android的APK包簽名資訊發表於133 天前 ⁄ 編程開發 ⁄ 暫無評論1、使用命令擷取Android的APK包簽名資訊jarsigner -verify -verbose -certs <your_apk_path.apk> 對於一個keystore的指紋資訊擷取可以用如下命令:D:/>keytool -list -alias alias_name -keystore

How to Build FFmpeg for Android

ffmpeg is an open-source platform for recording, converting, playing and streaming video and audio. It includes libavcodec, a popular video/audio codec.Several popular Android applications are built based on FFmpeg, including RockPlayer, MoboPlayer,

Speex on Android

Speex on AndroidPosted on April 6, 2011, 1:24 am, by Mario, under Android, OMG Ponies!.JSpeex does not work very well on Android, encoding times are between 0.03 to 0.2 seconds for a 320 samples frame. Way to much for any real-time app (can you say

android利用handler線程間的通訊

近來找了一些關於android線程間通訊的資料,整理學習了一下,並製作了一個簡單的例子。 andriod提供了 Handler 和 Looper 來滿足線程間的通訊。例如一個子線程從網路上下載了一副圖片,當它下載完成後會發送訊息給主線程,這個訊息是通過綁定在主線程的Handler來傳遞的。在Android,這裡的線程分為有訊息迴圈的線程和沒有訊息迴圈的線程,有訊息迴圈的線程一般都會有一個Looper,這個事android的新

android源碼的編譯

/**版本:1.0日期:2009-03-18作者:HKjinzhao備忘:初始版本*//**版本:1.1日期:2009-03-27作者:HKjinzhao備忘:增加make sdk,修改一些內容*/本次編譯過程主要參考官方文檔(http://source.android.com/download)和網上相關資料(如http://blog.csdn.net/liaoshengjiong/archive/2009/03/04/3957749.aspx)編譯環境:Ubuntu8.101、安裝一些環境 

android.graphics.Camera圖片繞X,Y,Z軸旋轉

public class MainActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); ImageView imageView; Matrix mMatrix = new Matrix(); imageView = (

Android JNI開發入門之二(javah命令的補充)

    在上一篇文章《Android JNI開發入門之一》中,我介紹了Android應用程式(APK)怎樣通過JNI調用Native C實現的共用庫。本文將進一步介紹Android應用程式通過JNI調用Native C++實現的共用庫,並實現一個和上文《Android JNI開發入門之一》相同功能的Helloworld應用程式。兩套不同的API   

android editText 自訂邊框

package com.puppet.custom.component;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import android.widget.EditText;public class SearchEditText extends EditText{ private Paint

Android ADB server didn’t ACK * failed to start daemon * 簡單有效解決方案

轉載請註明出處:http://blog.csdn.net/xiaanming/article/details/9401981ADB server didn't ACK

Android adb devices顯示no permission

在ubuntu(9.10)下執行adb devices命令, 返回的結果是:List of devices attached ???????????? no permissions   這意味著,USB串連的裝置是能夠被識別的。Google之後,得知adb server需要以root的許可權啟動,於是有了如下命令:brian@brian-laptop:~/Dev/Java/Android/android-sdk-linux_86/tools$ ./adb

Android 應用程式之間內容分享詳解(二)

轉載請註明出處:http://blog.csdn.net/xiaanming/article/details/9428613Android 應用程式之間內容分享詳解(一)之前給大家分享了你開發的應用程式給其他應用程式分享內容,想瞭解的朋友點擊:Android

android自訂滑動開關控制項,適合所有的android系統

我們都知道Android4.0以上才帶有滑動開關Switch,那麼在4.0以下呢,很多人會選擇用CheckBox,放兩張圖片,但是這樣子只能點擊,效果不太好,所以我就自訂了滑動開關WiperSwitch這麼一個控制項,下面先把貼上吧,這蹩腳的圖片真戳啊,大家可以自己換三張圖片package com.example.wiperswitch;import android.content.Context;import android.graphics.Bitmap;import

Android Action Bar 自訂View

接著上一篇Action Bar 加入Back鍵, 在Action Bar中加入自訂View. 依然先看效果:actionbar自訂view的布局檔案action_bar.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content"

Android Service與Activity之間通訊的幾種方式

轉載請註明地址http://blog.csdn.net/xiaanming/article/details/9750689在Android中,Activity主要負責前台頁面的展示,Service主要負責需要長期啟動並執行任務,所以在我們實際開發中,就會常常遇到Activity與Service之間的通訊,我們一般在Activity中啟動後台Service,通過Intent來啟動,Intent中我們可以傳遞資料給Service,而當我們Service執行某些操作之後想要更新UI線程,我們應該怎麼做

android調試工具 DDMS 使用總結

       囉嗦下:發現自己的blog被轉載了,不過沒有註明出處,有點痛並快樂著的感覺。這裡正式申明下:轉載請註明出處,感謝。如有商用目的請務必只會本人。              現在android的APK開發人員方便多了,google為大家提供了整合了eclipse,ADT,SDKManager的IDE。大家可以直接到http://developer.android.com/sdk/index.html下載。下載完成之後,根據自己的需要下載適合自己版本的sdk以及其他的東東。      

總頁數: 2771 1 .... 1383 1384 1385 1386 1387 .... 2771 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.