Time of Update: 2016-07-31
標籤:MERGE INTO 文法:MERGE INTO table_name alias1 USING (table|view|sub_query) alias2ON (join condition) WHEN MATCHED THEN UPDATE table_name SET col1 = col_val1, col2 = col2_val WHEN NOT MATCHED THEN
Time of Update: 2016-07-30
標籤:http://www.cnblogs.com/bastard/archive/2012/06/08/2541944.html Android中訊息系統模型和Handler Looper 作為Android中大量使用的Handler,結合Thread使其具有眾多的使用形式和方法,讓我一時感覺這個東西有些玄乎,不明所以然,這到底是一個什麼樣的存在呢?通過網上資料和源碼的學習,這個Handler也差不多弄清楚了,現在總結下這個學習結果。 一
Time of Update: 2016-07-30
標籤:iOS10 許可權崩潰問題 原文: http://blog.csdn.net/runleelrg/article/details/51673025 今天 手機升級了 iOS10 Beta,然後用正在開發的項目 裝了個ipa包,發現點擊有關 許可權訪問 直接Crash了,並在控制台輸出了一些資訊:This app has crashed because it attempted to access
Time of Update: 2016-07-31
標籤:Android的Margin和Padding跟Html的是一樣的。如所示:黃色部分為Padding,灰色部分為Margin。 通俗的理解:Padding 為內邊框,指該控制項內部內容,如文本/圖片距離該控制項的邊距Margin 為外邊框,指該控制項距離邊父控制項的邊距對應的屬性為android:layout_marginBottom="25dip" android:layout_marginLeft="10dip"
Time of Update: 2016-07-31
標籤: main.xml表格程式碼分析<?xml version="1.0" encoding="utf-8"?><TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TableRow&
Time of Update: 2016-07-30
標籤:題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=5774Where Amazing HappensTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 443 Accepted Submission(s):
Time of Update: 2016-07-31
標籤:今天自訂了iOS中的進度條,發現系統的進度條高度無法改變,現在自己封裝了一種進度條(實際是是UIView而不是UIProgressView),可以改變進度條的高度,非常好用,分享給大家,直接上代碼:// CTWBProgress.h// Created by WBapple on 16/7/31.// Copyright © 2016年 王彬. All rights reserved.// #import
Time of Update: 2016-07-30
標籤:一.查殼jeb載入發現沒有代碼,懷疑加殼用查殼工具查殼 (愛加密)apktool解包得到其package name: loading.androidmanualmain activity name: .BeginningActivity二.調試啟動APP安裝APK到AVD模擬器配置好IDA調試so環境(略過)調試啟動adb shell am start -D -n 包名/包名+類名adb shell am start -D -W
Time of Update: 2016-07-31
標籤: main.xml布局程式碼分析-->實現一個漸層圖案<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" >
Time of Update: 2016-07-31
標籤: main.xml應用布局分析 <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_
Time of Update: 2016-07-30
標籤: 相信很多人都用過開源項目,特別是android studio普及以後,使用開源庫更方便簡單。而如何上傳開源庫到jcenter供大家方便使用,雖然網上也有教程,但還是遇坑了,最後總結一下,希望可以協助大家。【csdn地址: http://blog.csdn.net/zhangke3016/article/details/52075159】 【本文簡書地址: http://www.jianshu.com/p/0acf9e05b27e】同步更新AndroidStudio是從Maven
Time of Update: 2016-07-30
標籤:原因:移動端手機啟用軟鍵盤,fixed定位會出現元素位置漂移解決辦法:頭部底部使用fixed定位,中間本文部分使用absolute,並設定top值和bottom值為頂部底部的高度。具體代碼:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>首頁</title><meta name="viewport"
Time of Update: 2016-07-30
標籤:main.xml布局程式碼分析<?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: 2016-07-30
標籤:函數的屬性和方法JS中的函數是對象,因此函數也有屬性和方法。 每個函數都包含兩個屬性:length和prototype。length屬性,表示函數希望接收的具名引數的個數。prototype屬性,是儲存它們所有執行個體方法的真正所在。在ECMAScript5中,prototype屬性是不可枚舉的。 每個函數都擁有兩個非繼承而來的方法:apply()和call()。這兩個方法的用途都是在特定的範圍中調用函數;實際上等於設定函數體內this對象的值。 apply(
Time of Update: 2016-07-30
標籤:什麼是推送呢?一種圖片讓你明白什麼是推送:這就是推送:就是伺服器可以即時的將訊息發送到用戶端首先要理解一些幾個概念:長串連和段串連:.長串連是指用戶端和伺服器之間始終建立著一個通訊串連,在串連沒有中斷之前,用戶端和伺服器之間可以隨時進行通訊。.短串連是指通訊雙方有資料互動是,就建立一個串連,資料發送完成後,則斷開此串連。長串連實現的即時通訊叫:推送(也就是今天的主題)短串連實現的即時通訊叫:輪詢。(用戶端每隔一段時間詢問伺服器是否有新訊息)國內的第三方推送平台:極光推送個推百度推送小米推送
Time of Update: 2016-07-30
標籤:android最簡單手機地圖APP——只有三部分。第一部分首先建立一個MapActivity在setContentView(R.layout.activity_map);中建立一個<WebView>代碼如下。<?xml version="1.0" encoding="utf-8"?><RelativeLayout
Time of Update: 2016-07-30
標籤:main.xml布局代碼實現<?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: 2016-07-30
標籤:main.xml<?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: 2016-07-30
標籤:一、meta的使用1、<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> 強制讓文檔的寬度與裝置的寬度保持1:1,並且文檔最大的寬度比例是1.0,且不允許使用者點擊螢幕放大瀏覽2、winphone系統a、input標籤被點擊時產生的半透明灰色背景怎麼去掉: <meta
Time of Update: 2016-07-30
標籤:一、概述對於MVP(Model View Presenter),大多數人都能說出一二:“MVC的演化版本”,“讓Model和View完全解耦”等等。本篇博文僅是為了做下記錄,提出一些自己的看法,和協助大家如何針對一個Activity頁面去編寫針對MVP風格的代碼。對於MVP,我的內心有一個問題:為何這個模式出來後,就能被廣大的Android的程式員接受呢?問了些程式員,他們對於MVP的普遍的認識是:“代碼很清晰,不過增加了很多類&