Time of Update: 2015-04-09
標籤:遇到問題描述:運行android程式控制台輸出 [2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured. [2012-07-18 16:18:26 - ] You must restart adb and Eclipse. [2012-07-18 16:18:26
Time of Update: 2015-04-09
標籤:timed out waiting fo unable to boot the 平常工作中的關於XCode出現bug解決之後一定要做個記錄,要不下次真的再遇到只記得遇到過,怎麼解決的是真忘了。COM+R運行xcode之後,模擬器半天沒反應,待會會出現這個下面圖1這樣的彈框,另外timed out waiting for device to
Time of Update: 2015-04-10
標籤:1、activity_progressbar.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent"
Time of Update: 2015-04-10
標籤: 分類: Android初學學習筆記2011-07-10 09:47 99479人閱讀 評論(0) 收藏 舉報androidtoolspathcmd 查閱了網上很多的資料但是對於環境變數設定介紹的不夠詳細,可能對於大蝦來說是不屑看的,但是對於剛入門的小菜鳥還是比較高深的,呵呵。 &
Time of Update: 2015-04-09
標籤:
Time of Update: 2015-04-10
標籤:今天寫了一個簡單的GridView,它是格子視圖,可以將很多圖片以一定大小顯示出來在做相簿、圖片瀏覽是非常有用一下是xml檔案: 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4
Time of Update: 2015-04-09
標籤://通過顏色來產生一個純色圖片- (UIImage *)buttonImageFromColor:(UIColor *)color{ CGRect rect = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
Time of Update: 2015-04-09
標籤:Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example, Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6. The above
Time of Update: 2015-04-09
標籤:題目連結:點擊開啟連結題意:輸入n ,k 求與n互質的第k個數(這個數可能>n)思路:solve(mid)表示[1,mid]中有多少個和n互質,然後二分一下最小的mid 使得互質個數==ksolve(x) 實現:與n互質的個數=所有數-與n不互質的數=所有數-(與n有一個因子-與n有2個因子的+與n有3個因子的)狀壓n的因子個數,然後根據上面的公式容斥得到。#include <stdio.h>#include <iostream>#include
Time of Update: 2015-04-09
標籤:標籤:Android Button 休閑 圓角 移動開發 在res目錄下的drawable-mdpi建立xml檔案shape.xml,如所示: shape.xml<?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android
Time of Update: 2015-04-09
標籤:android廢話不多說,直接上思路---1:試想一個介面,父布局是LinearLayout,豎直方向排列,然后里面添加兩個View,如果我點擊第一個View,直接調用第二個View的scrollTo或者scrollBy方法,第二個View會移動嗎?給出代碼和布局檔案----布局檔案:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2015-04-09
標籤:投影片外掛程式 移動觸摸 js 外掛程式 lory是一款支援移動觸摸裝置的簡潔的js投影片外掛程式。該投影片外掛程式可以通過純js調用,也可以將該投影片外掛程式作為jquery外掛程式來使用。該投影片的過渡動畫具有硬體加速功能,並且可以定製是否使用easing效果。以下列出該投影片的一些特點:支援移動觸摸裝置。簡單,介面整潔,純js調用。可以作為jQuer
Time of Update: 2015-04-09
標籤:安裝thinkphp的時候提示必須要php5.3及以上本地測試伺服器使用的是appservIntegration Environment所以要單獨升級php首先到官網下載http://php.net/downloads.php
Time of Update: 2015-04-09
標籤:一、點擊按鈕跳轉到另一個頁面。eg:實現從一個頁面點擊跳轉到另一個頁面 1、首先在一個布局檔案(.XML)中繪畫了一個跳轉按鈕(id為btn1):<Button android:id="@+id/btn1" android:layout_width="wrap_content" &
Time of Update: 2015-04-09
標籤:互連網+:如何向移動互連網快速戰略布局 活動概況時間:2015年04月24日18:00-21:00地點:廣州創新穀咖啡(廣州市天河區黃埔大道中段315號羊城創意園1-14棟)主辦:APICloud、雲智慧網址:www.apicloud.com費用:免費 活動背景“互連網+”是知識社會創新2.0推動下的互連網形態演化。如何將互連網的創新成果深度融合於經濟社會各領域之中,快速向移動互連網布局呢?近年來移動互連網的高速發展,APP應用的效能問題突顯,越
Time of Update: 2015-04-09
標籤:今天下了個demo,開啟找不到android.support.v7.widget.Toolbar 明明已經引用了appcompat_v7了?並且出現了ActionBarActivity cannot be resolved to a type錯誤?解決:確保匯入最新的appcompat_v7庫,匯入後該庫可能出現xml檔案錯誤,不要著急,把該庫的android
Time of Update: 2015-04-09
標籤:android handler handler類的主要作用有兩個(1)在新啟動的線程中發送訊息(2)在主線程中擷取、處理訊息public class MainActivity extends Activity { private ImageView iv; int[] imageids = new int[] { R.drawable.fy_d_go,
Time of Update: 2015-04-09
標籤:行動裝置的大部分互動都是通過觸摸touch來實現的,是因為行動裝置通常會有一個電容式觸控螢幕(capacitive touch-sensitive screen),以捕捉使用者的手指所做的互動。對於觸屏的互動式網站、遊戲,觸摸事件是相當重要的。Apple在IOS
Time of Update: 2015-04-09
標籤:今年的Google全球開發人員大會雖然沒有新的Android系統和裝置,但是還是推出了一些不錯的產品,Android Studio就是其中之一。這個基於Intellij IDEA開發的Android
Time of Update: 2015-04-09
標籤: 通過重寫WndProc方法,實現無邊框表單移動和禁止雙擊最大化的操縱。#region 移動表單 /// <summary> /// 重寫WndProc方法,實現表單移動和禁止雙擊最大化 /// </summary> /// <param name="m">Windows 訊息</param> protected override void WndProc(ref