r/androiddev • • Nov 12 '17

The android developer starter pack

https://imgur.com/gallery/OFsMt
762 Upvotes

89 comments sorted by

332

u/JakeWharton Head of sales at Bob's Discount ActionBars Nov 12 '17

Jesse Wilson is the primary author of Dagger 1 and OkHttp. I contributed small bits to the latter and even smaller bits to the former. I would push you towards Dagger 2 nowadays which is maintained by the Java core libraries team at Google for which Greg Kick was the primary author and Ron Shapiro is the primary maintainer. Even Retrofit was created by Bob Lee. I've been the primary maintainer through 1.x and 2.x but he had the vision. And don't forget the tens of external contributors to each of these libraries without which they'd be buggy messes.

It can be easy and tempting to slap a single face on a project, but the reason these projects thrive is because of the contributors around them.

55

u/c0nnector Nov 12 '17

Personally i'm aware of these facts, it's just easier to put one face to it and somehow you're the primary person i've interacted with in the issues section.

Nonetheless, thank you and all the great developers that have contributed to the libraries we use every day.

17

u/dytigas Nov 13 '17

Wow what a true gent

8

u/[deleted] Nov 12 '17

It's similar to pop music: the singer doesn't write the songs but is the face that people see and associate them with.

Always great to see people giving credits to the main creators/contributors. Great post.

16

u/riteshakya037 Global Unicorn Nov 12 '17

You really are my role model. Cheers

4

u/Jethro82 Nov 13 '17

The wharthog himself...

7

u/foxh8er Nov 13 '17

Man wouldn't it be dope to work with Jake Wharton

too bad I can't do algorithms lmao haha sobs

0

u/ryuzaki49 Nov 12 '17

Huh. TIL, thanks!

147

u/[deleted] Nov 12 '17

Missing the daily new article describing a brand new architecture to solve all android problems and a search tab "speeding up build Android".

73

u/VasiliyZukanov Nov 12 '17

And a definitive answer to "should I start with Java or Kotlin?"

3

u/pjmlp Nov 12 '17

With NDK, and enjoy the integration issues. :)

1

u/little_z Nov 13 '17

I asked this question at the end-of-conference panel at Kotlin Conference..

Their answer was that there's benefits and drawbacks to both.

0

u/[deleted] Nov 12 '17

[deleted]

1

u/andrewharlan2 Nov 13 '17

Why is it gross? I love Java.

6

u/[deleted] Nov 12 '17

[removed] — view removed comment

2

u/[deleted] Nov 13 '17

Java of course, better future for you.

2

u/Duuudedotcom Nov 13 '17

Hows what? Kotlin is the master language, no?

1

u/joaquini Nov 13 '17

You'll get nulls management for free with Kotlin. Isn't that a life-changer?

79

u/shadowdude777 Nov 12 '17

Missing the "Gradle build" "progress bar" (which shows no actual indicator of progress).

34

u/well___duh Nov 12 '17

At least clicking on the stop button actually stops the build. Took Google till Android Studio 3.0 for that to be fixed.

12

u/Nilzor Nov 13 '17

Whaaaaat? I did not know! I will take the day off to celebrate this remarkable achievement in computer science!

8

u/drabred Nov 13 '17

Technology is finally there.

55

u/NewtAgain Nov 12 '17

I was diagnosed with chronic migraines shortly after getting a full time job as an android dev. This image pains me.

16

u/liuwenhao Nov 12 '17

Oh man, this hits home. I have been getting light sensitive migraines 1-2 times a week for the past few months now. Development is stressful as hell and staring at a screen for 12 hours a day doesn't help!

21

u/[deleted] Nov 12 '17

Use flux.

Get glasses that filter out blue light.

Use dark mode wherever possible.

Also, exercise.

8

u/f4thurz Nov 13 '17

Use flux

Windows 10 has built in night light in Action Center.

6

u/NewtAgain Nov 12 '17

I'm between jobs right now and my migraines have been so much better. I wouldn't get them that often more like one every other week or so and some bad weeks where I would have multiple, but I haven't had one in a month now. Looking for jobs is actually less stressful than having one (as long as your savings account is strong enough I guess).

11

u/Izacus Developer Nov 12 '17

Why are you staring in the screen for 12 (!) hours a day? Are you deliberately overworking yourself and damaging your health?

36

u/NewtAgain Nov 12 '17

I'm imagine like many of us, his hobbies and relaxation time also involves starring at a screen.

8

u/liuwenhao Nov 13 '17

This, plus we are in crunch time trying to hit a deadline for an app release so I've been putting on more hours than usual.

2

u/NewtAgain Nov 12 '17

I'm imagine like many of us, his hobbies and relaxation time also involves starring at a screen.

3

u/wapz Nov 13 '17

Someone else mentioned it. Use flux or glasses that filter out blue light. I'm guessing over half of migraine problems are fixed this way.

26

u/DevGary Nov 12 '17

Screw all software keyboard related code. It is such a pain in the ass. Showing/hiding it, detecting when it happens, the sometimes wonky auto adjusting when a keyboard shows, dealing with weird descendant focus issues, etc, etc.

26

u/Atraac Noone important Nov 12 '17

I still don't understand why in 2017 we still don't have a simple way of showing/hiding keyboard and a listener for it. This is a feature so basic that lack of it is pathetic.

-19

u/VasiliyZukanov Nov 12 '17

Maybe the fact that we have Arch Components and Kotlin has something to do with it...

1

u/ArmoredPancake Nov 13 '17

Wait until you have to create one.

55

u/dytigas Nov 12 '17

Jake wharton is the face of Android dev. His contributions save me development time by ten fold.

26

u/N1ghtshade3 Nov 12 '17

And CommonsWare the king of StackOverflow.

3

u/puppiadog Nov 13 '17

His replies come off as condescending and patronizing, to me.

7

u/Zhuinden Nov 13 '17

If you were answering often-silly questions for 6 years that you can easily tell that you've answered before but aren't entirely sure where that question is so you can't just immediately mark it as a duplicate, you'd also get grumpy over time :D

13

u/AndroidThemes Nov 12 '17

I feel kind of strange to recognize is face... I am not even a developer but spend too much time reading this subreddit :o

19

u/[deleted] Nov 12 '17

The meme is real. At KotlinConf a QA panel member from Google just introduced himself as "Jake Wharton's manager" and at DroidCon there was a photo booth where they superimposed Jake into the picture.

3

u/[deleted] Nov 13 '17

Please tell me there is evidence of this!

3

u/[deleted] Nov 13 '17

https://mobile.twitter.com/kindphotobot

For the manager introduction you'll have to find the recording of the kotlin conference closing q and a panel

2

u/phileo99 Nov 13 '17

is /u/JakeWharton getting any royalties from that deal?

13

u/andyytan Nov 12 '17

This hits me hard

9

u/cheunste Nov 12 '17

As a new dev...I don't get the bottom right. Will some of the stuff I run into in the future be so overly complex and confusing that I need a migraine medicine or what?

7

u/pjmlp Nov 12 '17

Yes, stay away from NDK if you want to keep sanity.

3

u/baggyrabbit Nov 13 '17

The JNI syntax without an IDE was brutal.

3

u/puppiadog Nov 13 '17

Different screen size and resolutions means multiple files of the sam3 code to handle each situation plus testing the same functionality over and over in different emulators and devices.

Also, for me their XML-based UI can be very frustrating.

0

u/[deleted] Nov 12 '17

[deleted]

3

u/cheunste Nov 12 '17

Avoid the camera at all costs.

Is there a particular reason why?

12

u/[deleted] Nov 12 '17

Manufacturers implement it differently. A common bug is displaying a bitmap without using exif rotation data so the image is sideways.

On older Samsungs the camera was a huge MegaPixel size but the app didn't have much allocated memory. If your app does image manipulation you had to compress it when loading it from the harddrive. Loading a full size image to memory and trying to manipulate would just crash the phone.

Currently im trying to handle gallery intent requests robustly, but the apps that can handle gallery intent requests return results so differently. Some don't even have the image yet, they just return a file that is getting an image downloaded to.

2

u/Pavle93 Nov 13 '17

Orientation sensors.

2

u/squeeish Nov 13 '17

The Nexus 5X

0

u/[deleted] Nov 12 '17

[deleted]

13

u/Atraac Noone important Nov 12 '17

I'd genuinely say, make your own camera or use CameraKit/CameraView, anything really. Camera apps are so absolutely shit on Android you'll never get a proper result. Some camera apps return you the URI, some return the thumbnail, some try to return full bitmap. In theory all should save a file properly if you give them URI to save to. But Samsung doesn't give a shit and some particular models with particular OS versions won't even save a file for you. Exif data being whole different story.

5

u/w3bshark @w3bshark Nov 13 '17

After using the intent for capturing pictures within the past few weeks, I would say don't use it.

You don't get any info about the rotation of the image on many devices and you can't infer the rotation like you can if you have an instance of Camera.

There is no good way of knowing if you need to display the image rotated 90 vs. 270 vs. whatever with the capture intent.

0

u/[deleted] Nov 13 '17

[deleted]

3

u/cheunste Nov 13 '17

Wait...they seriously named an API "Camera2"? Are you serious?

0

u/[deleted] Nov 13 '17

[deleted]

1

u/cheunste Nov 13 '17

My god...

34

u/iknowlessthanjonsnow Nov 12 '17

Aren't the memes supposed to be satirical or at least funny?

42

u/jiminiminimini Nov 13 '17

Cries in Kotlin

13

u/Odinuts Nov 12 '17

It's amazing how much Jake has done for the community. Much love and respect.

10

u/CharaNalaar Nov 12 '17

Where kotlun

23

u/[deleted] Nov 12 '17

Near Jeva

5

u/HansVader Nov 12 '17

Since Jake is at Google now you can add Kotlin to the starter pack soon too.

4

u/TheJesbus Full-stack developer Nov 12 '17

Hahaha, those two stackoverflow questions, so true :-)

3

u/BadPaddingException Nov 13 '17

Missing the new "CLEAN ARCHITECTURE EXAMPLE" popping up every other day.

2

u/pjmlp Nov 12 '17

Missing the build system, debugging pain and JNI pleasure of daring to use NDK.

2

u/phileo99 Nov 13 '17

Shouldn't /r/androiddev be part of the starter pack?

2

u/[deleted] Nov 13 '17

Why is this an album?

2

u/Professor_Dr_Dr Nov 13 '17

Needs more jpeg

4

u/myturn19 Nov 12 '17

Where's the Adderall?

3

u/AllSuitedUpJR Nov 12 '17

ha. ha. this is so true.

And modafinil

1

u/[deleted] Nov 12 '17 edited Nov 12 '17

You guys keep on scaring me with this mental stress stuff.. makes me want to complete the last 10% on Java Enterprise and search jobs for that.

1

u/moca__ Nov 12 '17

Forgot one thing. Folder with open sourced projects

1

u/slai47 HALF Nov 13 '17

I don't use dagger so I'm good!!

2

u/Zhuinden Nov 14 '17

Or just worse off without realizing it :D

1

u/slai47 HALF Nov 14 '17

There have only been few moments in the many apps I've built where Dagger would of been nice. I see why certain people use it. Just never sat down to learn it completely to use it in my apps. Also I've had to do a lot of all custom apps, which prevented me from using libraries.

1

u/Zhuinden Nov 14 '17

I use it because throwing @Inject and @Singleton on my classes is like throwing @Autowired and @Component on them in Spring, which is super-convenient.

1

u/slai47 HALF Nov 14 '17

That is super-convenient

1

u/Sinfonianartist Nov 13 '17

You forgot about "Installing ADB Drivers" and "3rd Party Samsung Drivers"

1

u/markyosullivan Android Developer @ Shot Scope Nov 12 '17

You missed the "Should I use Eclipse or Android Studio?" question

20

u/N1ghtshade3 Nov 12 '17

People still ask that in 2017?

0

u/markyosullivan Android Developer @ Shot Scope Nov 12 '17

I've seen it asked in chat rooms yes

-23

u/[deleted] Nov 12 '17

No need for Retrofit with Volley now.

11

u/dokuroku Nov 12 '17

Do people still use Volley? I mean, I do, but only because I built on top of it after I/O 2012 said it was the best thing since sliced bread.

6

u/shadowdude777 Nov 12 '17

What year is it?

0

u/[deleted] Nov 13 '17

[deleted]

-1

u/[deleted] Nov 13 '17

I don't get the hate for it.

0

u/[deleted] Nov 13 '17

[deleted]

-1

u/[deleted] Nov 13 '17

The downvotes I received for suggesting it?

0

u/[deleted] Nov 12 '17

[deleted]

1

u/d_rekt Nov 13 '17

But how do you do it?!