Time of Update: 2015-03-02
標籤:移動mas 簡訊 php mysql字元項目中需要使用到移動代理MAS簡訊的介面開發,但是廠家提供的開發包沒有PHP的,只能使用DB介面,直接操作MYSQL。但是在簡訊發送後,手機接收到的簡訊確實亂碼,琢磨了很久,大致判斷應該是字元編碼的問題。沿著這個方向不斷琢磨、實驗,最終找出了原因。1、登入到mas機的mysql資料庫,使用命令:show variables like
Time of Update: 2015-03-02
標籤:web html5 先Show一下最終的運行效果: http://gamebuilder.duapp.com/apprun.html?appid=genius-441422599398441 線上編輯介面:
Time of Update: 2015-03-02
標籤:實現“搖一搖”功能,其實很簡單,就是檢測手機的重力感應,具體實現代碼如下:一、在 AndroidManifest.xml 中添加操作許可權<uses-permission android:name="android.permission.VIBRATE"/>二、實現代碼 package com.xs.test; import android.app.Activity; import
Time of Update: 2015-03-02
標籤:spring mvc java application ie
Time of Update: 2015-03-02
標籤:android 配置 列表-配置列表-配置簡介本文目標人群:沒有基礎的安卓初學者 知識點:RecyclerView的使用 目標:用在頁面中使用RecyclerView展示列表資料簡介RecyclerView的Android
Time of Update: 2015-03-02
標籤:App->Activity->Custom Dialog 例子使用Activity 來實現自訂對話方塊類CustomDialogActivity本身無任何特別之處。關鍵的一點是其在AndroidManifest.xml中的定義: <activity android:name=".app.CustomDialogActivity" android:label="@string/activity_custom_dialog"
Time of Update: 2015-03-02
標籤:android開發 快速鍵 eclipse 1.查看快速鍵定義的地方 Window->Preferences->General->Keys。2.更改啟動頁 在AndroidManifest.xml第一個activity標籤項中
Time of Update: 2015-03-02
標籤:Java小程式,也就是Java Applet,可以在Web瀏覽器中運行。Java Applet必須以<applet>指令碼的形式嵌入到HTML頁面中,才能在web瀏覽器中運行。 之前總以為本地安裝了JDK,指定好JAVA_HOME和PATH環境變數,所有的Java程式就都可以運行了,後來有個同事讓我幫他解決web瀏覽器中不能運行一個專案管理軟體的甘特圖時,才發現Java
Time of Update: 2015-03-02
標籤:說明:記錄下學習IOS的一些瑣碎,有些在現在看起來很簡單幼稚,不過權當學習足跡吧!1.在定義UITableViewCell時,組件可以直接加,也可以添加到contentView中[self addSubViews:myBtn];[self.contentView
Time of Update: 2015-03-02
標籤: atomic:預設是有該屬性的,這個屬性是為了保證程式在多線程情況下,編譯器會自動產生一些互斥加鎖代碼,避免該變數的讀寫不同步問題。nonatomic:如果該對象無需考慮多線程的情況,請加入這個屬性,這樣會讓編譯器少產生一些互斥加鎖代碼,可以提高效率。
Time of Update: 2015-03-02
標籤:關於NSString的MD5加密,這不難,在網上可以搜到很多演算法,主要是跟背景統一會出問題,對同一段字串,ios和java加密後的結果可能不一樣。現在貼一下ios端和後台java的代碼。java端: 1 public class test { 2 public final static String MD5(String s) { 3 char hexDigits[] = { ‘0‘, ‘1‘, ‘2‘, ‘3‘, ‘4‘, ‘5‘, ‘6‘, ‘7‘,
Time of Update: 2015-03-02
標籤:1.設定透明度(Dialog自身的透明度)WindowManager.LayoutParams lp=dialog.getWindow().getAttributes();lp.alpha=1.0f;dialog.getWindow().setAttributes(lp); alpha在0.0f到1.0f之間。1
Time of Update: 2015-03-02
標籤: 博主這裡使用的最新的14.0.3版本,:http://www.jetbrains.com/idea/, 下載後直接安裝就可以了。 環境:OS:Win 8IDE:IntelliJ IDEA 步驟:1.建立新項目 2.由於IntelliJ
Time of Update: 2015-03-02
標籤:原文網址:http://www.cnblogs.com/dwayne/archive/2011/11/16/2251734.html本文介紹在ubuntu 11.10系統下編譯android
Time of Update: 2015-03-02
標籤:原文網址:http://www.cnblogs.com/zhx831/p/3550830.html這篇文章記錄了我下載源碼和編譯的全過程, 全過程參考Android官方文檔1. 下載Android源碼1.1 安裝repo$ mkdir ~/bin$ PATH=~/bin:$PATH$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo$ chmod a+x
Time of Update: 2015-03-02
標籤:@interface BTThreadViewController (){ NSThread *OneThread;//師傅一 NSThread *TwoThread;//師傅二 NSThread *ThreeThread;//師傅三 int all
Time of Update: 2015-03-02
標籤:http://blog.csdn.net/Kan_Crystal/article/details/40424673之前接觸VLC是因為Winrt的項目,後來似乎ARM版本的始終搞不定(沒有針對於ARM-COFF的GCC編譯器),vlc for winrt的項目好久沒有更新了,自己也沒有深入研究。有一天跟同事聊,他們說android和ios都沒有一個像Media
Time of Update: 2015-03-02
標籤:原文網址:http://blog.csdn.net/louiswangbing/article/details/6616202Android底層庫和程式1、 本地實現的基本結構Android的本地實現層次具有基本的庫和程式,這些庫和程式是Android基本系統啟動並執行基礎,主要包含以下內容:l 標準C/C++庫Bionic;l C語言工具庫libcutils;l init進程;l
Time of Update: 2015-03-02
標籤:Building Your First AppAfter you‘ve installed the Android SDK, start with this class to learn the basics about Android app development.Creating an Android ProjectRunning Your ApplicationBuilding a Simple User InterfaceStarting Another
Time of Update: 2015-03-02
標籤: Biofilm migration Biofilm bacteria can move in numerous ways: collectively, by rippling波浪型 or rolling 滾動形across the surface, or by detaching in clumps團塊. Individually, through a “swarming and seeding” dispersal. Source: Center