Profile

Cover photo
Yu-Hsuan Lin
Works at iKala (愛卡拉互動媒體)
Attends National Taiwan University
Lives in Taipei
616,311 views
AboutPostsPhotosYouTube+1'sReviews

Stream

 
 
Have you ever used Chrome Remote Desktop to remotely access your computer from a different laptop or computer? Today that same functionality is coming to +Android phones & tablets with the Chrome Remote Desktop App for Android. Simply launch the app, select which computer you’d like to access, and start using it as if you were sitting in front of it. 

You can start setting up a computer for remote access by installing the Chrome Remote Desktop app from the Chrome Web Store: http://goo.gl/V9bJ9. And if you’d like to learn more about how to use Chrome Remote Desktop, you can check out these tips: http://goo.gl/7T58lk.
1
Add a comment...
 
After struggling with trying to figure out how various pieces fit together, I've done some research and put together the complete Android Activity/Fragment lifecycle chart. This has two parallel lifecycles (activities and fragments) which are organized vertically by time. Lifecycle stages will occur in the vertical order in which they're displayed, across activities and fragments. In this way, you can see how your fragments interact with your activities.

In addition to the attached image, I've also got an SVG: http://staticfree.info/~steve/complete_android_fragment_lifecycle.svg which is suitable for printing.

If this is missing lifecycle steps or is inaccurate in any way, let me know so I can update it!

#Android #androiddev  
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
又是正好要用 (吃)
 ·  Translate
 
Today’s #AndroidDev #protip from +Nick Butcher is about correctly creating fragments.

Fragments are a great way of decomposing your application into reusable components and helping you create flexible layouts.  When creating your own fragments, you may be tempted to supply initialisation data through an overloaded constructor, to practice good encapsulation.  Doing so, however, would be a mistake as fragment instances can be re-created as part of the containing activity’s lifecycle.  Fragment’s javadoc [0] explains:

“Every fragment must have an empty constructor, so it can be instantiated when restoring its activity's state. It is strongly recommended that subclasses do not have other constructors with parameters, since these constructors will not be called when the fragment is re-instantiated…”

A pattern for encapsulating data needed to initialise a fragment is to offer a static creator method, commonly named newInstance.  This creates the fragment and stashes data in the arguments bundle which is persisted over re-creations:

public static class MyFragment extends Fragment {

  public MyFragment() { }  // Required empty constructor

  public static MyFragment newInstance(String foo, int bar) {
    MyFragment f = new MyFragment();
    Bundle args = new Bundle();
    args.putString(ARG_FOO, foo);
    args.putInt(ARG_BAR, bar);
    f.setArguments(args);
    return f;
  }

You can then access this data at a later point:

@Override
public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  Bundle args = getArguments();
  if (args != null) {
    // Use initialisation data
  }
}

This pattern allows you to encapsulate the arguments that your fragment needs to initialise while playing nicely with the lifecycle methods.  If you have other tips for working with fragments then let us know in the comments.

[0] https://developer.android.com/reference/android/app/Fragment.html#Fragment()
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
彩虹番茄 (J)
 ·  Translate
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
 
LIVEhouse.in 線上影音直播平台,與好友一起看影片、聊天
http://www.freegroup.org/2014/02/livehouse-in/

記得以前還在念書時,很流行使用 SHOUTcast 來架設屬於自己的網路廣播電台,透過麥克風讓其他人可以聽到你的聲音,是一件很有趣的事情,不過 SHOUTcast 的設定方法並不是那麼簡單,往往在電台上線前就已經耗盡心力,於是有愈來愈多的網路服務致力於讓使用者可以更輕鬆開播電台節目,本文要介紹的 LIVEhouse.in 就是一個能讓你在線上快速直播節目,跟大家一起哈啦的全新服務。
 ·  Translate
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
 
Today we’re launching Google Camera, a new app for your Android phone or tablet that makes it easy to take quick photos and videos. And being behind the lens just got more fun with new creative picture modes.

Sleek Design. The 100% viewfinder gets out of your way while capturing the maximum resolution of the scene (no dropped pixels). And the extra large capture button is easy to press so your eyes never lose sight of the subject.

Lens Blur. Emphasize the subject while blurring the background for an SLR-like shot with shallow depth-of-field (or bokeh). You can even change the subject in focus after taking the shot.

Improved Panorama. New higher resolution panoramas capture the full width and detail of a scene.

Photo Sphere. Immersive 360 degree photo spheres let you look up, down and all around...now at up to 50 megapixels! For the first time available on non-Nexus devices.

Google Camera is now available on the Play store (http://goo.gl/llsZjx), and works on all phones and tablets running Android 4.4+ KitKat. We’re just getting started, and in the months ahead we'll make Google Camera available to more devices, helping make photography easier, faster and more fun.

Check out our Research Blog to learn more (http://goo.gl/lUDfi8).
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
這兩周的撞牆時數遠遠超出預期
undocument的部分本來就習以為常了
最無奈的算是文件有更動的部分,官網只顯示最新的版本
但其實同一支 API 在舊版的作用是不一樣的
導致所有的架構和測試都要重寫.....
真的是個震撼教育,以後在用 API 之前還是最好把各版的 AOSP 都先翻完一遍比較好
 ·  Translate
1
吳長鋼's profile photoYu-Hsuan Lin's profile photo
4 comments
 
看看六月一起去 g0v 吧
 ·  Translate
Add a comment...
 
 
Android Wear Developer Preview Now Available

Today, we announced that Android is extending to wearables with #AndroidWear. So how do you get started developing for Android Wear? Well, you probably already have. With Android Wear, notifications from your Android phone are automatically sent to your wrist.

You can also now sign up for the Android Wear Developer Preview which lets you customize notifications for the wrist. The Preview provides new APIs for wrist-based wearables, such as receiving voice replies, adding notification pages and stacking multiple notifications. There’s also a system image for the Android emulator to let you test your notifications.

To learn more about Android Wear and the Developer Preview, check out the blog post (linked below) and these #DevBytes episodes:

DevBytes - Android Wear: Developer Preview http://goo.gl/fM0Qj4
DevBytes - Android Wear: Receiving Voice Replies http://goo.gl/ktqVo0

Also make sure to join the new Android Wear Developers community right here on Google+ to discuss your next wrist-based wearable project:

Android Wear Developers on Google+ http://g.co/androidweardev

#AndroidDev
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
蠻特別的衣架設計
差點以為有螺旋槳的效果......
 ·  Translate
1
Add a comment...

Yu-Hsuan Lin

Shared publicly  - 
 
 
A few months ago we introduced an experience on Nexus 5 that made it easier to access all the goodness of Google Now directly from the home screen. Today we’re making that same experience available to more devices when you install the Google Now Launcher on any Nexus or Google Play edition phone or tablet running KitKat.

Google Now Launcher gives you quick access to Google Now, while keeping your apps right where you want them. Just tap home and then swipe right to access Google Now cards that show you just the right information, at just the right time. And anytime you see the search box at the top of your screen, you can say “Ok Google” (if you’re in the US, UK, or Canada), or you can tap the microphone button to trigger voice input. From there, you can ask a question, or tell your phone what to do, like send a message, get directions, or play a song. If you'd rather type your query, tap the Google search box, which now loads faster than ever.

Google Now Launcher also gives you a beautiful, immersive, and simple experience. The full-screen, larger viewing area lets your wallpaper pop from every pixel. And of course you can place your favorite apps anywhere you like.

If you’ve got a Nexus or Google Play edition device with Android 4.4 KitKat, try Google Now Launcher today by getting it from the Google Play Store here:
https://play.google.com/store/apps/details?id=com.google.android.launcher
1
Add a comment...
Story
Tagline
Close-up card magician, also love new tech stuff.
Introduction


Education
  • National Taiwan University
    Engineering Science & Ocean Engineering, present
    Human-Computer Interaction, LCD-Camera Communication
  • National Taiwan University
    Engineering Science & Ocean Engineering, 2006 - 2010
  • The Affiliated Senior High School of National Taiwan Normal University (HSNU)
    2004 - 2006
Basic Information
Gender
Male
Other names
林宇軒
Links
Work
Occupation
Card Magician
Employment
  • iKala (愛卡拉互動媒體)
    Software Engineer, 2013 - present
    Android
  • 台大魔術社
    #152, 2007 - present
  • KalaVision Inc.
    Software Engineer, 2013 - 2013
    video surveillance cloud storage & h264 processing & Android app & holo UI
  • Card Magician, 2005 - 2013
  • OpenHCI
    Public Relation, 2012 - 2013
  • 台大智慧生活科技整合與創新研究中心(NTU Insight Center)
    Research Assistant, 2010 - 2011
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Taipei
Previously
Chaojhou - Tianwei
Contact Information
Work
Email
Apps with Google+ Sign-in
Yu-Hsuan Lin's +1's are the things they like, agree with, or want to recommend.
VLC for Android Beta
market.android.com

VLC media player is a free and open source cross-platform multimedia player that plays most multimedia files as well as discs, devices, and

Google Now Launcher
market.android.com

Upgrade the launcher on your device to make Google Now one swipe away. From your primary home screen, swipe right to access Google Now cards

超酷的直播電台LIVEhouse.in @ 萊行樂@銀河系 :: 痞客邦 PIXNET ::
jack3d168.pixnet.net

賀!今天要跟大家分享的,是一個很酷的直播電台,LIVEhouse.in 像最近一連好幾天的寒流下雨,晚上冷颼颼,又無聊又悶,怎麼辦哩? 這時候我們就可以收聽LIVEhouse.in的廣播啦~ L

Introducing our smart contact lens project
googleblog.blogspot.com

You've probably heard that diabetes is a huge and growing problem—affecting one in every 19 people on the planet. But you may not be familia

Google Play services
market.android.com

Google Play services is used to update Google apps and apps from Google Play. This component provides core functionality like authentication

Google Translate
market.android.com

Break through language barriers with Google Translate.• Translate between more than 70 languages • Converse naturally and let Google transla

LIVEhouse.in - 一起看 YouTube 聊天
market.android.com

LIVEhouse.in,揪團聊天看 YouTube,讓一起看影片,變成更有趣的一件事,Let's Go Live!好消息,LIVEhouse.in 推出 App 囉!出門在外,或者懶在沙發上,也能即時 follow 線上影音大小事,從此不必再錯過精采時刻。快開啟 App,立即跟

Media Tools – Google
www.google.com

Welcome to Google Media Tools. Consider this your starting point to tap into Google's suite of digital tools that can enhance newsgathering

Focal (Beta)
market.android.com

Focal is a fully featured camera app looking to provide the most features on the most phones possible, including device-specific features on

Free Internet Cam (Web of Cam)
market.android.com

What is video surveillance? Why do we need it? Does it cost a lot of money? "Web of Cam" allows you to monitor the people and things you car

Gradle, please
gradleplease.appspot.com

Gradle, please. dependencies { // Google Play Services compile 'com.google.android.gms:play-services:3.2.25' // Support Libraries compile 'c

Google Accounts
www.google.com

Google has more to offer when you sign in to your Google Account. Sign in on the right or create an account for free. Gmail. Chat with frien

Google Cast Android API Reference
developers.google.com

Home · Developer's Guide · Developer Setup · User Experience · Sender · Android & iOS Sender · Chrome Sender · Receiver · Supported Media ·

Official Blog: Public Alerts for Natural Disasters Now Available in Taiwan
blog.google.org

Starting today, relevant severe weather alerts for typhoons and flood related events in Taiwan will appear on the Google Public Alerts page

udn News
market.android.com

The news stories you’ve come to expect from udn.com are available for Android devices. udn.com’s Android application delivers the latest art

Great Crested Tern Picture -- Bird Photo -- National Geographic Photo of...
photography.nationalgeographic.com

See a photo of a great crested tern chick and download free wallpaper from National Geographic.

Second Floor Café
plus.google.com

Second Floor Café hasn't shared anything on this page with you.

libyuv
code.google.com

YUV scaling and conversion functionality

招牌的岩漿巧克力變成了沒什麼特色的黑森林.....
Public - 9 months ago
reviewed 9 months ago
松露菌菇天使麵超讚! 布郎尼也頗令人驚艷!
Public - 9 months ago
reviewed 9 months ago
Public - 11 months ago
reviewed 11 months ago
Food: Very goodDecor: Very goodService: Very good
Public - a year ago
reviewed a year ago
11 reviews
Map
Map
Map
菜色真的是非常多樣化,每次去都有不同的新花樣,而且都還蠻好吃的!
Food: ExcellentDecor: ExcellentService: Excellent
Public - 10 months ago
reviewed 10 months ago
原塊牛排很讚!沙拉也蠻多的。 不過假日客人很多,訂位時間到了還要等一陣子才會有位子
Public - a year ago
reviewed a year ago