2014年5月20日 星期二

[Android]記錄從開始申請Admob至銀行收到款項時間

1.2014/2/7 建立Admob帳號並開始有擊點率
2.2014/3/31 超過$20USD,使用paypal收款
3.2014/5/2 收到Admob email通知已付款$64.95USD至paypal
4.2014/5/17 收到paypal email通知已收到$64.95USD
5.2014/5/18 使用玉山銀行提領$64.95USD至玉山台幣帳戶
6.2014/5/27 收到款項

2014年5月14日 星期三

[Perl]字串運算子


String OperatorPurpose
xReturns a string consisting of the string on the left of the operand, repeated the number of times of the right operand.
Concatenates the two strings on both sides of the operator.
eqReturns True if the two operands are equivalent, False otherwise.
neReturns True if the two operands are not equal, False otherwise.
leReturns True if the operand on the left is stringwise less than the operand on the right of the operator. Returns False otherwise.
ltReturns True if the operand on the left is stringwise less than or equal to the operand on the right of the operator. Returns False otherwise.
geReturns True if the operand on the left is stringwise greater than or equal to the operand on the right of the operator. Returns False otherwise.
gtReturns True if the operand on the left is stringwise greater than the operand on the right of the operator. Returns False otherwise.
cmpReturns -1, 0, or 1 if the left operand is stringwise less than, equal to, or greater than the right operand.
,Evaluates the left operand, the evaluates the right operand. It returns the result of the right operand.
++Increments the string by one alphabetic value.

2014年5月5日 星期一

[Android]Textview autoresize,字動設定自體大小

參考http://stackoverflow.com/questions/16017165/auto-fit-textview-for-android
建立一個AutoResizeTextView.java
將link中的source放進去都不用修改,很實用

[Android]調整TextView字體大小

下面紅色字體,要使用sp

<TextView
    android:id="@+id/textView"
    ...
    ......    android:textSize = "80sp"      
    android:text="TextView" />

[Android]新版Admob

當你的Admob網頁最上方出現新版的Admob,如果你是使用paypal收款,請不要更新
因為更新後不接受paypal收款
等了好久的64.95美元終於入帳了,只是之後都不能使用paypal,真是手X