Time of Update: 2015-08-13
標籤:android 源碼 android 5.0 lollipop 隱式service 一.概述
Time of Update: 2015-08-12
標籤:UIScreenEdgePanGestureRecognizer名字很長,而且關於其文檔也是少的的可憐,蘋果官方給的唯一的一個屬性是edges,文檔中的解釋是這樣的:A UIScreenEdgePanGestureRecognizer looks for panning (dragging) gestures that start near an edge of the screen. The system uses screen edge gestures in some cases
Time of Update: 2015-08-12
標籤:android開發 imageview 影像處理 首先也簡單介紹像的RGBA模型,R指紅色(Red),G指綠色(Green),B指藍色(Blue)及A指透明度(Alpha),由這四種元素搭配組合成了各種各樣的顏色。處理工具類及方法:public class ImageTools {/*** 對圖片進行處理* @description:* @date 2015-8-
Time of Update: 2015-08-13
標籤: 一、引言 本套學習筆記的開發環境是Windows 10 專業版和Android Studio 的最新版1.3.1。 Android Studio 是一個Android開發環境,基於IntelliJ IDEA. 類似 Eclipse ADT,Android Studio 提供了整合的 Android 開發工具用於開發和調試。
Time of Update: 2015-08-12
標籤:struts there is no action m 今天在使用struts2的時候遇到這個問題。Struts has detected an unhandled exception:Messages:There is no Action mapped for namespace [/] and action name [] associated with context path
Time of Update: 2015-08-11
標籤:在最近幾年裡,移動互連網高速發展、市場潛力巨大。繼電腦、互連網之後,移動互連網正掀起第三次資訊技術革命的浪潮,新技術、新應用不斷湧現。今天這篇文章向大家推薦10大優秀的移動Web開發架構,協助開發人員更加高效的開發移動Web應用。Sencha Touch FrameworkSencha Touch 是世界上第一個基於HTML5的移動Web開發架構,支援最新的HTML5和CSS3標準,全面相容 Android 和 Apple iOS 裝置,提供了豐富的 WEB UI
Time of Update: 2015-08-12
標籤:屬性傳值 將A頁面所擁有的資訊通過屬性傳遞到B頁面使用B頁面定義了一個naviTitle屬性,在A頁面中直接通過屬性賦值將A頁面中的值傳到B頁面。#import <UIKit/UIKit.h>#import "DetailViewController.h"@interface RootViewController :UIViewController<ChangeDelegate>{
Time of Update: 2015-08-11
標籤:先是 html 檔案內容// index.html<html><body> <div id="content" contenteditable="false" style="font-family: Helvetica"> <a href="id:abc" style="text-decoration:none; color:green"> John </a>
Time of Update: 2015-08-11
標籤:MyBatis mapper檔案引用變數#{}與${}差異預設,使用#{}文法,MyBatis會產生PreparedStatement中。而且安全的設定PreparedStatement參數,這個過程中MyBatis會進行必要的安全檢查和轉義。示範範例1:運行SQL:Select * from emp where name = #{employeeName}參數:employeeName=>Smith解析後啟動並執行SQL:Select * from emp where name =
Time of Update: 2015-08-10
標籤: 1 Certificate Signing Request
Time of Update: 2015-08-05
標籤: 這篇分析已經是尾聲了,在UpdatePrompt中,調用了UpdateService的applyOsUpdate函數。 1. UpdateService.applyOsUpdate 這個函數很簡單,就是擷取到update.zip以後,調用recovery service去完成更新。 applyOsUpdate: function AUS_applyOsUpdate(aUpdate) { if (!aUpdate.isOSUpdate ||
Time of Update: 2015-08-06
標籤:android 登入 攔截器 第二種方式主要思路是,啟動一條專門用於等待登陸結果的線程,在登陸的過程中處於掛起狀態,在登陸有結果後由其它線程來喚醒該條等待線程,繼續之前的工作。
Time of Update: 2015-08-04
標籤:recyclerview cardview material desgin android 前言: 第一眼就愛上了Android的Material Design風格。以前倒對Android的介面風格不那麼喜歡,扁平化的介面設計真是好看。
Time of Update: 2015-08-04
標籤:有些朋友可能會動態修改Android中strings.xml檔案中的值,在這裡給大家推薦一種簡單的方法。strings.xml中節點是支援預留位置的,如下所示:<string name="data">整數型:%1$d,浮點型:%2$.2f,字串:%3$s</string>其中%後面是預留位置的位置,從1開始,
Time of Update: 2015-08-05
標籤:android登入 攔截器 interceptor 對於App端來說,如果能保證使用者在登入後能自動延續登入前的操作,將是非常不錯的使用者體驗。所以專門花了點時間,想了兩種方式來實現該種需求。 這篇文章講先第一種方式,這種方式實現的思路大致是這樣: 在執行需要登陸狀態的操作時,將該操作交由攔截器處理,該攔截器會把該操作延後到登陸成功後處理。
Time of Update: 2015-08-04
標籤:fastclick.js 什麼用 加快手機的反映速度,測試是可以用的,很快... fastclick的js FastClick 是一個簡單,便於使用的JS庫用於消除在行動瀏覽器上觸發click事件與一個物理Tap(敲擊)之間的300延遲。它支援以下瀏覽器:Mobile Safari on iOS 3 and upwardsChrome on iOS 5 and upwardsChrome on Android (ICS)
Time of Update: 2015-08-02
標籤:高斯模糊 毛半透明效果 高斯模糊相容低版本 scriptintrinsicblur renderscript 一、利用android api實現高斯模糊關於高斯模糊網上已經有很多不錯的文章介紹了,在這裡就不重複了。先來看一個效果效果已經看到了,就來看看怎麼實現的吧。首先是實現高斯模糊的核心代碼<span style=
Time of Update: 2015-08-03
標籤:一、隱式動畫*每個UIView的內部都預設關聯著一個CALayer,我們可以稱這個Layer為RootLayer(根層),這個自動建立的CALayer不存在隱式動畫。*所有的非Root Layer,也就是手動建立的CALayer對象,都存在著隱式動畫。*什麼是隱式動畫?當對非Root Layer的部分屬性進行修改時,預設會自動產生一些動畫效果。而這些屬性稱為Animatable Properties(可動畫屬性)*列舉幾個常見的Animatable
Time of Update: 2015-08-02
標籤:#import "ViewController.h"@interface ViewController (){ NSMutableArray *nameList; UILabel *label; NSTimer *timer;}@end@implementation ViewController- (void)viewDidLoad { [super
Time of Update: 2015-08-03
標籤:一、CGPoint定義一個點,兩個參數分別是x,y1>CGPoint p = {100,100}; 2>CGPoint p; p.x = 100; p.y = 100;3>CGPoint p = CGPointMake(100,100); 二、CGSize定義一個大小:兩個參數分別是width , height三、CGRect定義一個矩形:四個參數分別是origin.x , origin.y , size.width , size.height四、