Time of Update: 2014-10-17
記事提醒應用源碼,記事應用源碼最近公司項目裡面有個我的議程這個小模組,讓我來做,我也是第一次最類似於這種東西。所以就先做了個demo研究了一下,效果<ignore_js_op> 長按一個日期即可跳轉到添加議程的介面,<ignore_js_op> 上面titlebar上分別是返回和儲存按鈕,點擊日期可跳出日期控制項,<ignore_js_op> 這是日期選擇控制項,demo就到此為止了,但是我添加到項目中去的還做了許多邏輯上額最佳化
Time of Update: 2014-10-17
android系統特效詳解和修改方法,android修改方法安卓系統特效相關檔案: 存在於:framework-res.apk 反編譯後的\framework-res\res\anim檔案夾內!anim檔案夾下所有的檔案都是特效檔案原理 反編譯framework-res.apk 替換anim檔案夾下的檔案達到修改特效的目的!然後再重建framework-res.apk替換到手機,修改許可權重啟 特效檔案名稱.
Time of Update: 2014-10-17
harris 演算法的python實現,harrispythonharris 作為最常用的特徵點檢測演算法。 第一個檔案harris.py<pre name="code" class="python">from scipy.ndimage import filtersfrom numpy import *from pylab import *def
Time of Update: 2014-10-17
android:PopupWindow的使用情境和注意事項,androidpopupwindow1.PopupWindow的特點借用Google官方的說法:“A popup window that can be used to display an arbitrary view. The popup window is a floating container that appears on top of the current
Time of Update: 2014-10-17
【解決方案】Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed.,operationcode環境:XCODE6.0.1 + iPhone / iOS8錯誤:使用CoreLocation擷取地理位置資訊,報錯Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed.
Time of Update: 2014-10-17
【iOS開發-49】文檔注釋的外掛程式VVDocumenter的安裝和使用,-49vvdocumenter文檔注釋是/**
Time of Update: 2014-10-17
初學ToggleButton 點擊按鈕,更換按鈕背景圖片;再次點擊,恢複之前背景圖,togglebutton背景圖上方的表徵圖,R.drawable.register_checked 是選中圖片下方的表徵圖, R.drawable.register_unchecked
Time of Update: 2014-10-17
Android 虛線分割線,android虛線分割drawable下建立一個虛線的xml,dash_line.xml<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line" > <!--
Time of Update: 2014-10-17
android發簡訊的代碼,android發簡訊代碼android發簡訊的代碼by 伍雪穎Uri uri = Uri.parse("smsto:10086");Intent intent = new Intent(Intent.ACTION_SENDTO,uri);intent.putExtra("sms_body","The SMS
Time of Update: 2014-10-17
android 相機拍照後選擇相片編輯,相片編輯介面直線形狀會顯示鋸齒狀,由於 decode 出來的圖片太小,小於螢幕。所以,顯示的時候 會把圖片稍微放大,導致直線形狀會顯示鋸齒狀。 可以修改getScreenImageSize 方法中的size 的大小,比如可以把133 ,變大。具體修改如下:Please modify getScreenImageSize function in FilterShowActivity.java file about lines 507. &
Time of Update: 2014-10-17
android
Time of Update: 2014-10-17
android 實現懸浮控制項實現案頭View 如案頭歌詞 1)將要顯示在案頭的view,通過WindowManager.addView,掛在到WindowManager下; 要注意,WindowManager對象來源,源碼有解釋。 並且配置好view的WindowManager.LayoutParams 1-1)WindowManager.LayoutParams.type 設定為
Time of Update: 2014-10-17
Android_Proguard代碼混淆器1.混淆器概述混淆器通過刪除從未用過的代碼和使用晦澀名字重新命名類、欄位和方法,對代碼進行壓縮,最佳化和混淆,產生一個比較小的.apk檔案,該檔案比較難進行逆向工程,是一種重要的保護手段。混淆器被整合在android
Time of Update: 2014-10-17
Android網狀圖片顯示在ImageView
Time of Update: 2014-10-17
Android: Receiving Data from the Send Intent,將自己的app註冊系統分享當使用者在系統相簿,點擊分享時,能通過我們自己的app,分享該圖片。1.註冊主要是在AndroidManifest.xml中,對activity註冊Intent-filter,如: 2.處理: 在Activity中,擷取Intent中的文本和圖片等。 void onCreate (Bundle
Time of Update: 2014-10-17
Android利用Get、Post 擷取網路資料首先是Get:布局很簡單,就一個按鈕,主要看一下MainActivity吧:package com.francis.httpget;import android.app.Activity;import android.os.AsyncTask;import android.os.Bundle;import android.view.Menu;import android.view.MenuItem;import android.view.View;
Time of Update: 2014-10-17
Android資料配接器(Adapter)最佳化:使用高效的ViewHolder更多內容請參照我的個人網站: http://stackvoid.com/在使用Listview或GridView的時候,往往需要自訂資料配接器,一般都要覆寫getView(),在該方法中有一個convertView參數,該參數就是用來載入資料時的View。初學者簡單但低效的方式 1 public View getView(int position, View convertView, ViewGroup
Time of Update: 2014-10-17
Android開發之搜Ya項目說明(3)項目搜芽移動用戶端----seller,app,base三個包的簡單說明作者曾金龍Tel:18664312687 QQ :470910357@qq.com時間2014-10-14說明代碼說明第一部分 Seller包1,啟動頁面 StartUpActivity.java啟動頁面,搜芽的第一個頁面。Android開發中需要在Manifest中設定程式的入口。如下:
Time of Update: 2014-10-17
android 電話薄先10位匹配,若是無法匹配,則換成7位匹配案例 1:如果您儲存的有:A:04165191666, B:5191666, 來電號碼是:04165191666 因為是7位匹配,所以A和B都可以匹配到,但是首選還是A,最後顯示A;來電5191666則匹配到B。案例 2:僅儲存 A:04165191666,來電5191666或者04165191666則都匹配A。案例 3:僅儲存
Time of Update: 2014-10-17
Android --------- 自訂VIewpackage com.example.coustomviewdemo;import android.R.interpolator;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import