how to dynamic create a imageview on widget?

by [G] » Thu, 03 Jun 2010 12:43:28 GMT


Sponsored Links
 hi all,

   i want to  dynamic create imageview on a widget.  how can i do
this?

thanks a lot

grays

--



how to dynamic create a imageview on widget?

by Nithin » Thu, 03 Jun 2010 14:57:52 GMT


 What do you mean by creating dynamic ImageView on a widget, ImageView
itself is a widget in "android.widget" package.

Nithin




--


Sponsored Links


Other Threads

1. Problem with mediaplayer to play live streaming audio

Hi friends,

In my music app, i would like to play live streaming like radio
broadcasting with mediaplayer as

Mediaplayer mp = new Mediaplayer();
mp.setDataSource(LiveStreamingURL);
mp.prepare();
mp.start();

but after playing for few seconds it is stopped. I dont know how to
overcome it. Give me your suggestions for this.

Thanks
venu

-- 

2. Mistake in official Sample ?

http://developer.android.com/resources/faq/commontasks.html#opennewscreen

Scroll down to "Returning a Result from a Screen" and look at code sample :

Shouldn't that be requestCode to switch() ?

// Listen for results.
protected void onActivityResult(int requestCode, int resultCode, Intent data){

    // See which child activity is calling us back.
    switch (*resultCode*) {

        case CHOOSE_FIGHTER:
            // This is the standard resultCode that is sent back if the

            // activity crashed or didn't doesn't supply an explicit result.
            if (resultCode == RESULT_CANCELED){

                myMessageboxFunction("Fight cancelled");
            }

            else {
                myFightFunction(data);

            }
        default:
            break;

    }
}

-- 

3. layout inflator

4. Regarding Scale Animation in 2d graphics

5. RatingBar onClick not being recognized in AlertDialog

6. GridView disappears...

7. LVL suggestion