Hi all,
I'm having a beginner issue. Sorry if my issue looks pathetic.
I've got a custom button class so that I can declare lots of custom
button objects in my Activity. The buttons are declared via an XML
file. Each button is identified by a different text inside it
( setText("blabla") ).
I'd l
Hi,
Thanks for your answer.
However, this implies that I'll have to declare setOnClickListener for
each button in my Activity object (in the constructor):
Button MyButton1 = (Button)findViewById(R.id.MyButton1);
generate_button.setOnClickListener(new
Button.OnClickListener() {
That's exactly what I needed. Sorry for the inconvenience.
Thanks a lot.
On Jul 5, 11:24 am, Jaswant wrote:
> y u r creating new onClickListener every tym???
> just implement OnClickListener explicitaly once and do whatever u want in
> onClick() method.
> like:
>
> public class MyActivity ext
Hi gents,
I'm trying to develop an animated wallpaper for Android 2.1.
My first step would be to draw a JPEG image onto the screen but it
doesn't seem to work.
Any idea?
public class RumblefishWallpaper extends WallpaperService {
@Override
public void onCreate() {
super.onCreat
Any ideas?
On Oct 19, 12:44 pm, Rockline wrote:
> Hi gents,
>
> I'm trying to develop an animatedwallpaperfor Android 2.1.
> My first step would be to draw aJPEGimage onto the screen but it
> doesn't seem to work.
>
> Any idea?
>
> public class Rumblef
The screen is actually black. Could it be due to an enable somewhere
which I've not set?
Has anybody experienced that before?
Thanks.
On Oct 21, 9:44 am, Rockline wrote:
> Any ideas?
>
> On Oct 19, 12:44 pm, Rockline wrote:
>
>
>
>
>
>
>
> >
Hello,
I've got a problem when I'm trying to create a new activity when I
click on a button.
My virtual device (emulator) crashes when I click on the button saying
something
like: "The application has stopped unexpectedly"
Could you please help?
My main activity I launch my application is Launch
u do need entries in the manifest for all your activities,
> including MenuMain.
>
> The intent filter for MenuMain is not necessary.
>
> Other than that, check the logcat for error messages. Might be something
> wrong in menu_main.xml.
>
> -- Kostya
>
> 04.01.2011 15:17, Roc
Hello all,
I'm trying to do my first widget but it seems not to work in the
emulator: when I try to add the widget to the wallpaper, I've got the
following message: "Application is not installed on your phone".
Any ideas?
Here is my manifest:
http://schemas.android.com/apk/res/android";
9 matches
Mail list logo