tech.leolink.net
LeoLink®: ImageView.setImageBitmap and other ImageView's set image methods
http://tech.leolink.net/2014/07/imageviewsetimagebitmap-and-other.html
ImageView.setImageBitmap and other ImageView's set image methods. Have you ever stumbled in a case that you use ImageView.setImageResource. Rdrawable.your image) and your image is displayed totally fine in all devices, then you want to make your ImageView more dynamic by put your image into a server, then use something (like Volley, UniversalImageLoader.) to load the image as a Bitmap, then use ImageView.setImageBitmap. Your bitmap) to display your image but it's displayed fine in all devices anymore?
tech.leolink.net
LeoLink®: Java Enum's mystery
http://tech.leolink.net/2015/04/java-enums-mystery.html
Today, I accidentally took a look at toMillis(long d). Method of Java's TimeUnit. Https:/ android.googlesource.com/platform/libcore/ /refs/heads/master/luni/src/main/java/java/util/concurrent/TimeUnit.java. And I was like: "such class, very confusing, much questions, wow" lol. Why this class has toMillis(long d). Method, and its enum elements have that method as well? Why this class's toMillis(long d). Has only this line in its implementation? Throw new AbstractMethodError();. Will be called but it doesn...
tech.leolink.net
LeoLink®: April 2015
http://tech.leolink.net/2015_04_01_archive.html
Today, I accidentally took a look at toMillis(long d). Method of Java's TimeUnit. Https:/ android.googlesource.com/platform/libcore/ /refs/heads/master/luni/src/main/java/java/util/concurrent/TimeUnit.java. And I was like: "such class, very confusing, much questions, wow" lol. Why this class has toMillis(long d). Method, and its enum elements have that method as well? Why this class's toMillis(long d). Has only this line in its implementation? Throw new AbstractMethodError();. Will be called but it doesn...
tech.leolink.net
LeoLink®: June 2015
http://tech.leolink.net/2015_06_01_archive.html
Notes on Wearable development. Is persistent but doesn't work like database. When you send 2 DataItem objects to a same node via same Uri, the second one will replace the first one instead of update field by field. I thought it would work like update. Statement of database ;(. If you send multiple DataItem to wearable while it's out of your handheld's range, the DataApi.DataListener. You register on wearable side will only get called ONCE for the last DataItem you sent. Posted by Leo Link.
tech.leolink.net
LeoLink®: February 2014
http://tech.leolink.net/2014_02_01_archive.html
Alternative to Intent.FLAG ACTIVITY CLEAR TASK. I want to use Intent.FLAG ACTIVITY CLEAR TASK. To start my app from a notification on Android's status bar like it's restarted, but as you may know, Intent.FLAG ACTIVITY CLEAR TASK. Requires Android API 11, so I found an alternative for it. Basically, just replace:. Intent.setFlags(Intent.FLAG ACTIVITY CLEAR TASK); PendingIntent contentIntent = PendingIntent.getActivity(this, REQUEST CODE, intent, PendingIntent.FLAG UPDATE CURRENT);. Posted by Leo Link.
tech.leolink.net
LeoLink®: A custom TextView that can shrink its text size to fit in a single line
http://tech.leolink.net/2014/06/a-custom-textview-that-can-shrink-its.html
A custom TextView that can shrink its text size to fit in a single line. Posted by Leo Link. Subscribe to: Post Comments (Atom). View my complete profile. A custom TextView that can shrink its text size to. 9GAG - TVs iPhone app like animation on Android.
blog.leolink.net
LeoLink® - The Way I Are — Feel free to ask me if you have any questions :)
http://blog.leolink.net/ask
LeoLink - The Way I Are. Feel free to ask me if you have any questions :). Comments powered by Disqus. Xx - xx - 199x. Ha Noi - Viet Nam. Leave Me A Question.
blog.leolink.net
LeoLink® - The Way I Are — –♫♪♪—♫—♪♫——-♫——–♪——- —–♫♪–♫—-♫-♪♪——-♪—–♪♫—–...
http://blog.leolink.net/post/20963203875
LeoLink - The Way I Are. Ndash;♫♪♪—♫—♪♫——-♫——–♪——-. Mdash;–♫♪–♫—-♫-♪♪——-♪—–♪♫—–. Mdash;—————-♫—–♪♫————-. Posted on Thursday, April 12, 2012. Comments powered by Disqus. Xx - xx - 199x. Ha Noi - Viet Nam. Leave Me A Question.
tech.leolink.net
LeoLink®: Notes on Wearable development
http://tech.leolink.net/2015/06/notes-on-wearable-development.html
Notes on Wearable development. Is persistent but doesn't work like database. When you send 2 DataItem objects to a same node via same Uri, the second one will replace the first one instead of update field by field. I thought it would work like update. Statement of database ;(. If you send multiple DataItem to wearable while it's out of your handheld's range, the DataApi.DataListener. You register on wearable side will only get called ONCE for the last DataItem you sent. Posted by Leo Link.
SOCIAL ENGAGEMENT