i am adding installed AppWidgetViews to my application as AppWidgetHostView. The problem is they don't handle any touch events as they were added to home screen. Here is part of my code;
AppWidgetHost host = new AppWidgetHost(getContext(), HOST_ID);
AppWidgetManager manager = AppWidgetManager.getInstance(getContext());
int id = host.allocateAppWidgetId();
AppWidgetHostView view = host.createView(getContext(), id, info);
Lets say AppWidgetProviderInfo object "info" belongs to "com.android.alarmclock.AnalogAppWidgetProvider", which is the default analog clock widget of android. This view has to launch clock setting when a click performed on it as it performed on home screen, still i have no response from it. Is there a way to solve this problem? Thanks in advance...