Profile

Cover photo
Jens Knutson
Works at Code42
345 followers|267,700 views
AboutPostsPhotosVideos+1'sReviews

Stream

Jens Knutson

Shared publicly  - 
 
 
On the 17th of every month Google Play publishers are all like...

#pixelpushing
5
Jens Knutson's profile photoNick Bauman's profile photo
2 comments
 
As Koush commented on the original thread, "Ain't no celebration without milk!"

(the 17th is apparently Google Play payday)
Add a comment...

Jens Knutson

Shared publicly  - 
 
This record has been a great reminder that falling in love with an album isn't just another thing one must surrender with age and (relative) maturity. Wish I could have seen them in concert last year.

(Irony: the track Not In Love was playing as I typed this.)
1
nathan perrier's profile photo
 
Saw them at First Ave. Alice was on crutches :)
Add a comment...
 
No one brings down the Android fact-hammer like +Dianne Hackborn!

(Lots more good stuff in the comment thread on that post, too)
 
For several years now, mobile device manufacturers have been in a race to push the pixel density of mobile devices higher and higher. The race began with the iPhone 4 “Retina” display – an at the time impressive 330 pixels per inch (PPI) 960x480 3.5” display.

sigh  No, it did not.

Android started it on modern smart phones, with the original Droid that was 240dpi, and the platform itself introduced the robust multi-density support we have today a bit before that in 1.6, including full support for retina class and the ever increasing densities we see today.

But you know what?  It doesn't make sense to say that Android started this, either.  In fact Android from the start had core support for multiple display densities (through the dp units and such), but this happened because of previous experience at PalmSource where Palm devices had already experienced increases in display density, going from the original ~80dpi screen to high resolution 160dpi screens, and then trying to deal with 120dpi screens to be able to use then pervasive 240x320 panels.

The troubles of that last step -- trying to implement 1.5x scaling on a system where apps are using absolute layout of UI elements in pixel coordinates and the resulting strange rounding artifacts -- is a major element of what drove Android's original design.  To be able to do non-integral scalings well, Android relies on layout managers to do final placement of UI elements, which run at the native screen resolution.  The use of layout managers not only makes it a lot easier for applications to adjust to different screen sizes, but also allows scaling screen density by non-integral amounts without causing odd spacing between interface elements or having to use sub-pixel positioning of all elements and the resulting anti-aliasing artifacts.
1
Andrew Frink's profile photo
 
Now if only windows could understand multiple dpis on different screens. I guess that would have to start with windows really understanding multiple screens
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  
9
6
Michael Portuesi's profile photoLyubomir Ganev's profile photoJon Knutson's profile photoNick Bauman's profile photo
6 comments
 
And you're right, for "worker" fragments, many of those lifecycle steps are optional, and not all of the steps are tied to an Activity instance's lifecycle. Not sure how one could represent those differences cleanly, but you could try asking +Steve Pomeroy to put the Dia file on GitHub.
Add a comment...

Jens Knutson

Shared publicly  - 
 
Really fun, interesting episode of Android Developers Backstage, discussing Android system UI with +Dan Sandler.

Dan has a great talent for relaying insight on "why things are the way they are" from his perspective as one of the folks that helps shape the UX of Android. I'm really looking forward to the next time they bring him on the podcast.
 
Hey! Episode #6 of Android Developers Backstage is out! With +Dan Sandler, talking about System UI, notifications, logos and too many other things to write about here, much less remember off the top of my head!
Now, with more exclamation points!!!

http://androidbackstage.blogspot.com/2014/03/android-developers-backstage-episode-6.html

+Tor Norbye, too!
In this episode, we delve into the world of the Android System UI, including tangents on notifications new and old, status bar icons, implementing user experience designs, and Android logos. Click here to download the Podca...
1
Add a comment...
Have him in circles
345 people
Lee Engeswick's profile photo
Martha Josephson's profile photo
Patrick Flanagan's profile photo
Christian Hanson's profile photo
Michael Janssen's profile photo
 
 
Do you (or someone you know) want to learn #androiddev? I'm teaching a course in the twin cities.
1
Add a comment...

Jens Knutson

Shared publicly  - 
 
"In some languages, like Objective-C, however, NULL object pointers can be used without problems."

That's true, if by "without problems" you mean "without halting execution, permitting the program to continue under unexpected, uncontrolled conditions, resulting in god knows what kind of side effects."
3
Damon Allison's profile photoMatt Johnson's profile photo
2 comments
 
[there beDragons:bro];
Add a comment...

Jens Knutson

Shared publicly  - 
 
Dear LazyPlus,

I've been using a secure but awkward method for maintaining different passwords for all my online accounts, but after Heartbleed is making me change them all (😈), I've decided to give up and use something like 1Password or LastPass.

To anyone using a sync'd password manager:
1. what are you using?
2. what's good about it?
3. what sucks about it?
2
Matt Brauchler's profile photoEvan Sikorski's profile photoThomas Bohmbach, Jr.'s profile photoBill Strait's profile photo
9 comments
 
LastPass seems like the least horrible solution, so I'm going to give that a shot.  Thanks everyone!
Add a comment...

Jens Knutson

Shared publicly  - 
2
Jens Knutson's profile photoEvan Sikorski's profile photo
4 comments
 
I wouldn't say anything, but yeah, it buys you a hell of a lot of leeway, even when it shouldn't.
Add a comment...

Jens Knutson

Shared publicly  - 
 
 
Your move America.
8
1
Jillian Adamson's profile photoJack Utermoehl's profile photoVincent Poy's profile photoZachary Norman's profile photo
3 comments
Add a comment...
People
Have him in circles
345 people
Lee Engeswick's profile photo
Martha Josephson's profile photo
Patrick Flanagan's profile photo
Christian Hanson's profile photo
Michael Janssen's profile photo
Work
Occupation
Software Developer
Skills
Android development
Employment
  • Code42
    Software Engineer, 2010 - present
  • Target Corporation
Links
Contributor to
Story
Tagline
Android hacker by day, Pythonista by night; full-time perfectionist.
Introduction

Required* reading: http://www.merlinmann.com/better

* Well, not "required" obviously, but theoretically you're reading this to find out about me -- here's something that'll tell you a _lot_ about me, if you're paying a little attention.  Otherwise, why are you reading this?  Go do something you love!

Basic Information
Gender
Male
Looking for
Friends, Networking
Relationship
Single
Jens Knutson's +1's are the things they like, agree with, or want to recommend.
Bigwheel 14
www.jwz.org

Bring Your Own Bigwheel 14 Goofball events like Bring Your Own Bigwheel are what made me fall in love with San Francisco in the first place.

Possibly our finest drink special ever:
www.jwz.org

Blood and Body of Christ. Sangria with a Communion wafer.

How to setup unit testing in Android Studio
www.slideshare.net

Using Robolectric and jUnit with Android Studio and Gradle

Naïve
market.android.com

Having built up both their reputation and their increasing musical range over earlier releases, the members of KMFDM brought it all together

Nihil
market.android.com

KMFDM's seventh album, Nihil, finds the band sitting comfortably in the groove it started with 1990s Naïve. At this point, the German outfit

Distort Yourself
market.android.com

It should come as no great surprise that Institute, Gavin Rossdale's first band since breaking up Bush, sounds a whole lot like Bush. Rossda

Institute
market.android.com

Distort Yourself, Institute's September 2005 debut, marked Gavin Rossdale's return to rock, as he hadn't been heard from much since Bush's 2

Gradle, please
gradleplease.appspot.com

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

Empire Records
market.android.com

A comedy about an eventful day in the lives of the young slackers, doers and dreamers who work at a bustling record store. Stars Renee Zellw

Google Camera
market.android.com

Google Camera snaps quick and easy photos and videos, and has creative picture modes like Photo Sphere, Lens Blur and Panorama.Features • Ph

Wherein this is a very strange dojo.
www.dnalounge.com

Broke-Ass Stuart writes on The Bold Italic: DNA Pizza is a very strange place to get any work done. Loud, angsty music videos flash at you f

Samsung's real challenge: developing a sense of focus, taste, and restraint
blogs.computerworld.com

Samsung's Android devices may sell well, but commercial success and optimal user experience don't automatically go hand in hand.

Marvel's The Avengers
market.android.com

"Marvel makes cinematic history as it unites the Super Hero team of a lifetime. Iron Man (Robert Downey Jr.), Captain America (Chris Evans),

Neuromancer
market.android.com

The Matrix is a world within the world, a global consensus- hallucination, the representation of every byte of data in cyberspace . . . Cas

Conversation Piece | Reviews | WIRED
www.wired.com

The Black Ops 2 Professional Tactical Headset from iASUS is designed to work with your iPhone to make you the perfect merc, spy or paintball

Public - 6 months ago
reviewed 6 months ago
Good, but overpriced.
Public - 8 months ago
reviewed 8 months ago
Customer service is fine. Not great, but not awful like some other reviewers are claiming.
Public - 8 months ago
reviewed 8 months ago
29 reviews
Map
Map
Map
Full food menu until 2 AM, solid drinks, decent jukebox, and friendly, genuine wait staff. Love it.
Public - 8 months ago
reviewed 8 months ago
Great dive bar -- good and dark (at least parts of it), even in the daytime, just as it should be -- and possibly the best jukebox in the Twin Cities.
Food: GoodDecor: ExcellentService: Very good
Public - 10 months ago
reviewed 10 months ago