Time of Update: 2018-12-03
內容來自 @蔣濤CSDN 微博 ipad正在吞噬PC消費者市場-這個季度ipad銷售了925萬台 占PC銷量的11% 如果加上mac的395萬台 蘋果已成為第二大PC廠商(1320萬台) 僅次於HP(1530萬台) iOS+macOS已經開始撼動長達20年的windows帝國了原文:http://www.businessinsider.com/the-ipad-just-ate-11-of-the-pc-market-2011-7?utm_source=Triggermail&
Time of Update: 2018-12-03
ubuntu 下搭建android2.2編譯環境1.安裝VMware workstation7.02.安裝ubuntn10.043.安裝JDK1.5 由於android2.3以下版本源碼的編譯需要在JKD1.5下編譯。ubuntn10.0,內建jdk1.6,不再帶jdk1.5, 需要在/etc/apt/sources.list 的最後加入下面軟體源地址:deb
Time of Update: 2018-12-03
不多說了,直接上代碼吧!!!package com.example.suspendedwindowdemo;import android.content.Context;import android.view.Gravity;import android.view.MotionEvent;import android.view.View;import android.view.View.OnTouchListener;import
Time of Update: 2018-12-03
安裝:String str = "/CanavaCancel.apk"; String fileName = Environment.getExternalStorageDirectory() + str;Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(fileName)), "application/vnd.android.package-archive");
Time of Update: 2018-12-03
安卓系統架構多年經驗總結:《Android程式的編譯,安裝和運行》 | Android
Time of Update: 2018-12-03
花費了將近一周的時間,經曆了各種波折,終於完成了所有演講投影片的整理和上傳工作。為了便於各位與會者和非與會者能夠深入的學習,以及儘可能大的分享各位講師辛勤勞作準備的課件資源,我將所有演講的投影片上傳到SlideShare 和 CSDN 下載頻道,各位可以通過如下連結,通過如下3種方式,獲得相應的資源。- 線上觀看- 閱讀內容剛要-
Time of Update: 2018-12-03
再談Android推送實現:《千萬級並發線上推送系統架構解析》| 個信互動 葉新江 | Android DevCamp 主題簡介: 移動短訊息是大家所熟知的一種資訊推送方式, 基於信令通道的推送在簡單資訊的體驗方面已經被大家所接受。 在目前移動互連網方面,簡單的文字推送已經不夠滿足需要。這也是移動互連網背景下推送系統的發展的機遇。 本主題就千萬級並發線上推送系統如何在低成本下,保證推送的時效性、有效性、內容形式的多樣性、以及省電省流量等方面進行一個解析和分享。 講師資訊:葉新江,個信互動(北京)
Time of Update: 2018-12-03
> 1. what is the relationship between ViewRoot and View class.The ViewRoot is the root of each view hierarchy. Like you said, thereis one ViewRoot per window. The ViewRoot is responsible to handlingthe layout and drawing of the view hierarchy.
Time of Update: 2018-12-03
在Android中談到Handler,我們首先來講一下Handler的機制和原理 1、Handler機制原理
Time of Update: 2018-12-03
有時候,我們的應用需要判斷一個service是否正在運行,下面的代碼可以判斷AlarmService是否正在運行:private boolean isMyServiceRunning() {ActivityManager manager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);for (RunningServiceInfo service :
Time of Update: 2018-12-03
方法一public class MainActivity extends Activity{@Overrideprotected void onCreate(Bundle savedInstanceState){super.onCreate(savedInstanceState);// 隱藏標題列requestWindowFeature(Window.FEATURE_NO_TITLE);//
Time of Update: 2018-12-03
問題描述:The selected wizard could not be started.Plug-in "com.esri.arcgis.android.core" was unable to instantiate class
Time of Update: 2018-12-03
首先是layout file:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" &
Time of Update: 2018-12-03
F1/PgUp Menu key 菜單鍵 F2/PgDown Star key 星號鍵 F3 Call key 發送撥號鍵 F4 End Call key 結束通話或者說紅鍵 Home Home key Home鍵 ESC Back Key 後退鍵 F7 Power button 電源鍵 F8 Disable/Enable
Time of Update: 2018-12-03
工欲善其事必先利其器 , 下面介紹下 Eclipse SDK NDK Cygwin CDT 整合式開發環境的搭建。1、Android 開發環境搭建Android開發環境搭建不是重點,相信看此文章的很多人都已經搭建成功,這裡隨便概述性的說說。1) 下載 JDK2) 下載 Eclipse3) 下載 Android SDK4) 啟動Eclipse , 安裝 ADT2、下載安裝Android NDK我使用的NDK版本為r5Google 出的最新NDK 為 r6 為
Time of Update: 2018-12-03
在講主題之前,我們先補充一點sqlite查詢語句的知識(Android的資料庫就是採用sqlite)。LIKE操作符一個很有用的關係操作符是LIKE。LIKE的作用與相等(=)很像,但卻是通過一個模板來進行字串匹配。例如,要查詢所有名稱以字元“J”開始的食品,可使用如下語句:sqlite> SELECT id, name FROM foods WHERE name LIKE 'J%'; id name 156 Juice box 236 Juicy Fruit Gum 243 Jello
Time of Update: 2018-12-03
在Android中一共提供了4種資料存放區方式,但是由於儲存的這些資料都是其應用程式私人的,所以如果需要在其他應用程式中使用這些資料,就要使用Android提供的Content Provider(資料共用)。官方文檔中有詳細的描述:http://developer.android.com/guide/topics/data/data-storage.htmlAndroid中4種資料存放區方式分別如下。1、Shared Preferences:用來儲存“Key-value
Time of Update: 2018-12-03
想要使用MediaPlayer播放音頻和視頻,首先必須瞭解MediaPlayer的狀態問題。下面是Google提供的MediaPlayer的狀態圖,基本上只要明白了,在MediaPlayer的狀態上。就不會出問題了。還有什麼不明白的,可以詳細的看看Google提供的API。要想用MediaPlayer所寫的的音頻播放程式健壯的話,不僅需要瞭解MediaPlayer的各種狀態,還必須對MediaPlayer的各個監聽事件和回調方法做出必要的設定。可以根據自己的需要,設定不同的監聽方法。下面是Cop
Time of Update: 2018-12-03
Android 2D Graphics的絕大部分API都在android.graphics中,它提供了低級的graphics工具,包括canvas,color
Time of Update: 2018-12-03
動態產生介面的方法很簡單首先要卻這個介面的布局,是AbsoluteLayout,RelativeLayout還是其他,然後就可以再裡面添加控制項了:public void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);//確定介面的布局AbsoluteLayout abslayout=new AbsoluteLayout