How is this possible through RemoteView? Is there any other solution?
RemoteViews has a method setRemoteAdapter (javadoc) which seems like what you are looking for. It is available only from API level 11 upwards though.