yashsingh1/xdaforums huggingface dataset:
[Android Software Development] DanWilson:
DOWANT!

Dude. The second you finish this, I'm either downloading it or pirating it. :p

Seriously. I'm loving the look of this. Can't wait at all.
[Android Software Development] alvaradorocks:
Thanks for the great post. This motivates me to keep studying java and get to android quickly.

Also, does anyone know any other source of study material, thenewboston.com seems to have been down for a little bit now...
[Android Software Development] Sn0opy:
Maybe I skipped that, but will this be completely open source when it's done?
[Android Software Development] Metastable:
Lol, well there will be no need to pirate was I will be open sourcing and putting it up on the market for a small price. So if your feeling generous you can buy it or just compile it yourself if you aren't.

I mainly use the Android SDK site and if I have any questions I go over to StackOverFlow to see if anyone has already asked the question. If that fails I go to good ol' Google to help me out. Keep it up and you'll be coding in no time.

Yes, I will open source it once I have it on the market.
[Android Software Development] DanWilson:
Well, hopefully you take long enough to do this so I find some way to actually buy apps from the Market. I've nothing in PayPal and no way to put any in. I'm a pirate at heart, but I can actually see the work (or some of it) that you've put in here.

Unless I 'acquire' a friends PayPal...

(I ain't no thief, I just abuse MacaronyMax a lot XD)

Soldier on my friend, I'd say this is a great project.
[Android Software Development] Metastable:
Hey no worries, I completely understand. If you can't you can't, but you can still enjoy it either way =].

MiniUpdate:

Redid the Mau5Head. I think it looks a bit better than before and way more proportionate to the rest of the scene. You can see I have one of the animations DeadMau5 uses working on the head. The colors on the cube and tubes now randomize to give it more variance.
[Android Software Development] PGleo86:
This is pretty awesome. Can't wait for release!

Sent from my Droid Incredible Running CM7
[Android Software Development] Metastable:
Initial Release!

Alright, I think I have it in a condition well enough for first release. There are still a few visual bugs that need to be taken care. This release is more of a, does it work on anyone's phone besides mine. I'm about to head to class so I will post a proper write up of some details that went into it after.

I hope you all enjoy this beta release. Check the attachments.
[Android Software Development] exb0:
works fine here

Sent from my own custom Rom for sensation. 200mb free :3
[Android Software Development] Metastable:
Thanks for the response.

-------------------------------

Okay, so I finally managed to release a beta version of the wallpaper! Each part of the scene, LED Mau5Head, VersaTubes, and Cube have 3 different visuals at the moment. I plan on adding as many as I can think of.

For those interested in some details about how I created some of the visuals, etc. may continue reading on, those who aren't can stop here =].

If you recall in my previous post, each object is mapped to a bitmap of a given size. For the cube it is 119x113, and it will take what ever is on said bitmap and display it onto the cube. So to create the lines converging into the center or the little deadmau5 head moving around, you simply create an animation in photoshop or some other image editing software that allows you to export the animation as a series of PNGs.

Once you have your PNGs created and placed into your project you create an XML file and add an array. Note that this is a non specific array, unlike integer-array, or string-array. Android does not have a drawable-array, hence the need for this non specialized array. Here is what your array will look like :

<array name="converge_cube">
<item>@drawable/converge_cube00</item>
<item>@drawable/converge_cube01</item>
<item>@drawable/converge_cube02</item>
<item>@drawable/converge_cube03</item>
<item>@drawable/converge_cube04</item>
<item>@drawable/converge_cube05</item>
<item>@drawable/converge_cube06</item>
<item>@drawable/converge_cube07</item>
</array>

Once you have your array set to go you must remember that you cannot directly use a drawable in your canvas. You must first convert your drawable back to a bitmap for use, like so:

TypedArray array = res.obtainTypedArray(R.array.converge_cube);
frames = new Bitmap[array.length()];
for(int i = 0; i < array.length(); i++)
frames[i] = ((BitmapDrawable)array.getDrawable(i)).getBitmap();

As you can see there's a little bit of extra work to grab the array of drawables from the array you put in your xml. You must typecast the object you are grabbing, in this case a BitmapDrawable. You can also see that I am placing my bitmaps into a Bitmap[] for easy recall. Then the actual drawing is easy:

c.drawBitmap(frames[frameIndex], 0, 0, paint);
frameIndex++;
if (frameIndex > frames.length - 1)
frameIndex = 0;

And that's how I go about creating some of the animations that are displayed. Not all of them are simply bitmaps displayed and colorized. Some are drawn on the fly like the original spinning lines that come out from the center of the cube. Final release will come out soon. More animations, no more invisible buttons to move around the scene, and hopefully ridding of the visual bugs.
[Android Software Development] Smokeey:
Using MIUI on my DINC1, lagging like crazy when I set it. The visuals are AWESOME though.
[Android Software Development] HJ200:
Hi there,

I've tried the LWP on my HTC Evo 3D and HTC Flyer. I looks pretty cool, but on my Flyer there seems to be a problem with the resolution. The cube is centered, but some effects are far more to the left and not all effects on the mau5head are scaled. I've included two screenshots.

I've got another question: are the animations random or are they actually synced with the music I'm playing? It seems random...

It might also be a nice idea to create a colored circle gradient background, just like in the pictures in post #1. The LWP is a bit too dark right now.

Anyway, good luck with the development, love to follow the process!
[Android Software Development] Billabong81:
Working great on my Incredible S! Great work! Can't wait to see further developments :D.

I'll report on how it effects battery life in a few days :)
[Android Software Development] exb0:
Oh I forgot to mention, when the red mau head is spazzing, there's a red tint around its area.
[Android Software Development] Metastable:
Droid incredible? Do you happen to know the specs of the phone? is it overall phone lag or is the wallpaper lagging only?

That's very strange. It seems like the scale of the LEDs are Tio small but that's not the case. Enroll see if I can find a solution. The animations are not all synced in this release. The tubes in back are fully synced. The lines coming from the center in the cube are synced along with the red mau5 head animation. As for being too dark, I do want to add some spot lights which should brighten it up a bit.

It's going to murder it lol.

Could you post a screen shot?

Thanks for all the responses guys/girls (?).
[Android Software Development] exb0:
Wait I'm sorry. The red outline is the mau stage thingie. My bad

Sent from my sensational sensation.
[Android Software Development] drknezz:
Hmm.. doesn't seem to work at all on my Galaxy S running Simply Honey 4.0..

When selecting the live wallpaper it briefly flashes for about half a second of a random visual effect then nothing. Tried Poweramp, stock player, MIUI music player. Nothing seems to want to trigger it to work at all.

Such a shame, looked really decent =( Hoping for a fix soon.
[Android Software Development] B. East:
works fine on the dhd on stock rom. impressive work, like it a lot. Keep up the good work.
[Android Software Development] bakewelluk:
Sadly the same thing happens on my Galaxy S II, though I know the graphics drivers are supposed to be pretty strict on this phone. Keep up the good work though, the very brief flash is enough to show how awesome your work is :)
[Android Software Development] Metastable:
Okay, no worries. Glad that it works fine for you =].

Do you know how to check logcat? If so could you check if it is logging an error? The tag should be under "DeadMau5".

Glad it's working for you and thanks =].

Same as with drknezz, could you provide logcat info? I'm curious to see if it is throwing an error, which it most likely is. I have it setup so that it wont force close but freeze onto the last state.
[Android Software Development] jdbeitz:
Can't get it to run at all :(

Samsung infuse 2.3.2

Keep up the work :)
[Android Software Development] Smokeey:
Specs of the dinc1:

1Ghz core

512Mb RAM

480x800 amoled screen

My dinc is currently clicked st 1.2ghz though. I think the problem is with go launcher because its only the home screen lagging
[Android Software Development] Metastable:
Any reason why? Does it not install? Does it give an error?

Ok, you should have no problem running the wallpaper with those specs. I'll try adding a frame rate limiter option in the next release and see if that helps any.
[Android Software Development] clown_luv:
Same here get a flash then nothing really interested in this. Infuse running linixbozo cm7 port. I don't have a CPU so sorry can't logcat for you :(. Great work can't wait for it to work on my device ;)
[Android Software Development] Metastable:
Beta v0.9.1

TL;DR: Okay, here's the next beta release. I've added a few more animations* as well as changing a couple of the ones in the first release, either to better go with the music or improve looks. This release does not have any options yet, such as changing the frame rate. It should fix the scaling issue on screens which are considered Medium and Low DPI**.

If possible, please provide logcat with any errors, such as the wallpaper freezing up.

Details-----------

*Animations Added

Triangle Cube

The triangles diverge in different colors and glow to the music.

Cylon Mau5/Laser Cube

He's a Cylon with his scanning eye. Also the Laser cube now takes up the whole cube all the time and glows to the music, rather than increase radius.

Talking Mau5

I changed the color to white, I think it looks a bit better.

*Scaling Issue Fixed

I knew that Android did some pre-scaling of bitmaps to better suite screen sizes. I had originally placed all of the PNGs into the drawable-hdpi folder thinking that Android would simply use those images and do no scaling. Apparently it does regardless of whether you are displaying said images onscreen. The solution around this is to place any images that you do not want pre-scaled by Android into a drawable-nodpi folder you create.
[Android Software Development] bakewelluk:
The updates look great man, I definitely hope you manage to get it working on the SGS2 :) I'll try to provide a logcat for you a bit later today, been a bit busy the past few days so haven't had a chance.

I've never really looked into logcat before, so I'll do my best to find the relevant bits that are useful - I downloaded 'log this' which some people seem to think is easier for amateurs like me to create logs. If you have any tips for which bits to send you then just let me know, either way I'll try to sort that later today :)
[Android Software Development] Metastable:
I have logging under the tag "DeadMau5" but I would also need any error logs under the tag "System.err". If there is a force close I believe it's under a completely different tag, but I don't remember what it was at the moment. If you get around to it, logs would be greatly helpful in solving the issue.
[Android Software Development] jdbeitz:
It installs fine, but gives me just a brief flash then disappears.
[Android Software Development] swift2989:
It loads up on my EVO but I'm having 2 problems. First it lags my screen up significantly but its livable at the moment. Second is that it pulsating without music playing (I don't know if u have it setup that way for now). Overall great work, I'm excited to see how far this goes. On a side note and I don't mean to sound like an @$$ but I think that the head on top of the cube need to have the ears a little bit more circular, but that is just my .02
[Android Software Development] Metastable:
If you could provide some logcat data that would be great, otherwise I might never be able to reproduce the error.

It does visualize without music playing. It's just predetermined data that I have put in so that it doesn't just sit there with blank elements. No worries, I agree that the ears need to be a little more round. I will get around to it, it's simply a PITA right now and I'd rather spend the time on other elements.

I'm going to add some FPS logging so that people can see what kind of frame rate they are getting. Both the visual and rendering frame rates as they are separate.
[Android Software Development] swift2989:
Just keep up the good work bro
[Android Software Development] ChrisB:
Its soo cool that you are doing his setup. Im a visual designer myself, and I just love it.

But it dosent do anything at all my LGo3D

Maybe a glims here and there. Anything I can do?
[Android Software Development] Metastable:
Could you provide logcats? Its it displaying static images? Thanks, by the way.
[Android Software Development] jdbeitz:
Sorry, How can I find that?
[Android Software Development] AproSamurai:
I'm running a Samsung Epic 4G, also a Galaxy S Device.

I would post my logcat on site but it exceeds the length limit. But you can download it off my dropbox. Hope I'm of some help.

Contains the logs for DeadMau5:

http://db.tt/cLKzSUd

And this one contains the logs for System.err:

http://db.tt/WXDEgTZ

They're both zipped, dropbox wouldn't let me do it otherwise from my phone.

Sent from my Epic 4G
[Android Software Development] Smokeey:
deadmau5 at Hollywood Palladium tomorrow! w00t
[Android Software Development] Metastable:
There are a few apps on the market that allow you to get Logcat data.

Thanks, but what was your issue? I can't see anything erroneous except a lot of buffering, which could be from the wallpaper being unloaded and reloaded. Was it crashing on you? I'm not sure how you grabbed the logs, but you could also use PasteBin to host the logs.

Get some front row footage of his new setup for me =]
[Android Software Development] Billabong81:
Well the wallpaper is running perfectly on my HTC incredible s. No noticeable lag or hold ups. Even battery life has not been too significantly effected! Well done!
[Android Software Development] AproSamurai:
I used alogcat from the Market. But it starts for a split second and flickers out, and remains black. No FCs but it wouldn't start up.

Also I'll try pastebin now, thanks.

Sent from my Epic 4G
[Android Software Development] Metastable:
Thanks, I'm glad it's working well for you =]

Remains black, as in a complete black screen or the objects remain black in color? Sorry if this seems like a simply question but it does make a big difference in resolving the issue. If you can get me a complete log, as in not worrying about tags it will help.
[Android Software Development] exb0:
Looks good, the rotation is really smooth, I dig that. Only thing is I don't see any difference when playing music. Maybe its because I'm using sense?
[Android Software Development] Metastable:
Re-download the APK and try it again. I double checked and I left AudioVisual running at 1 FPS because I was taking screenshots and forgot to change it back to 30. There will be a difference in the speed the visuals run at. As for the music, it should run with the music. Most notably with the laser visual (radiating lines from the center) or the converging cube visual.
[Android Software Development] exb0:
Before Music :

Animation plays, lights in the middle glows

During music :

Animation plays, color changes faster, lights in middle glows and blinks faster

Directly after music :

Animation stops, color stops, lights in middle goes away

About 1 second after music stopps :

Animation plays, lights in middle glows.

That's what happening with me. Nothing happens when I use sense Music so I used LauncherPro + UberMusic instead.
[Android Software Development] Metastable:
Hm, so it's not picking up the music playing with the stock Sense music player? I wonder if Sense some how bypasses the standard audio stream. Other than that, it's working as intended.

I still haven't decided if I should allow it to visualize without music or leave it black until you do. I think it would be pretty boring without some visualization all the time.
[Android Software Development] exb0:
I'll try it with sense again. Maybe you should make it slow, really really slow. Then once music plays it speeds up,making it more obvious. Cause now frankly I can't tell if its picking up the music or not
[Android Software Development] Metastable:
Okay, here's a build that does not send data when no music is playing. It only displays the visuals in a default form. Let me know what you think. This also has a new visual in tubes that I just made. Same version number as last beta.
[Android Software Development] AproSamurai:
It's no problem at all, when backing out lf an app i get a quick flash of color and then just black no animation no movement, until I enter and exit the app again. When you mean without tags you mean the whole full(long as hell) logcat?

Sent from my Epic 4G
[Android Software Development] Metastable:
Yeah, but I don't want you giving me 10 pages, lol. If you could get me the logs for tags "DeadMau5", "System.err", and "AndroidRuntime" (only needed for force closes really). What music player do you use?
[Android Software Development] exb0:
Okay, without music playing it displays each animation for about 5~10 seconds (?)

( by that I mean Deadmau head flying, deadmau head flashing and such )

With music playing it's the same.

Starting to wonder if it's my sensation's problem. I'm gonna try with another device and report back.
[Android Software Development] Metastable:
I guess I should be more clear about this, not all of the animations are 100% dependent on music playing to display. For instance, the red mau5 head with the lines displaying will move regardless. When music plays, the lines move more quickly back and forth. The animation with the lines coming from the center will display without music, but with music the lines actually glow (test it). The tube animations are more dependent on music, except for the newest one I added, which will not glow without music. The converging cube animation will not work without music, you will only see the outlines. The diverging triangle animation works without music, but will not glow without music. The cylon mau5 animation is 100% not dependent on music (I don't know how I would integrate music into it, besides music triggering the next frame).

I hope that clears some of the confusion. Also, animations change every 10 secs.
[Android Software Development] exb0:
Hm, thanks for clearing that up. But still nothing seems to be chainging. I'll report back. Maybe it doesn't work with Sense? I'll try CM7.
[Android Software Development] exb0:
Okay, done testing on my ex n1 ( had to take it from my dad secretly :3 ) and I can confirm it works on cm7. So I'd say it doesn't work on sense or it just doesn't detect the music app. ( although I tried the stock and ubermusic )
[Android Software Development] Metastable:
Hm, alright, thanks for going through all that trouble. I test on CM7, so it's nice to see that it does work for others on it. Has anyone else here had success with the wallpaper and use Sense?

@illuminarias: Could you provided logs? I wonder if any errors are thrown for you.
[Android Software Development] daman215:
works for me on the sensation coredroid rom
[Android Software Development] exb0:
Are there apps for making logcat right from the phone? Computer is busted! Hmm but the user above me said it works for him.

Edit: it works, but only with Winamp. Ubermusic and stock sense player doesn't. Gosh I feel like such a noob now :/ sorry for all the inconvinence caused
[Android Software Development] Metastable:
No worries. It should work with all audio players, I don't understand why some of them are not working properly.

@daman215: What audio player did you use?
[Android Software Development] exb0:
Okay I think my problem was a ROM related issue. I decided to wipe my device and flash another ROM. It works now. Thanks for the help man :DD
[Android Software Development] Metastable:
Preview

Here's a little preview of my latest visual ;]

Wont be doing much work during the week dude to classes. If you have any problems with the last beta, please try to provide logcats so that we can solve the issue.
[Android Software Development] Smokeey:
Just got back from his new set! SO FRIGGIN SICK! Posting pictures: (Prepare to "aw" and be amazed.)

My horrible footage from the good 'ol dinc1:

http://www.youtube.com/watch?v=9m-pTHYyrB0 SOFI!

http://www.youtube.com/watch?v=D5FcPGgVIVk MATHS! (opened with the rubiks cube and bad selection)

http://www.youtube.com/watch?v=CXSJ42rWwsE intro!
[Android Software Development] exb0:
Damn! He came to Malaysia few months back. But... I'm below 18 :'(
[Android Software Development] Metastable:
Damn, he upgraded his rubix cube visual... >>. Oh well, what I have will have to do, I'm no 3D master lol. Great footage though.
[Android Software Development] Smokeey:
I'd like to see the Cthulhu arms waving around, that would be sick.
[Android Software Development] Metastable:
I've done some work in it, but I haven't been too happy with it.
[Android Software Development] Metastable:
Beta v0.9.3

Okay, here's the next beta release. This has the Rubix cube animation but is mainly a performance/bug update. Let me know what you think!
[Android Software Development] exb0:
Everything seems faster :D and that rubiks cube is cool!

Sent from the Vietnam war
[Android Software Development] Metastable:
I know about the massive ram issue and i'm actively trying to bring it down. I've cut down about 6mb already. I'f I can get it down to sub 15 I'd be happy.
[Android Software Development] facadewithin:
Has anyone reported this working for the g2x? cant seem to get it to work =( i wants it so bad lol
[Android Software Development] ChrisB:
Hi..

the new version crashes. and still no effekt, just a blink here and there..

Video on its way..
[Android Software Development] Metastable:
Not that I know of, but if you could provide me some logs I might be able to get it to work.

Okay, if you can get me a log of when it crashes I might be able to do something. It might be a fact of the wallpaper still eating too much ram. For some reason ram usage isn't the same between phones.
[Android Software Development] Smokeey:
Tried it again on my dinc1, still lagging really badly, but now i'm on stock gingerbread sense
[Android Software Development] Metastable:
Beta v0.9.4

Next beta release! I've cut down on some ram usage, only about 2mb this time.

I forgot to mention to everyone that I enabled ACRA in the latest releases. ACRA stands for Application Crash Report for Android, which is a library that can automatically send crash reports to a Google Docs page that I have set up. This has provided me with some reports and helped fix a very obvious bug. If you have any of these phones:

Samsung GT-I9000

LG P920 (Cosmopolitan)

Motorola MB860 (Oylatt)

Samsung SGH-I997

DROID3 (Solana)

Please try out the latest beta and let me know what your results are. You may still hit the OutOfMemory error due to ram usage, but if you don't it should work without issues.

Thanks for trying out my wallpaper guys/girls, it's really helping me hunt down bugs!
[Android Software Development] Metastable:
Beta v0.9.5

Another release! This one is much more significant than the last one. I was able to bring the ram usage from 23mb to 17mb(numbers depend on phone). Though I could bring it down to 12mb. I will do that for the next release; it was very buggy, as getting it to 12mb requires a bit of trickery loading and dumping visuals when needed or not.

I was also able to cap the fill rate for my HD2, 30 fps it seems. For those who have access to Logcat, it will print out the FPS for both the renderer and the visual handler.

Let me know what you think.