Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Thanks. (Score 3, Interesting) 129

(Note: I'm the person who posted the first response too, but I wasn't logged in then so it came out as from anonymount).

If you want to do some custom drawing, then sure, you can start with a View and extend it to make your own Widget.

You can draw without a View, but only on bitmaps. Canvases from the screen come from Views. If you have a Drawable and you want it to appear on the screen, then the easiest way is to create any view you want and just make the background be that Drawable. This can all be done in XML in your layout resource file and it doesn't take a single line of Java code. It's very easy once you're used to it.

When I started out my biggest confusion was Activities, Apps, and Tasks. Those really mixed me up. But once I got used to them I found them very nice, it makes it easy to build modular apps that work together smoothly.

Comment Rocketboost from Best Buy (Score 3, Interesting) 438

The Rocketboost system at best buy is a wireless solution that will work for you: http://www.bestbuy.com/rocketboost gives a good summary of how it works.

You can add speakers and audio sources around your house, and the speakers have a "next source" button that lets you flip between your audio sources. It is modular, where you can buy as many units as you need and they all join together into one big network in your house. It isn't super-cheap, but it is cheaper than other products that are equally as flexible in how you set them up.

Disclaimer: I worked on this product (wrote the protocol stack for moving the audio data over the air), so you may want to take my recommendation with a grain of salt, but I am happy with how well the product turned out and I think it's pretty neat.

Comment Re:That's a broken way to think of it (Score 5, Informative) 961

Duh.

I think the parent was implying that C often directly maps into assembly language, and he's right. As an embedded programmer, one of the benefits of C is that, other than register selection, I can often tell you exactly what assembly statements will be emitted by a chunk of C code. Often I do use C as a shorthand for assembly.

Nobody who knows the term "assembly language" will think that C is one. But it's a lot closer than you might think.
Space

Meteorite Causes Illness in Peru 357

eldavojohn writes "A meteorite struck in Peru on Saturday leaving cinders, rock & water boiling out of the ground. Villagers nearby reported headaches & vomiting and attributed it to the event. From the article, 'Seven policemen who went to check on the reports also became ill and had to be given oxygen before being hospitalized, Lopez said. Rescue teams and experts were dispatched to the scene, where the meteorite left a 100-foot-wide (30-meter-wide) and 20-foot-deep (six-meter-deep) crater, said local official Marco Limache.' It's not yet clear whether this is from the meteorite, gas trapped underground that was released or a chemical reaction between the two."

Slashdot Top Deals

"Don't hate me because I'm beautiful. Hate me because I'm beautiful, smart and rich." -- Calvin Keegan

Working...