» 2015 » October の記事

~ android studio include library ~

connie 2015.10.30 | android | | No Comments

add new andorid library
Gradle
build.gradle(module:app)

compile project(':libraryname');

 

sync

~ remove action Items ~

connie 2015.10.23 | android | | No Comments

QQ截圖20151023114542

res/menu/main_activity_actions.xml

del <item> tag

~ hash sum mismatch @ hk ubuntu 14.04 ~

connie 2015.10.20 | Uncategorized | | No Comments

hash sum mismatch:
http://hk.archive.ubuntu.com trusty/main Translation-en_HK
http://hk.archive.ubuntu.com trusty/multiverse Translation-en_HK
http://hk.archive.ubuntu.com trusty/restricted Translation-en_HK
http://hk.archive.ubuntu.com trusty/universe Translation-en_HK
 

nano /etc/apt/sources.list 

ctrl+w(search)
ctrl+r(replace)
"hk."
""
A(All)
Ctrl+x
save

apt-get update

apt-get update && apt-get upgrade 

 

~ 日版iphone 去除shutter聲 ~

connie 2015.10.19 | iphone, Uncategorized | | No Comments
cd /System/Library/Frameworks/MediaToolbox.framework/

mv RegionalSystemSoundsThatShareBehaviour.plist RegionalSystemSoundsThatShareBehaviour.plist.bak

 

~ 鎖定android 顯示畫面 ~

connie 2015.10.13 | android | | No Comments

Inside activity tag
android:screenOrientation="portrait"
if you want VERTICAL fixed orientation

android:screenOrientation="landscape" if you want HORIZONTAL fixed orientation

| HOME |

Smiley face

October 2015
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031