Time of Update: 2015-05-19
標籤://第一種方式message message = new obtain();message.what = 1;message.age1 = 1;message.age2 = 2;message.obj = "yuzhi";message.sendMessage(message);//第二種方式Message message = new obtain(handler);message.what = 1;message.age1 = 1;message.age2 =
Time of Update: 2015-05-19
標籤:一、手機通過wifi串連,要與電腦在同一個路由下二、搭建伺服器 這裡選的是wamp的整合安裝包,一鍵安裝好就可以了三、設定固定IP “網路”右鍵--屬性--“更改適配器設定”--“本地串連”右鍵--“屬性”--“Internet協議版本 4”--設定IP地址--“首選DNS伺服器:208.67.2
Time of Update: 2015-05-19
標籤:一、META/LINK相關:1、百度禁止轉碼通過百度手機開啟網頁時,百度可能會對你的網頁進行轉碼,往你頁面貼上它的廣告,非常之噁心。不過我們可以通過這個meta標籤來禁止它: <meta http-equiv="Cache-Control" content="no-siteapp" /> 相關連結:SiteApp 轉碼聲明2、添加到主屏後的標題(IOS) <meta name="apple-mobile-web-app-title"
Time of Update: 2015-05-19
標籤:第一次寫android程式,寫一個簡單的撥號程式:非常簡單如下: MainActivity.java的代碼如下: package com.example.dailcall;import android.support.v7.app.ActionBarActivity;import android.content.Intent;import android.net.Uri;import android.os.Bundle;import android.view.Menu;
Time of Update: 2015-05-19
標籤:http://technologyworkroom.blogspot.sg/2013/05/tasker-how-to-read-out-whatsapp.htmlTasker can read out incoming or stored WhatsApp Messages, I used Tasker to do the following things on WhatsApp:Display the incoming messages in iOS style, no need
Time of Update: 2015-05-19
標籤:iOS開發UI篇—UITableview控制項使用小結一、UITableview的使用步驟UITableview的使用就只有簡單的三個步驟:1.告訴一共有多少組資料方法:- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;2.告訴每組一共有多少行方法:- (NSInteger)tableView:(UITableView *)tableView
Time of Update: 2015-05-19
標籤: 題目傳送門 1 /* 2 題意:比較型號的大小 3 類比:坑點在長度可能為5,此時設為‘A‘ 4 */ 5 #include <cstdio> 6 #include <algorithm> 7 #include <iostream> 8 #include <cstring> 9 #include <cmath>10 #include <string>11 #include
Time of Update: 2015-05-19
標籤:做Android布局是件很享受的事,這得益於他良好的xml方式。使用xml可以快速有效為軟體定義程式介面。可是有時候我們總感覺官方定義的一些基本組件不夠用,自訂群組件就不可避免了。那麼如何才能做到像官方提供的那些組件一樣用xml來定義他的屬性呢?現在我們就來討論一下他的用法。一、在res/values檔案下定義一個attrs.xml檔案,代碼如下:<?xml version="1.0"
Time of Update: 2015-05-19
標籤:AndroidManifest.xml<uses-permission android:name="android.permission.INTERNET"></uses-permission><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>布局檔案:activity_main.xml<RelativeLayout
Time of Update: 2015-05-19
標籤:linux tcp_wrap tcp wrapper wrapper是一款存取控制的工具,很類似iptables的功能,但是要比iptables功能要小很多,一般只有在滿足以下條件時才能使用tcp wrapper 檢查要控制的軟體工具是否支援tcp_wrap: ldd /usr/sbin/sshd(如果有wrap庫代表支援)/ldd `which xinted` | grep libwrap
Time of Update: 2015-05-19
標籤:手機控車汽車智控移動管家品牌綜合遠程啟動提前手機引擎發動機,智能鑰匙一鍵啟動,時尚舒適享受坐駕冬暖夏涼,創新型智控設集,使整個控車過程式能有效地應用到引擎管理、養護、安全、車身控制、車溫控制、進階智控車等領域中。移動管家系列具有以下優勢; 模組化設計理念 高效能技術
Time of Update: 2015-05-19
標籤:手機號驗證jshtml代碼:<div class="reg_con" style="position:relative;"> <label>聯絡電話</label> <input id="telphone" type="text" name="userExt.telphone" value="13800000000"
Time of Update: 2015-05-19
標籤:dialog 回調封裝的Dialog對話方塊,有時候需要擷取選項這時候就用到了函數的回調package com.example.testlistq;import android.app.AlertDialog;import android.content.Context;import android.content.DialogInterface;import android.view.KeyEvent;public class&
Time of Update: 2015-05-19
標籤:手機回收 以舊換新 隱私外泄 互連網 二手手機 移動、社交,互連網在手機上的應用加速了手機的換代。大量舊手機被淘汰,二手手機閑置越來越多。在處理的方式上,各有不用,到底有哪幾種處理二手手機的方法呢?
Time of Update: 2015-05-19
標籤:純css打造的安卓系統開機畫面動畫特效代<!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
Time of Update: 2015-05-19
標籤:android1、要把一個Activity或者Service註冊為一個可以接受隱式intent的處理常式,需要在它的manifest節點中添加一個intent-filter標籤。2、intent-filter標籤包含的屬性:intent-filter包含action,category,data三大屬性。在隱式intent發布時,這些屬性將與這個intent進行匹配,匹配的結果將決定那個(些)處理常式將會被調用。2.1 action每個Intent
Time of Update: 2015-05-19
標籤:限定符轉載請註明出處:http://blog.csdn.net/zhaokaiqiang1992 本文主要介紹了當我們使用限定符修飾我們的資源檔夾,例如drawable-en-ldpi時,Android系統是根據什麼規則對這些檔案夾進行篩選和選擇的。 本文不是嚴肅翻譯,想查看原文的請戳 Providing
Time of Update: 2015-05-19
標籤:ios double float nsstring self.orderCost.text = [NSStringstringWithFormat:@"%.1f元",self.order.cost.floatValue];%.1f 表示小數點一位,%.2f 表示小數點2位,依次類推.
Time of Update: 2015-05-19
標籤:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"
Time of Update: 2015-05-19
標籤:android 自訂控制項 滾動廣告條 viewpager shape 在一些電子商務網站上經常能夠看到一些滾動的廣告條,許多軟體在首次使用時也有類似的廣告條,其實在github上有實現這種效果的控制項,不過這東西做起來也是很簡單,我們今天就來看看該怎麼做。先來看看布局檔案:<RelativeLayout