Time of Update: 2015-10-29
標籤:android 仿ios彈出框 兩個彈出框布局:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2015-10-29
標籤:入門任務瞭解編程的主要概念,熟悉開發環境1,安裝配置開發環境耗時:8-16小時如果超出時間,請尋求協助。2,建立第一個hello world應用(story board)耗時:4小時放置UILabel在上面3,熟悉story board基本操作(放置簡單的控制項)耗時:8小時UILabel,UIImageView,UIButton設定控制項的屬性4,熟悉story board基本操作耗時:8小時outlet和action加法計算機5,資料類型,以及控制台應用耗時:8小時int,float,
Time of Update: 2015-10-29
標籤: 我們知道,在Linux下可以使用gcc來把一份C代碼編譯成為Linux上的可執行程式, 如: $ gcc -o main.out main.c 而Android平台提供了NDK工具包來交叉編譯可以運行於Android系統中的應用程式,它需要我們編寫 Android.mk來配置編譯選項和編譯目標, 那麼, 能否也像gcc那樣直接在命令列下編譯呢?
Time of Update: 2015-10-29
標籤:android java java基礎 面試筆試題 物件導向編程(OOP) Java是一個支援並發、基於類和物件導向的電腦程式設計語言。下面列出了物件導向軟體開發的優點: 代碼開發模組化,更易維護和修改。 代碼複用 增強代碼的可靠性和靈活性
Time of Update: 2015-10-29
標籤:ECMAScript 繼承機制實現繼承機制的實現要用 ECMAScript 實現繼承機制,您可以從要繼承的基類入手。所有開發人員定義的類都可作為基類。出於安全原因,本地類和宿主類不能作為基類,這樣可以防止公用訪問編譯過的瀏覽器級的代碼,因為這些代碼可以被用於惡意攻擊。選定基類後,就可以建立它的子類了。是否使用基類完全由你決定。有時,你可能想建立一個不能直接使用的基類,它只是用於給子類提供通用的函數。在這種情況下,基類被看作抽象類別。儘管 ECMAScript
Time of Update: 2015-10-29
標籤:最近對比了Android 中使用的JDK的HttpURLConnection和Apache的HttpClien訪問網路資源,總結了Http協議的相關資料。如下:JDK的HttpURLConnection:(1)get請求public String executeHttpGet(){ String result = null; URL url = null; HttpURLConnection
Time of Update: 2015-10-29
標籤: 前言本文將從應用工具、命令列工具、外掛程式工具 3 個方面,介紹這些優秀的應用。圖形應用工具CharlesCharles(http://www.charlesproxy.com)是在 Mac 下常用的截取網路封包的工具,在做 iOS 開發時,我們為了調試與伺服器端的網路通訊協議,常常需要截取網路封包來分析。Charles 通過將自己設定成系統的網路訪問Proxy 伺服器,使得所有的網路訪問請求都通過它來完成,從而實現了網路封包的截取和分析。Charles
Time of Update: 2015-10-29
標籤:iOS9之前控制StatusBar的兩種方式:第一種方式:全域控制StatusBar1. 在項目的Info.plist檔案裡設定UIViewControllerBasedStatusBarAppearance為NO。2. 使用[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];方法設定顏色。第二種方式:基於控制器的方式控制StatusBar1.
Time of Update: 2015-10-29
標籤:oracle dg delay If you have real-time apply enabled, any delay that you set will be ignored.650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif"
Time of Update: 2015-10-29
標籤:1、製作lib工程,這裡我簡單製作一個測試類別 2、eclipse中 java Project工程引入方法2.1、建立個java工程,在屬性配置中選擇 "Java Build Path" --> "Projects" --> "Add" 選擇剛剛的AJars工程2.2、編寫一個測試類別,可以看到不用匯入jar包就可以直接使用AJars中的Test類中exe()方法 3、eclipse中web工程引用方法3.1
Time of Update: 2015-10-28
標籤:步驟 1:在 Visual Studio 中建立新項目啟動 Visual Studio 2015 RC。將出現 Visual Studio 2015 RC 起始頁。 (從現在開始,我們將 Visual Studio 2015 RC 簡稱為 Visual Studio
Time of Update: 2015-10-28
標籤:本文均屬自己閱讀源碼的點滴總結,轉賬請註明出處謝謝。歡迎和大家交流。qq:1037701636 email:gzzaigcn2[email protected]Software:系統源碼Android5.1前沿: 前面博文大多少總結的是Camera HAL1到HAL3的系統架構,但這些架構對於Camera APP開發來說依舊還是處於Camera
Time of Update: 2015-10-28
標籤:首發:個人部落格,更新&錯誤修正&回複代碼在這裡,對git還是使用不熟練,好在github建立項目後體貼地提示是不是要執行這樣兩句——這兩句我肯定是背不住的,所以記一下。 git remote add origin https://github.com/qidafang/iOS_427studio.gitgit push -u origin
Time of Update: 2015-10-28
標籤:此文為轉載。僅供收藏 //收到鍵盤彈出通知後的響應- (void)keyboardWillShow:(NSNotification *)info { //儲存info NSDictionary *dict = info.userInfo; //得到鍵盤的顯示完成後的frame CGRect keyboardBounds =
Time of Update: 2015-10-28
標籤:In order to make the Android emulator run faster and be more responsive, you can configure it to take advantage of hardware acceleration, using a combination of configuration options, specific Android system images and hardware drivers.Using SDK
Time of Update: 2015-10-28
標籤:Intent的概念Intent的官方解釋是“An Intent is a messaging object you can use to request an action from another app component. ”這裡的app
Time of Update: 2015-10-28
標籤:製作簡單的九宮格: 源碼如下: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoad {10 [super viewDidLoad];11 12 //建立九宮格13 NSInteger col = 3; //每行幾列1
Time of Update: 2015-10-28
標籤:移動端 css/html (box-flex)自適應、等比布局對於移動端自適應的一種布局方式。<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
Time of Update: 2015-10-28
標籤:刪除、插入、移動儲存格的具體執行個體如下: 代碼如下: 1 #import "ViewController.h" 2 #define NUM 20 3 typedef enum 4 { 5 deleteCell, 6 addCell, 7 moveCell, 8 }cellState; 9 @interface ViewController
Time of Update: 2015-10-27
標籤:##常見的布局* LinearLayout 線性布局線性布局往左右拉是拉不動的,> 線性布局的朝向 vertical|horizontal> 線性布局的權重 weight 和 0dip一起使用<?xml version="1.0" encoding="utf-8"?><!-- 線性布局控制項自上而下整齊的排列 --><LinearLayout