How does a RemoteView get drawn

by » Wed, 29 Apr 2009 01:07:53 GMT

Sponsored Links

" * 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,

Romain Guy
Android framework engineer

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. Start a service during device boot-up


I have written a class which extends the Service class of android and
would like to launch the service during device boot-up. From the
service I would like to receive the intents such as boot completed and
screen off and on.

Currently I am using a BroadcastReceiver to get the boot completed
intent and then on starting a service to receive screen on and off
intents. But I would like to remove either the broadcast receiver or
the service. Any inputs.

Thank you,


2. Froyo only support application(android:minSdkVersion="8") uploading fail..


Excuse my English.. :)

I make application using Froyo SDK..
It support only Android 2.2..

It is working well on Emulator and Nexus one..

but android market uploading error like below
-. The file is invalid: W/ResourceType(12468): Bad string block: last
string is not 0-terminated ERROR getting 'android:label' attribute:
attribute is not a string value

If change android:minSdkVersion to 7, then no uploading error..
But application only support Froyo.. :(

Who know what was wrong?


3. WebView pre-executing JavaScript before loading a page

4. Android Market Developer Console Bugs IS NOT WORKING properly for me.

5. Section Indexer Overlay not updating as Adapters data changes

6. Inside WebView class addJavaScriptInterface() method is calling in reverse order when I have two calling stmts.

7. Android x86?