Get information from a remoteView?

android, remoteview

Solution

This is not possible, sorry. `RemoteViews` is a data structure, designed to be passed to and used by another process.

More precisely I would like to get the size of my remote view like this question but for remoteViews.

`RemoteViews` does not have a "size", at least in terms of pixels, any more than a `String` does. The resulting widget tree created by the other process applying the `RemoteViews` has a size, but only the other process knows about that.

Problem

I am been trying to figure out how to get information from a remoteView. There sees to be plenty of set functions but no get functions. More precisely I would like to get the size of my remote view like this question but for remoteViews.

Original source

Related problems