差满多乃几

此生诺,此生践。高赤,高焰。

再过5分钟,就结束这一年的本命年!Fighting…


印象中二十多年,最伤心痛哭的居然是昨晚的梦境,就像赢了全世界却输了你,果然还是未到伤心处~~


自己的一大堆事都不知咋处理,谁又能来帮我分析分析~,他人分析了亦无用,重在自己的心。。


我在想这是不是试探,Young for U..


HK 有其精彩不一样的地方,但并不见得其该高傲或高人一等的 feel. 150118摄于HK。


sweetest:

《Merry, Merry Christmas》歌词:

I'll never take part in the growing population
or waste my time with further education
Forget what we know it's just a big show
what they want to control
so jaded frustrated
it's all so complicated
fashion no passion surrounds me
All I know is
I've heard this all before
reality's a bore.
You ask me to believe in something fake.
Well I can't bring myself to
do what you want me to.
This is who we are and
nothing's going to change

nothing's going to change.


I can't take part in the businessman illusion,
I'll take my chances in the real world confusion.
Don't blame us who do we trust
when they're so dishonest.
No patience this nation's
obsessed with exploitation.
lying denying surrounds me.
All I know is
I've heard this all before
reality's a bore.
You ask me to believe in something fake,
well I can't bring myself to
do what you want me to.
This is who we are and
nothing's going to change


Don't think you can ignore us.
Don't tell me that we're to blame.
Don't pick our future for us.
or act like we're the same.
All I know is
I've heard this all before
reality's a bore.
You ask me to believe in something fake
well I can't bring myself to
do what you want me to
This is who we are and
nothing's going to change.
Thanks for nothing,
I've heard this all before
thanks for nothing,
reality's a bore.
Thanks for nothing,
it'll never be the same.
Thanks for nothing,
and nothing's gonna change

 @hibuddy ,送你一首圣诞歌曲,祝节日快乐!



Android Action Bar http://m.oschina.net/blog/340493

Android Touch事件传递机制 http://m.oschina.net/blog/340307

Android 涂鸦最佳实践 http://m.oschina.net/blog/309378

Printing With KitKat

http://www.doubleencore.com/2013/11/android-gets-a-print-framework/

http://cn.reuters.com/article/pressRelease/idUSnBw075486a+100+BSW20140707?symbol=7751.T

(图@被世界遗忘的角落


七夕快乐!


jd-gui反编译 access$xxx类函数说明

.access$ 反编译偶内部类调用外部类成员问题
很简单的一个测试类源码: 
public class testOuter {
private int a;
private int b;

private void fun() {
a += 1;
}

class testInner {
int x = 0;
testInner() {
b = 1;
a = 0;
fun();
}
}
编译生成的Class文件:
class testOuter$testInner {
int x = 0;
testOuter$testInner(testOuter paramtestOuter) ...

KK上Launcher3 mm 编译

KK上编译指令有改变,第一次build module时请用mma命令代替mm命令进行模块编译,之后再编译可以使用mm命令。

Launcher3模块编译命令如下:

./mk project_name mma packages/apps/Launcher3/


《怒放之青春再见》!观看地址:http://www.funshion.com/subject/111077

天空,大海,青春。。

将keyguard默认的时间ClockView替换为digitalClock Appwidget

1. 按如下方法修改KeyguardHostView.java中addDefaultStatusWidget():

private void addDefaultStatusWidget(int index) {

     int appWidgetId = mAppWidgetHost.allocateAppWidgetId();    

     mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId...

如何修改系统默认字体大小

Android系统中在Settings->Display->Font Size设置系统字体大小,默认的系统字体大小为普通(Normal),如果修改默认值,可以在下面这个文件中进行修改:

alps/frameworks/base/core/java/android/content/res/Configuration.java文件中如下

public void setToDefaults() 这个方法中进行修改,

如:把默认字体要改为超大,把fontScale值改为1.15f,然后重新build framework.jar这个模块即可;

public void setToDefaults...

看见现在的你真是当年的自己,更不知所措,这条路我们怎样才能走得更远,迷茫了,思考着,黑得夜,就这样听不到自己心跳的躺着,躺着,窗外又泛出了鱼肚白,依旧雾霾一片。。

Android 添加新时区

解决方案:以加入Nigeria时区为例,应该如下修改:

1.找到该国家在zoneinfo中的时区信息。

时区信息的文件可以从ftp://munnari.oz.au/pub/下载到最新的,解压tzdata201x*.tar.gz后,在每个地区的txt文件中有城市的时区信息,搜索是否有您要添加的城市,则该时区可以添加;如果没有搜索到相关的国家或城市,则需要考虑使用别的城市的时区。

比如在africa.txt中搜索Nigeria,可以找到下面的内容:

# Nigeria

# Zone NAME  GMTOFF RULES FORMAT [UNTIL]

Zone Africa/Lagos...

如何关闭Navigation Bar

默认Navigation Bar的控制在 alps/frameworks/base/core/res/res/values/config.xml文件中<bool name=“config_showNavigationBar”>true</bool>, 但是在有些项目中修改为false不起作用,或者默认已经是false,但是还是会显示navigation Bar。

1. 在部分项目中,内部Demo Project有Navigation Bar的需求,因此通过Resource Overlay机制默认打开了Navigation Bar,如果要...

切换系统语言后,拉下状态栏发现状态栏内容没有同步更新语言

切换系统语言后,拉下状态栏发现状态栏内容没有同步更新语言例如:
手机插入USB,切换系统语言之后,拉下状态栏发现,USB相关的状态栏内容没有同步更新,还是切换前的语言文字内容 

这是Google default design,google原生对比机nexus是一样的行为现象。因为:
1. Statusbar 无力控制是否改语言
2. 如果需要翻译由各个app决定
3. 到底变不变对于end users来说都是可以接受的,因为改变语言是主动行为,user是可以接受某条临时notification没有变化的情况的


Android设置为动态壁纸,使用后,壁纸有被恢复成静态壁纸

原因是由于WallpaperServiceManager 有检查到同一个wallpaper对应的Service,在10秒内,有两次died,会默认的将壁纸设置为静态壁纸。具体的代码可以参考WallpaperServiceManager.java中的如下代码:

public void onServiceDisconnected(ComponentName name) {

            synchronized (mLock) {...


解决ADB server didn't ACK问题

1. adb kill-server

adb start-server

2. >>adb nodaemon server

cannot bind 'tcp:5037'

当端口被占用,无法绑定时,解决方法如下:

3. >>netstat -ano |findstr "5037"

  TCP    127.0.0.1:4350         127.0.0.1:5037   ...

新的一年,本命年,不求马上度过,一帆风顺,希望能挺挺一起走过。。

我差满多,我在LOFTER

查看详情