Time of Update: 2015-05-27
標籤:閱讀目錄抓包工具介紹Wireshark手機抓包Wireshark常用技巧本文主要討論一種非常方便的抓取Android和iphone行動數據包的辦法,以及介紹wireshark最常用的技巧回到頂部抓包工具介紹(1).網頁抓包工具 Chrome瀏覽器外掛程式 FireBug 外掛程式 HttpWatch Fiddler
Time of Update: 2015-05-27
標籤:Runtime函數1.可以通過NSObject的一些方法擷取運行時資訊或動態執行一些訊息:1./*Returns a Boolean value that indicates whether the receiving class is a subclass of, or identical to, a given class.*/1.+ (BOOL)isSubclassOfClass:(Class)aClass;1./*Returns a Boolean value that
Time of Update: 2015-05-27
標籤:vi check_tomcat_threads.c#include <stdio.h>#include <stdlib.h>#include <string.h>#define OK 0#define WARNING 1#define CRITICAL 2#define UNKNOWN 3#define LEN 1000#define MIN_LEN 100#define CMD1 "ps -efL | grep apache-
Time of Update: 2015-05-27
標籤: 當今行動裝置
Time of Update: 2015-05-26
標籤:objective-c ios 資料結構 sqlite 儲存 1、SQLite介紹1. 什麼是SQLiteSQLite是一款輕型的嵌入式資料庫SQLite佔用資源非常低,在嵌入式裝置中只需要幾百K的記憶體但處理速度比MySql、PostgreSQL這兩款著名的資料庫都還快2.
Time of Update: 2015-05-26
標籤:結束前段時間的忙碌,近來工作沒什麼任務。就趁上班時間學習一點東西。讀完了Casa Taloyum的《iOS應用架構談
Time of Update: 2015-05-26
標籤:http://www.trinea.cn/android/android-downloadmanager/本文主要結合源碼介紹Android系統下載管理DownloadManager的強大功能及使用。這是許久來準備寫的一系列部落格,這篇主要介紹DownloadManager的功能和樣本,後面還有兩篇會介紹下載管理的底層設計(DownloadProvider、DownloadManager、DownloadManagerUI)、下載管理如何進行功能增強和bug修改。 樣本APK可從
Time of Update: 2015-05-26
標籤:Address:http://www.outofcore.com/2011/07/ios-development-proper-use-of-initwithnibnamebundle-affects-uitableviewcontroller/I think this post will be useful to someone new to the iOS development. One of the most important and commonly used classes
Time of Update: 2015-05-26
標籤:NSPredicate:謂詞NSPredicate的具體用途應該還是過濾,類似於過濾條件之類的。一、NSpredicate的建立: NSpredicate *predicate = [NSpredicate predicateWithFormat:@"age > 28"]; //篩選條件
Time of Update: 2015-05-26
標籤:網上查看了好多資料,沒有找到很清楚明了的結果,經過了多天的研究,無意發現了這個方法來進行全域調用效果展示:1.主視窗代碼 public partial class MainWindow : MetroWindow { public MainWindow() { InitializeComponent(); MessageExt.Instance.ShowDialog = ShowDialog;
Time of Update: 2015-05-27
標籤:參考http://developer.android.com/guide/topics/manifest/uses-sdk-element.html API Level 是一個整型值,表示Android發布的某個特定版本,新API Level相對於老API Level會增加以下內容:* 新增類、或者已有類中新增、修改、甚至刪除的API* 新定義的xml tag* 新定義Intent* 新定義的Permission* 其它…API
Time of Update: 2015-05-27
標籤:繪製構造方法自訂view需要繼承View類,重寫兩個構造方法//用在代碼new該view對象,初始化public MyView(Context context) {super(context);init();}//一般添加構造---》view放進布局,系統執行個體化public MyView(Context context, AttributeSet attrs) {super(context,
Time of Update: 2015-05-26
標籤:1.對於只需要適配手機裝置,使用px即可;2.對於需要適配各種行動裝置,使用rem;例如只需要適配iPhone和iPad等解析度差別比較挺大的裝置rem配置參考: html {font-size:10px}@media screen and (min-width:480px) and (max-width:639px) { html { font-size: 15px }}@media screen and (min-width:640px) and (
Time of Update: 2015-05-26
標籤:分享的方法: private void nativeShare() { Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("text/plain"); intent.putExtra(Intent.EXTRA_TEXT, "分享內容。。。。。"); startActivity(Intent.createChooser(intent, "分享標題")); }
Time of Update: 2015-05-26
標籤:ios app互調 調用者:只需要執行以下調用方法,以“://”為分隔字元,左邊就是要調用APP的地址,右邊是你要傳給這個APP的參數。 NSURL *url = [NSURL URLWithString:@"Ceshi001://aaaaaaa"]; [[UIApplication sharedApplication]
Time of Update: 2015-05-26
標籤:jquery validation 驗證手機號 jQuery Validate 外掛程式介紹jQuery Validate 外掛程式為表單提供了強大的驗證功能,讓用戶端表單驗證變得更簡單,同時提供了大量的定製選項,滿足應用程式各種需求。該外掛程式捆綁了一套有用的驗證方法,包括 URL 和電子郵件驗證,同時提供了一個用來編寫使用者自訂方法的
Time of Update: 2015-05-26
標籤:部分代碼 如下 求大神 解答 public class OutgoingCallReceiver extends BroadcastReceiver {@SuppressLint("ShowToast")@Overridepublic void onReceive(Context context, Intent intent) { String phone = this.getResultData();//得到外拔電話
Time of Update: 2015-05-26
標籤:android9patch的使用方法9patch圖片常被用來做訊息發送等的圖片,只是縮放照片的部分地區,使得圖片的整體形狀不會受到影響,比較方便。 下面我們介紹一下: 在android的SDK安裝目錄下的tools目錄下,可以找到draw9patch.bat檔案,只需要點擊就可以了。 左側和上部的直線負責縮放地區,右側和下策的直線,負責內容顯示。 Android 9Patch圖片的使用-android學習之旅(十八)
Time of Update: 2015-05-26
標籤:android 地圖 gps 導航 以百度api為基礎複製<com.baidu.mapapi.map.MapView android:id="@+id/bmapView" android:layout_width="fill_parent" android:layout_height="fill_parent"
Time of Update: 2015-05-26
標籤: 這是我人生中的第一篇部落格,興奮,激動,哈哈!!! UITableView時iOS中非常常用的一個控制項,一般情況下那幾個必須實現的代理方法就夠我們實現一些簡單的介面了。但有時候猛然遇到一個關於tableview的問題,也會令像我這種的小白不知所措。- (NSIndexPath *)GetIndexPath:(id)sender{ UIButton *btn = ((UIButton