Profile cover photo
Profile photo
Winkey Wong
162 followers -
Organizer of GDG Guangzhou
Organizer of GDG Guangzhou

162 followers
About
Winkey's posts

Post has attachment
求婚成功啦!感谢ccic全体上下各位兄弟姐妹,你们不仅帮我送出99朵玫瑰,还帮我把在同一栋楼的女主角瞒了一天。感谢小蛋糕团队的各位连夜为我准备99个蛋糕杯,感谢庄小姐为我找到最好的鲜花批发和摄像师。策划到实施24小时,紧张刺激。谢谢大家!

Marriage proposal been accepted.
PhotoPhotoPhotoPhotoPhoto
11/26/14
8 Photos - View album

Post has shared content
Cool

Today’s #AndroidDev #Protip from +Ankur Kotwal  is about using Gradle build types.

Gradle [0] enables you to declare multiple build types, allowing you to vary signing keys, package names, source sets, resources, and configuration files. These can be used to separate out development builds from usertest and release builds.

To get started, declare signing configurations for the build types. Signing configurations allow you to specify the keystore and alias to sign the APK with. You can reuse the same signing config for multiple build types but its best to have a dedicated one for release. It’s generally not a good idea to store your release configuration in plain text and thus a release signing config has not been specified here - this will result in an unsigned APK.
    signingConfigs {
        debug {
            storeFile file("../debug.keystore")
            keyAlias "androiddebugkey"
        }
        usertest {
            storeFile file("../usertest.keystore")
            storePassword "testing123"
            keyAlias "testKey"
            keyPassword "WhereIsSanta"
        }
    }

Next, you need to declare the build types. Here we can see that the debug and usertest builds are using different suffixes for package names and for the app version. Having unique package names enables all three build type APKs to be installed on the device at once - this is a big time saver during development. Release builds should always use ProGuard to obfuscate the APK and remove unused code. It’s a good idea to turn ProGuard on for usertest builds too since the aim is for these builds to resemble the release build as much as possible.
    buildTypes {
        debug {
            packageNameSuffix ".debug"
            versionNameSuffix "-debug"
        }
        usertest {
            packageNameSuffix ".usertest"
            versionNameSuffix "-usertest"
            runProguard true
            proguardFile getDefaultProguardFile('proguard-android.txt')
            signingConfig signingConfigs.usertest
        }
        release {
            runProguard true
            proguardFile getDefaultProguardFile('proguard-android.txt')
        }
    }

A Gradle project’s directory structure helps to differentiate individual files between each build type. Gradle will overlay the “main” directory with the files in the active build type at build time. This enables you to provide custom configuration files enabling you to point your debug, usertest and release APKs to point to their respective sandbox, staging and production backends. Since we’re using different package names and potentially installing multiple versions of the app on different devices, you might want to use a different app icon for each build type. 

Gradle can help you create a very powerful build setup with relative ease. Gradle integration is available in Android Studio / IntelliJ [1].

[0] http://tools.android.com/tech-docs/new-build-system/user-guide
[1] http://developer.android.com/sdk/installing/studio.html
PhotoPhotoPhoto
2014-03-12
3 Photos - View album

Post has attachment
PhotoPhotoPhotoPhotoPhoto
5 Photos - View album

I found that Chiang Mai that I'm going to visit has its GDG!

Post has attachment
Added photos to GDG School Open Day中山大学站.

Post has shared content
+GDG Guangzhou 年底的两大活动之一。
GDG校园开放日中山大学站将于10月13日在中山大学东校区多功能会议厅举办。

我们将带来Google最新的技术分享,包括Android,GoLang等。以及最新的科技产品体验,如Chromebook Pixel,ChromeBox,Leapmotion,脑电波测量仪等。

Google Glass本体也将光临本次活动,敬请期待。

地点:中山大学东校区(大学城)多功能会议厅

活动流程:
1:00PM:签到开始
2:00PM:介绍GDG Guangzhou,GDG,SOD以及Google的动态,Anson Ho;
2:30PM - 3:10PM:主题分享《Android studio及Android开发入门》,资深Android讲师Winkey Wong;
3:10PM - 3:50PM:主题分享《Google Glass介绍和开发入门》,国内Google Glass开发第一人Leap Lee;
2:50PM - 4:20PM:茶歇,设备体验;
4:20PM - 5:00PM:主题分享《GoLang开发入门》,资深服务器端开发工程师MJ;
5:00PM - 5:30PM:致辞结束词,大合照。

Post has shared content
這次我要認真備課,給學生們帶來一次真的能聽懂的入門講座。(這永遠是個美好的願望)歡迎大家參加!
GDG校园开放日中山大学站将于10月13日在中山大学东校区多功能会议厅举办。

我们将带来Google最新的技术分享,包括Android,GoLang等。以及最新的科技产品体验,如Chromebook Pixel,ChromeBox,Leapmotion,脑电波测量仪等。

地点:中山大学东校区(大学城)多功能会议厅

活动流程:
1:00PM:签到开始
2:00PM:介绍GDG Guangzhou,GDG,SOD以及Google的动态,Anson Ho;
2:30PM - 3:10PM:Android studio及Android开发入门,Winkey Wong;
3:10PM - 3:50PM:Google Glass介绍和开发入门,Leap Lee;
2:50PM - 4:20PM:茶歇,设备体验;
4:20PM - 5:00PM:GoLang开发入门,MJ;
5:00PM - 5:30PM:致辞结束词,大合照。歇,设备体验;
4:20PM - 5:00PM:GoLang开发入门,MJ;
5:00PM - 5:30PM:致辞结束词,大合照。

Post has shared content
我将准备丰富的Android开发入门介绍和Code Lab,手把手教大家玩转Android。

Post has attachment
<a class='ot-hashtag' href='https://plus.google.com/s/%23hangoutsonair'>#hangoutsonair</a>

Post has shared content
+Anson Ho 
Been waiting to see when this would happen.
Wait while more posts are being loaded