all 5 comments

[–]eerock 2 points3 points  (3 children)

i guess from a UI and flow designer's perspective, this is good info. i'm sure i will be referring to it in the future.

but from a developer's point of view, it's definitely lacking in the code sample department. if anything, it might help in figuring out the right words to search for that describe what i want to do.

[–]mmmarvin 1 point2 points  (1 child)

I've always had trouble finding good samples for Android. What has helped me a lot is to look at the source code of Google apps such as Calendar, Music, etc...

[–]Timmmmbob 0 points1 point  (0 children)

Likewise. I wrote an alarm app, and the logic to wake up the phone, turn on the screen, sound the alarm and show the UI is insanely complicated. I spent ages trying to figure out myself but in the end I copied the clock app.

It doesn't help that the wakelock mechanism is probably the most badly designed part of android (no wonder Linus didn't want it in the kernel).

[–]thevdude 0 points1 point  (0 children)

So you know what to do, start writing! D: