Live data from Hacker News

Show HN: I built an Android live wallpaper with Scala – now it's free

play.google.com

31–40 of 40 posts

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#31
post #26
post #24

Earlier quoted context omitted.

Why not? Might get more people using Scala for Android development.

It's code I've invested a lot of time in, but was never written with the idea that other people would see it, so 75% worried at how horrifying the code might be and 25% worried that someone might make a build and push a clone out with malware attached.

To allay your fears about the 75%: that's what code review is for. Lots of eyes make the problematic code go away. :)

I'd be more than happy to help de-spaghetti the code if it was available.

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#32
post #26
post #24

Earlier quoted context omitted.

Why not? Might get more people using Scala for Android development.

It's code I've invested a lot of time in, but was never written with the idea that other people would see it, so 75% worried at how horrifying the code might be and 25% worried that someone might make a build and push a clone out with malware attached.

For the 75%: It's still useful and will be appreciated, even if there might be mean people out there. Much better to see code than no code.

For the 25%: wouldn't they just decompile the current version?

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#33
post #14
post #13

Earlier quoted context omitted.

I've never found they affect my battery life noticeably but I don't spend much time staring at my home screen[1]. Maybe some people do but my home screen is for quick access to information and launching off point for other apps so it doesn't get all that much screen time (and the live wallpaper isn't just running in the background). 1. Ok, that's a lie. When that live wallpaper that has an AI Super Mario that plays n…

I admit to doing the same thing with the Super Mario live wallpaper, and with a Droid 1. It ruined my battery, but it was worth it. I remember being able to turn on some switch that'd get it to display the path it was taking through a level, which was really cool to me. I miss that live wallpaper — the Droid less so (even though it's sitting on my desk because it's the only thing I have running Android 2.x). Besides…

I believe that is the author who originally posted it in xda. Yup, here's the thread[1] and the market link has an ID that matches CCP creations

[1] http://forum.xda-developers.com/showthread.php?t=710647

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#34

I'm writing Android app as well, using Scala. Do you have sbt script and/or ProGuard config that you can share?

If you don't need the sbt build system for your project, it's pretty simple to get started. Here's my guide (and some code examples) for using just proguard + Intellij. Using sbt isn't difficult to set up either, though I consider it a bit overkill for smaller projects/scripting. https://github.com/yareally/android-scala-intellij-no-sbt-pl...

Hi man, I'm already using your tutorial. I would like to personally say this: Thank you!

I spent weeks trying to get sbt to play nice. I finally said, the hell with that, and I never been happier.

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#36
post #21
post #20

will the app truly not run on a galaxy nexus or is minSdk set too high?

I currently don't allow installation on the Galaxy Nexus because for some reason the live wallpaper has severe performance issues on Galaxy Nexus devices. I've never been able to figure out what the problem is, since it's obviously not hardware — older devices run it fine. My best guesses are that I'm doing something out of the ordinary in GL ES that I haven't noticed or that there are either driver issues (not neces…

Gah, first time I did android it was live wallpaper, client got me a samsung, which just happened to not come with live wallpaper functionality, what a faf !

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#37

Earlier quoted context omitted.

If you don't need the sbt build system for your project, it's pretty simple to get started. Here's my guide (and some code examples) for using just proguard + Intellij. Using sbt isn't difficult to set up either, though I consider it a bit overkill for smaller projects/scripting. https://github.com/yareally/android-scala-intellij-no-sbt-pl...

Hi man, I'm already using your tutorial. I would like to personally say this: Thank you! I spent weeks trying to get sbt to play nice. I finally said, the hell with that, and I never been happier.

Glad to hear it simplified things for you :)

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#38
post #26
post #24

Earlier quoted context omitted.

Why not? Might get more people using Scala for Android development.

It's code I've invested a lot of time in, but was never written with the idea that other people would see it, so 75% worried at how horrifying the code might be and 25% worried that someone might make a build and push a clone out with malware attached.

re 75%, don't be so bashful, that sounds like an opportunity to learn.

but I understand the 25% bit. It's a shame the android market is so hostile.

Re: Show HN: I built an Android live wallpaper with Scala – now it's free

#40
post #26

Earlier quoted context omitted.

It's code I've invested a lot of time in, but was never written with the idea that other people would see it, so 75% worried at how horrifying the code might be and 25% worried that someone might make a build and push a clone out with malware attached.

To allay your fears about the 75%: that's what code review is for. Lots of eyes make the problematic code go away. :) I'd be more than happy to help de-spaghetti the code if it was available.

Currently working on another patch to fix some newfound crashes while prepping the code for open sourcing. License headers and all that.

Plan for now is to release it under the GPL version 2 or 3 to hopefully compel people to make their modifications available (plus there's not much use for a lenient license here -- it's not a library, though some of the code could be moved to one later). This might take a day or so, so I expect this post to disappear into complete obscurity before I'm done. Might create a new HN submission for that just to let people know. At any rate, my net access is down so I have to write this on my phone, meaning any release is going to wait on my ISP to determine what's up and how to resolve the issue.

So, open source is planned, I'll just suck it up as I usually do when I release every other project of mine. Re: malware, I've decided it's not my responsibility to protect people from the malicious few. I'll let Google do that.

Post reply on HN