r/androiddev • • Jan 18 '19

My first real android app, a Binary Clock. Simple but I'm proud.

Post image
309 Upvotes

44 comments sorted by

8

u/mattsminor Jan 18 '19

I enjoy embedded systems and one popular simple project is to make LED's into a binary clock. So I tried to do the same with android, I've never done mobile development before.

2

u/Arclite83 Bloodhound Studios Jan 19 '19

a useful practical deep dive I used when I first got started with Android was a podcast app. You have to handle doing things in the background, handling the audio stream, reading and parsing atom feeds, downloading saved podcasts... It's a lot of moving pieces and can get unwieldy but you will learn a lot of the practical pieces of Android app lifecycle.

3

u/pikapika2501 Jan 19 '19

What's that keyboard?

3

u/mattsminor Jan 19 '19

It’s the thinkPad USB keyboard. I highly recommend it!

2

u/[deleted] Jan 19 '19

What does binary clock mean ? What's the difference between it and the normal clock ?

1

u/mattsminor Jan 19 '19

The only difference is how it’s read. The Y axis has three or four rows starting from the bottom these will be 1, 2, 4, and 8. Then along the X axis you will have 6 columns these are commonly labeled as HH:MM:SS

3

u/afasfafasa Jan 19 '19

It's binary

5

u/slowz3r Jan 18 '19

/r/thinkpad would love your keyboard.

3

u/mattsminor Jan 18 '19

Was about to post it there today! I just got it yesterday and LOVE it. I also need to post my thinkPad13 there

27

u/AndyOB Jan 18 '19

the hardest part is getting started. pretty soon you'll start writing code as easily as texting with friends or commenting on reddit.

4

u/gollyzila Jan 19 '19

ThinkPad!

7

u/gamedev-eo Jan 18 '19

Who else read that as 'binary cock'?

I need to get more sleep.

Well done btw.

Some people don't recommend them, but I like cookbook style books that give you usable code for different situations that you can adapt for your personal use cases.

Stackoverflow is obviously a gold mine also.

10

u/Hi_im_G00fY Jan 18 '19 edited Jan 18 '19

Congrats on your app.

BUT this subreddit should be about sharing information, knowledge and relevant news about Android development (thats also what the rules define). So I don't really get why people upvote threads like this, where the owner just uploads a picture of his personal project.

Imo thats stuff you can post on your Twitter or other social media plattform because its not relevant or has any value (without code) for other people who are interested in this. He could write a short blog post about his work and post that instead and all would be fine!

Imagine every junior developer starts opening threads like that. Would be sad if this subreddit turns into an entertainment sub, where people just post memes or screenshots of stuff.

No offense against the OP, just my opinion about the way threads get upvotes in this sub.

1

u/zoojoo Jan 19 '19

my counter point to your post is that this is a community dedicated to android development. Getting your first app up and running is a big milestone and I welcome seeing it here. Also as you can see, someone already noticed a bug that OP is going to work through. No matter what situation, I usually like to see more discussions, instead of less. one of the things a community like us can do is to push each other and motivate each other to do better and to do more.

I may have misread the rules but It doesn't look like the rules say anything specific about posts like this. I personally welcome things like this.

4

u/jesperqvarfordt Android Engineer Jan 18 '19

It looks great! Good job :)

2

u/potata Jan 18 '19

Well done!

2

u/DropEng Jan 18 '19

Awesome

2

u/JaggedNail Jan 19 '19

Good job!

2

u/jabela Jan 19 '19

Well done!

2

u/kachary Jan 19 '19

You've got the mug though, that's like 50% programmer right there.

2

u/Issoouu Jan 18 '19

Nice mug tho

1

u/[deleted] Jan 18 '19

You photographed your mug because you're very proud of it, well, it's not that funny

4

u/cng27 Jan 18 '19

Yes it is

2

u/[deleted] Jan 18 '19

let's agree to disagree

1

u/Butt_Period Jan 18 '19

You have personal problems that you need to get sorted out. I wish you the best.

2

u/[deleted] Jan 18 '19

Because I don't like a mug

6

u/Butt_Period Jan 18 '19

No, because you felt it was necessary to make a negative comment about it. If the mug makes them happy, and it doesn't hurt you or anyone else, just let them enjoy it. Work on making your own life better, that's where your efforts need to go.

1

u/[deleted] Jan 18 '19 edited Jan 18 '19

:) any smilers here? :) smile smile smile :)

Edit.

First of all, this post doesn't fit this sub

Second, the program isn't working correctly

Third, he's more interested in showing off his pretentious mug than his school project anyway

Fourth, there's nothing wrong with me saying his mug isn't funny

Fifth, don't go around telling people what they need to get sorted out based on mug psychology.

0

u/[deleted] Jan 19 '19

[deleted]

1

u/[deleted] Jan 19 '19

On it!

Next step, frame it in any picture I take of any laptop

0

u/[deleted] Jan 18 '19

[deleted]

69

u/mattsminor Jan 18 '19

That! Is a fantastic question that I don’t have the answer to... I’ll look into it.

27

u/webby_mc_webberson Jan 19 '19

Log as a bug and deploy to production anyway

15

u/apeinej Jan 18 '19

Nerd. I can barely read my watch with hands, and you get to read a binary. Oh, the envy...

23

u/paulpv Jan 18 '19

There are 10 types of people in this world. Those that can read binary, and those that cannot.

11

u/apeinej Jan 18 '19

Old joke. Good as ever.

6

u/sldyvf Jan 18 '19

And those who didn't realise the joke was in base 3

1

u/GavinGT Developer Jan 19 '19

But then who's the third type of person?

5

u/DarthEru Jan 19 '19

This comment inspired me to actually figure out how it was formatted. It took me forever to realize that it's displaying each decimal digit as a separate binary number, as opposed to taking the whole hours/minutes/seconds numbers and showing them as binary. Which is obviously easier to read since you only have to translate up to 4 bits at a time, but it feels like a weird mix.

0

u/[deleted] Jan 18 '19

[deleted]

2

u/apeinej Jan 18 '19

But a story always help. Maybe he took years. Or got messed up with the code.

0

u/[deleted] Jan 18 '19

[deleted]

2

u/Hi_im_G00fY Jan 18 '19 edited Jan 18 '19

Ofc I get his intention. He is proud of his work and want some positiv feedback.

BUT this subreddit is about sharing information, knowledge and relevant news about Android development (thats also what the rules define, see rule 3). So I don't get why people upvote threads like this, where the owner just uploads a picture of his personal project.

Imo thats stuff you can post on your Twitter or other social media plattform because its not relevant or has any value (without code) for other people who are interested in this. He could write a short blog post about his work and post that instead and all would be fine!

Imagine every junior developer starts opening threads like that. Would be sad if this subreddit turns into an entertainmant sub, where people just post memes or screenshots of stuff.

0

u/[deleted] Jan 18 '19

[deleted]

1

u/Hi_im_G00fY Jan 18 '19

I created a new comment based on my initial thoughts. ;)