Hi. I'm new to Android. I started writing apps last week. I have a little background in VB and Python with some Java a long time ago, but I'm getting confused with some Java syntax. I don't remember seeing this before (I have used swing/AWT to make applets, a long time ago so my memory is fuzzy), and my old Java refrence book is no help.
the syntax is:
I don't understand this. The right hand side specifically. I would have though the way to construct a new button (or any such object) is:
Any help would be great.
the syntax is:
Code:
ImageButton b1 = (ImageButton)
I don't understand this. The right hand side specifically. I would have though the way to construct a new button (or any such object) is:
Code:
ImageButton b1 = new ImageButton;
Any help would be great.