Sunday, May 19, 2013

[android-developers] attach remoteviews from service to viewgroup inside activity (not widget)

Hi,

I have activity with linearlayout as viewgroup.  I have service which using aidl interface provides remoteviews with pending intents.  The activity as client binds to service and received the remoteviews.   Now I do not know what to do show that I can have the remoteviews show up in linearlayout.

I have tried remoteviews.apply(activity, viewgroup) call and also tried invalidate, forceLayout on the viewgroup but the activity does not show the remoteviews.

can one point me to example or snippet that explain how to resolve this issue ?

Regards,

Miten.

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate