I'm trying to understand the code for the basic onCreate function that
is part of every application.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
I understand the @Override, and the
OK, I see. So basically, by calling super.onCreate
(savedInstanceState) one is making sure that any code in the
superclass gets run, and then the stuff that is custom to the new
class.
Thanks.
On Dec 13, 1:31 pm, Mark Murphy mmur...@commonsware.com wrote:
Doughy wrote:
I'm trying
don't see the device listed,
you probably need to setup udev (at least under ubuntu) to have the usb
recognize.
Anyone knows a good link to the udev config needed for the g1? (There should
be one in the forum)
On Dec 9, 2008 8:12 AM, Doughy [EMAIL PROTECTED] wrote:
Thanks Ralf. I'm using
Can someone either tell me here, or point me to a link, that explains
how to debug applications on an actual android device? I just got a
G1, I have written a simple program using the Eclipse plugin, and now
I would like to debug it on my actual phone. I can't seem to find any
documentation on
I am writing a program that needs to randomly select a line from a
file or db. At first thought, I was going to just create a simple
text file that my program would read and store in a list. Then it
would randomly select one of the items from the list.
Is it better to store simple information
Hello,
I am trying to create a very simple program that will change the text
of a label object when I click a button. I have created the button
and the label using the XML file, but now I have no idea how I can
write the callback when the user presses the button. I tried reading
the help file
I only have a total of 7 samples in that directory. What version of
the SDK are you running?
On Nov 22, 5:52 am, Mark Murphy [EMAIL PROTECTED] wrote:
Doughy wrote:
I am trying to create a very simple program that will change the text
of a label object when I click a button. I have created
);
answerLabel.setText(Test);
}
};
Is there a better way to do this? Is there a way to directly access
the TextView without using findViewbyId and casting it to the
appropriate type?
On Nov 22, 1:14 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Doughy wrote:
I only have
8 matches
Mail list logo