Time of Update: 2016-04-01
標籤:首先要注意一點,Android Studio中把proguard.txt已經命名為proguard-rules.pro,由此可見,採用Gradle打包,混淆規則檔案的名稱是不重要的。能夠自己隨便命名。混淆規則跟原來一樣。沒有變化。不懂能夠搜一下別人怎麼寫的。增加簽名檔案。在Build->Generate Signed
Time of Update: 2016-03-31
標籤:滑動條滑動條讓使用者對一個值或者進程在允許的範圍內進行調整(如下所示左邊右邊都有自訂圖片)。API
Time of Update: 2016-04-03
標籤:AppStore和Android市場情況莫名其妙爆紅的遊戲真的莫名其妙,筆者下這個遊戲兩次。第一次在豌豆莢熱門排行榜看到這款遊戲,名字怪怪的,下載下來嘗試一下,沒認為有什麼新穎的,還在思慮這是不是刷榜刷上去的。果斷卸載了。周末的時候逛逛app store。突然看到熱門排行榜首位是Dont Tap The White Tile(後更名panio tiles
Time of Update: 2016-03-31
標籤:windows開發常用快速鍵實體類產生get set 等方法快捷產生變數快捷windows開發常用快速鍵實體類產生get set 等方法快速鍵 alt + insert 快捷產生變數快捷ctrl +alt + f 全域變數 ctr + alt + c 全域常量 ctr + alt + v 局部變數 ctr + alt + m 抽取方法 ctr + alt + p 抽取方法參數ctr + i 實現介面 ctr + o 重寫父類方法 ctr + f12 查看類成員ctr + alt + b
Time of Update: 2016-04-01
標籤:Android Procedural Animation: : XML, Concepts and OptimizationProcedural Animation Concepts: Tweens and Interpolators Interpolator:http://developer.android.com/reference/android/animation/TimeInterpolator.htmlProcedural Animation Data Values:
Time of Update: 2016-04-01
標籤:
Time of Update: 2016-03-30
標籤:apple企業認證申請流程企業認證購買需要兩個前提:1、鄧白氏編碼2、蘋果企業開發人員帳號 博主先帶你們搞定第一個鄧白氏編碼的申請如下: 蘋果企業認證申請流程登陸 APPLE 點選連結登陸蘋果官網https://developer.apple.com/account/ios/certificate/certificateList.action650) this.width=650;" title="apple1.png" src="http://
Time of Update: 2016-03-30
標籤:UIView 等會效果簡單實現,哪一個登入頁面的demo來舉例子吧. + (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations;UIView的一個類方法,可以看出這個方法裡面只有兩個參數:duration: 動畫期間;animations:動畫閉包,在這個閉包中你可以改變UIView的各種動畫屬性(這個方法中可以同時改變多個屬性);//
Time of Update: 2016-03-30
標籤: Nine-Patch圖片是一種經過特殊處理的png圖片,能夠指定圖片的哪些地區可以被展開而哪些地區不可以。 (一)普通圖片被展開時的缺陷 有如下xml檔案,其中子LinearLayout的背景圖片設定成一個名為chat的png圖片: 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3
Time of Update: 2016-03-30
標籤:android activity 生命週期 啟動模式 資料傳遞通訊 Activity 是我們在學習android 的時候最先接觸到的東西,也是android 開發過程中不可少的組件。而 在我們android 學習中,對activity
Time of Update: 2016-03-31
標籤:參考:網易雲加密:http://apk.aq.163.com網易雲捕:http://crash.163.com1、結構體的建立及匯入,結構體指標等。以JniNativeInterface, DexHeader為例。 解析Dex的函數如下:F5後如下:File->load file->parser c header
Time of Update: 2016-04-01
標籤:開啟eclipse的opens the android sdk and avd manager提示錯誤:error:location of the android sdk has not been setup in the
Time of Update: 2016-03-29
標籤:ImageView的scaleType的屬性有好幾種,分別是matrix(預設)、center、centerCrop、centerInside、fitCenter、fitEnd、fitStart、fitXY android:scaleType="center"保持原圖的大小,顯示在ImageView的中心。當原圖的size大於ImageView的size,超過部分裁剪處理。 android:scaleType="centerCrop"以填滿整個ImageVi
Time of Update: 2016-03-29
標籤:xml檔案中設定: 要實現這個目的,只需要在AndroidManifest.xml裡聲明Activity的時候加上一個屬性:android:screenOrientation,屬性取值landscape為固定橫屏、portrait為固定縱螢幕。<!-- android:screenOrientation="portrait" 豎屏 android:screenOrientation="landscape " 橫屏
Time of Update: 2016-04-02
標籤:【轉】How to Start Intel Hardware-assisted Virtualization (hypervisor) on Linux to Speed-up Intel Android x86 EmulatorThe Intel Hardware Accelerated Execution Manager (Intel® HAXM) is a hardware-assisted virtualization engine (hypervisor) that
Time of Update: 2016-03-30
標籤:介紹:KMCGeigerCounter是一個iOS幀速計算機,像蓋革計數器那樣,當動畫丟失一幀時它就記錄一次。掉幀通常是不可見的,但是很難區分55fps和60fps之間的不同,而KMCGeigerCounter可以讓你觀測到掉落5幀的情況。可以通過這個來檢測app的卡頓程度 使用:KMCGeigerCounter的使用非常簡單: [KMCGeigerCounter sharedGeigerCounter].enabled =
Time of Update: 2016-03-29
標籤:Android對各解析度的定義當圖片以格式ARGB_8888儲存時的計算方式佔用記憶體=圖片長*圖片寬*4位元組圖片長 = 圖片原始長 (裝置DPI/檔案夾DPI) 圖片寬 = 圖片原始寬(裝置DPI/檔案夾DPI) 舉例驗證如下:圖片大小 200 * 320,裝置為紅米dpi為320,屬於xhdpi裝置。驗證一 圖片放在hdpi,下面為代碼輸出結果:DD/MainActivity(13014): dpi: 320
Time of Update: 2016-03-29
標籤: A)MainActivity部分的代碼1 package com.example.cms.intentservice; 2 3 import android.content.Intent; 4 import android.support.v7.app.AppCompatActivity; 5 import android.os.Bundle; 6 import android.view.View; 7 import android.widget.Button; 8 9
Time of Update: 2016-03-29
標籤:對於習慣用Eclipse開發Android的人來說,匯入jar時,最常見的操作就是ctrl+shift+O,可是用Android studio時,默認操作是Alr+Enter,可是每次只可以匯入一條哦,所以我們要自己設定一下,然後軟體就會自動匯入了點擊file->setting,找到Editor的General 的Auto Import,然後勾選:show import
Time of Update: 2016-03-28
標籤:http://www.cnblogs.com/zhouyou96/p/5323138.html 總結一下Android中主題(Theme)的正確玩法在AndroidManifest.xml檔案中有<application android:theme="@style/AppTheme">,其中的@style/AppTheme是引用的res/values/styles.xml 中的主題樣式,也有可能是引用的 res/values-v11/styles.xml 或者