I am coding an app widget for Honeycomb. I am attempting to use a ViewFlipper, which Honeycomb docs say is supported in app widgets now. I would expect to be able to use one of the following APIs for this ViewFlipper:
RemoteViews.showNext(int viewId) or RemoteViews.setInt(int viewId, String methodName, int value) How am I supposed to control when the view flipper flips?? It's unacceptable to me to have it automatically flipping, like for a slide show. Here are the exceptions for reference: W/AppWidgetHostView( 450): android.widget.RemoteViews $ActionException: view: android.widget.ViewFlipper can't use method with RemoteViews: showNext() W/AppWidgetHostView( 450): at android.widget.RemoteViews $ReflectionActionWithoutParams.apply(RemoteViews.java:556) W/AppWidgetHostView( 450): at android.widget.RemoteViews.performApply(RemoteViews.java:1515) W/AppWidgetHostView( 450): at android.widget.RemoteViews.apply(RemoteViews.java:1492) W/AppWidgetHostView( 450): at android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java: 225) W/AppWidgetHostView( 450): at android.appwidget.AppWidgetHost.createView(AppWidgetHost.java:234) W/AppWidgetHostView( 450): at com.android.launcher2.Launcher.completeAddAppWidget(Launcher.java: 1233) W/AppWidgetHostView( 450): at com.android.launcher2.Launcher.addAppWidgetImpl(Launcher.java:1728) W/AppWidgetHostView( 450): at com.android.launcher2.Launcher.addAppWidgetFromDrop(Launcher.java: 1672) W/AppWidgetHostView( 450): at com.android.launcher2.Workspace.onDropExternal(Workspace.java:2754) W/AppWidgetHostView( 450): at com.android.launcher2.Workspace.onDrop(Workspace.java:2207) W/AppWidgetHostView( 450): at com.android.launcher2.DragController.drop(DragController.java:597) W/AppWidgetHostView( 450): at com.android.launcher2.DragController.onTouchEvent(DragController.java: 576) W/AppWidgetHostView( 450): at com.android.launcher2.DragLayer.onTouchEvent(DragLayer.java:64) W/AppWidgetHostView( 450): android.widget.RemoteViews $ActionException: view: android.widget.ViewFlipper can't use method with RemoteViews: setDisplayedChild(int) W/AppWidgetHostView( 450): at android.widget.RemoteViews $ReflectionAction.apply(RemoteViews.java:778) W/AppWidgetHostView( 450): at android.widget.RemoteViews.performApply(RemoteViews.java:1515) W/AppWidgetHostView( 450): at android.widget.RemoteViews.apply(RemoteViews.java:1492) W/AppWidgetHostView( 450): at android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java: 225) W/AppWidgetHostView( 450): at android.appwidget.AppWidgetHost.updateAppWidgetView(AppWidgetHost.java: 266) W/AppWidgetHostView( 450): at android.appwidget.AppWidgetHost $UpdateHandler.handleMessage(AppWidgetHost.java:81) W/AppWidgetHostView( 450): at android.os.Handler.dispatchMessage(Handler.java:99) W/AppWidgetHostView( 450): at android.os.Looper.loop(Looper.java: 126) W/AppWidgetHostView( 450): at android.app.ActivityThread.main(ActivityThread.java:3997) W/AppWidgetHostView( 450): at java.lang.reflect.Method.invokeNative(Native Method) W/AppWidgetHostView( 450): at java.lang.reflect.Method.invoke(Method.java:491) Please note I opened issue 14956 to try to get Google's official help too. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

