Time of Update: 2017-05-17
仿拉手團購App6--註冊介面,仿拉手團購app6--獲得驗證碼case R.id.register_btn_getCode: mPhoneNumber = mEtPhoneNumber.getText().toString(); if (LoginHelperUtil.isPhoneNumber(mPhoneNumber)) { BmobManager.getInstance(new BmobMsgSendCallback() {
Time of Update: 2017-05-16
Android學習筆記-EditText(輸入框)(一),android-edittext文章參考自:http://www.runoob.com/w3cnote/android-tutorial-edittext.html 1.設定預設提示文本預設提示文本的兩個屬性如下:android:hint="預設提示文本"android:textColorHint="#95A1AA"前者設定提示的常值內容,後者設定提示文本的顏色! 2.獲得焦點後全選組件內所有常值內容當我們點擊想當我們
Time of Update: 2017-05-17
GoogleIAP:skusBundle array associated with key ITEM_ID_LIST cannot contain more than 20 items.,jsarraycontain這幾天在接Google的支付,在拉Google商品列表的時候轉菊花,長時間不返回(querySkuDetails),一開始以為因為IAP有key不對導致的,查了下發現沒有問題。再看logcat,發現了這行:Input Error: skusBundle array
Time of Update: 2017-05-17
仿拉手團購App4--我的模組,拉手團購app4-- fragment_me.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2017-05-16
用Anko和Kotlin實現Android上的對話方塊和警告提示(KAD 24),ankokotlin作者:Antonio Leiva時間:Mar 9,
Time of Update: 2017-05-16
Android開發筆記(8)——調用子Activity,androidactivity 轉載請註明:http://www.cnblogs.com/igoslly/p/6853730.html 調用子Activity 需要子Activity傳回值MainActivity使用startActivityForResult方法 毋需子Activity傳回值MainActivity使用startActivity方法 Ma
Time of Update: 2017-05-17
仿拉手團購App5--登入介面,團購app5--登入介面 activity_login.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.
Time of Update: 2017-05-16
Android開發筆記(9)——初步設定Menu,androidmenu轉載請註明:http://www.cnblogs.com/igoslly/p/6858656.html 初步設定Menu 設定Menu,在ActionBar上添加按鈕操作: 在main/res目錄下添加menu檔案夾,建立main.xml檔案 <menu
Time of Update: 2017-05-16
Android GreenDAO3.0——介紹,androidgreendao3.0引言最近,學東西比較零散,各種知識混雜,於是記下學習記錄,免得又忘了。官方網址:http://greenrobot.org/greendao/documentation/introduction/首先介紹一下什麼是greenDAO,在java object
Time of Update: 2017-05-16
矽谷商城第二版5--個人中心模組,矽谷商城第二版5-- fragment_user.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="
Time of Update: 2017-05-16
Android學習筆記-EditText(輸入框)(二),android-edittext文章參考自:http://www.runoob.com/w3cnote/android-tutorial-edittext.html 6.控制EditText四周的間隔距離與內部文字與邊框間的距離我們使用margin相關屬性增加組件相對其他控制項的距離,比如android:marginTop = "5dp"
Time of Update: 2017-05-16
仿拉手團購App2--當前城市選擇Activity,app2--activity首頁中點擊城市TextView調轉到當前城市選擇Activityfragment_city.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
Time of Update: 2017-05-14
Android學習筆記-TextView(文字框)(二),android-textview文章參考自:http://www.runoob.com/w3cnote/android-tutorial-textview.html 2.4 使用autoLink屬性識別連結類型當文字中出現了URL,E-Mail,電話號碼,地圖的時候,我們可以通過設定autoLink屬性;當我們點擊
Time of Update: 2017-05-16
自己寫的書《深入理解Android虛擬機器記憶體管理》,不出版只是寫著玩,深入理解java虛擬機器百度網盤地址:https://pan.baidu.com/s/1jI4xZgE 我給起的書名叫做《深入理解Android虛擬機器記憶體管理》。本書分為兩個部分,前半部分主要是我對Linux0.11版核心的記憶體管理模組的深入分析;後半部分主要是對Android虛擬機器Dalvik的記憶體回收機制的分析和記憶體管理的分析。從2016年初開始研究Linux核心時的一臉懵逼,到現在的0.11版核
Time of Update: 2017-05-16
淺析Android Dialog中setContentView()方法,setcontentview2017-05-15概述 Dialog在Android中是一個很優秀的工具。在使用Dialog時,我們一般都會自訂要顯示的內容布局。Dialog內建了三個方法來支援自訂內容布局。1 public void setContentView (int layoutResID);2 3 public void setContentView (View view);4 5 public void
Time of Update: 2017-05-13
Andorid Scrolling Activity(CoordinatorLayout詳情),scrollingactivity1.new project -> Scrolling Activity2.Layout xml codeactivity_scrolling.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <android.support.design.widget.CoordinatorLayout xmlns:
Time of Update: 2017-05-14
Android學習筆記-TextView(文字框)(一),android-textview參考自文章:http://www.runoob.com/w3cnote/android-tutorial-textview.html 1.基礎屬性詳解:id:為TextView設定一個組件id,根據id,我們可以在Java代碼中通過findViewById()的方法擷取到該對象,然後進行相關屬性的設定,又或者使用RelativeLayout時,參考組件用的也是id!layout_width:組件的
Time of Update: 2017-05-16
Android GreenDAO3.0——entity建模,androidgreendao3.0引言在項目中,為了使用GreenDAO的自動產生DAO class的功能,我們必須建立entity,該entity通過java註解標識。 &
Time of Update: 2017-05-13
android.view.WindowLeaked的解決辦法,androidwindowleaked按字面瞭解,Window
Time of Update: 2017-05-14
Windows搭建安裝React Native環境配置,reactnative1、安裝Java這裡需要注意對環境變數的設定,可以根據Java -version來檢測一下,jdk最好是1.8以上2、安裝SDK這裡需要注意設定環境變數ANDROID_HOME:Android SDK Manager的位置 例如:(ANDROID_HOME=> E:\Android\sdk)設定環境變數PATH:例如:(PATH=>