How does a RemoteView get drawn

by daniel.dreiber...@gmail.com » Wed, 29 Apr 2009 01:07:53 GMT


Sponsored Links
 Hi,

" * A class that describes a view hierarchy that can be displayed in
another process."

But unlike View class, RemoteView does not have a 'draw(Canvas
canvas)' method.
Can you please tell me which method of RemoteView causing its layout
to be drawn on screen?

Thank you.

--~--~---------~--~----~------------~-------~--~----~



How does a RemoteView get drawn

by Romain Guy » Wed, 29 Apr 2009 01:11:55 GMT


 RemoteViews are still drawn like regular views (they are in fact
regular views.) You just cannot create custom RemoteViews or override
their draw/layout methods.

On Mon, Apr 27, 2009 at 10:33 PM, daniel.dreiber...@gmail.com





-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Are there alternate ways to look up user phone number when TelephonyManager returns null?

Is there a way to look up the user phone number other than TelephonyManager?

In my G1, this returns null:

// get your phone number
        TelephonyManager telephonyManager = (TelephonyManager)
                getSystemService(Context.TELEPHONY_SERVICE);
        String tel = telephonyManager.getLine1Number();

        Log.i("Telephone Number ==> ", tel+" <==");


Is there any other way of getting user's own phone number?

take care,
Muthu Ramadoss.

http://linkedin.com/in/tellibitz
http://androidrocks.googlecode.com - Android Consulting.

Emo Philips <http://www.brainyquote.com/quotes/authors/e/emo_philips.html>
- "A computer once beat me at chess, but it was no match for me at
kick
boxing."

--~--~---------~--~----~------------~-------~--~----~

2. Multipat messages.

Hi,

I am trying to upload a file using multipart HTTP POST. I am using the
same method being used in thread

3. surface flinger framework and issues

4. Is There Ever Going to be a Google Chrome Mobile for Android?

5. Experience of using admob

6. Zealots (WAS Unacceptable and abusive comments needs immediate solution from Google)

7. Exceptions was: Exception locking surface - lockCanvas() returns a null?