David Welton: Android Bug: Radio Groups/Buttons
This was informally confirmed by someone at Google:
Given this layout code:
The individual at Google says the problem will be fixed in a future SDK release, so hopefully things will work in the near future. I also hope it's open sourced soonish, so that problems like this can be fixed without requiring the intervention of "the hand of Google". Of course, in this market, there's also the issue of things being shipped on hardware, where open source or not doesn't matter much if the bug is out there, because you simply can't fix it on millions of devices. Hopefully the product that ships will be very solid.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
id="@+id/ll">
</LinearLayout>
And this Java code:
public void onCreate(Bundle icicle)
super.onCreate(icicle);
setContentView(R.layout.main);
LinearLayout ll = (LinearLayout)findViewById(R.id.ll);
RadioGroup rg = new RadioGroup(this);
rg.setLayoutParams(new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT,
LinearLayout.LayoutParams.WRAP_CONTENT));
ll.addView(rg);
RadioGroup.LayoutParams rlp = new RadioGroup.LayoutParams(
RadioGroup.LayoutParams.WRAP_CONTENT,
RadioGroup.LayoutParams.WRAP_CONTENT);
RadioButton foo = new RadioButton(this);
foo.setText("foo");
foo.setLayoutParams(rlp);
rg.addView(foo);
RadioButton bar = new RadioButton(this);
bar.setText("bar");
bar.setLayoutParams(rlp);
rg.addView(bar);
RadioButton baz = new RadioButton(this);
baz.setText("baz");
baz.setLayoutParams(rlp);
rg.addView(baz);
The resulting radio buttons fail to be mutually exclusive. This is a bit frustrating, as Hecl doesn't utilize the XML layout system. Or rather, you can use that if you want, or you can create everything in Hecl.
The individual at Google says the problem will be fixed in a future SDK release, so hopefully things will work in the near future. I also hope it's open sourced soonish, so that problems like this can be fixed without requiring the intervention of "the hand of Google". Of course, in this market, there's also the issue of things being shipped on hardware, where open source or not doesn't matter much if the bug is out there, because you simply can't fix it on millions of devices. Hopefully the product that ships will be very solid.
After
It seems that -- again -- I've managed to catch something nasty on the way back (probably I should only check in my coat if I know that it won't take long until boarding). So, two days later than anticipated, I am officially back and working. I have yet to clear the autobuilder backlog of the last three days (these ARM boxes are blazing fast these days; and a lot of packages failed due to GNOME being uninstallable) and also catch up with the real world (I turn off my phone when I have a migraine attack, keeping a log of calls but this time there's just a batch of unknown numbers with some calls having dropped off the list already -- please send emails instead of calling if it is important, there is a reason why I don't use my phone for business).
In other news, this posting needs paragraphs.
We've got a 
With four plane tickets already in our hands, it's official. Clara, Sabri,
Joni and I will be flying to

Some adventures on my way back from FOSS.in at Bangalore. I was planned to fly back through Mumbai, with a quick connection (05:30-07:00). However, the Paris flight got delayed "because of technical problems" and we finally took off at 11:00.
However, while flying the deserts of Eastern Iran (so after 2 hours flight), some very bad vibrations were happening and, apparently, one engine of the 747 was shut down by the crew.
Then we gently turn 180 degrees and were told that....we were going back to Mumbai..:-(
So here am I, currently in Mumbai airport, in the VIP lounge (I didn't want to go to a random hotel with pay-per-use wireless), coping with my mail et keeping in touch with $HOME through an awfully jerky connection.
FOSS.in was huge fun but it seems that coming back from it will not be fun at all. Well, that's how air transportation is, right?
GCC 4.3 now prints an error message when C++ code contains duplicate
function parameter names in function prototypes. You'd think that's a
pretty obvious problem, but we still have about 15 packages in the archive
that contain such code.
Anyway, for code like this:
Ok, so two people replied to