小鑫博客 - Sina
type: channel
link: https://xiazhengxin.name/index.php/tag/Sina/
items: 至新浪天气widget 开发组的一封信

至新浪天气widget 开发组的一封信
type: item
date: 2012-07-07T07:58:15+00:00
description: 话不多说，日志如下：E/com.samsung.app( 3938): [MSC_SinaWeather]>>> SinaWeatherProvider.java:130 [0:0] kbi onReceive()@@@ android.appwidget.action.APPWIDGET_UPDATE E/com.samsung.app( 3938): [MSC_SinaWeather]>>> WidgetIdManager.java:39 [0:0] SinaWeatherClockWidgetID_Length E/com.samsung.app( 3938): [MSC_SinaWeather]>>> WidgetIdManager.java:40 [0:0] getPrefIDs() : length = 1 E/com.samsung.app( 3938): [MSC_SinaWeather]>>> WidgetIdManager.java:46 [0:0] getPrefIDs() : Ids1 = 58 E/com.samsung.app( 3938): [MSC_SinaWeather]>>> SinaWeatherProvider.java:161 [0:0] ====== onReceive orientation : PORTRAIT E/com.samsung.app( 3938): [MSC_SinaWeather]>>> SinaWeatherService.java:154 [0:0] Serviece Start W/AppWidgetHostView( 3011): updateAppWidget couldn't find any view, using error view W/AppWidgetHostView( 3011): java.lang.RuntimeException: Binary XML file line #47: You must supply a layout_height attribute. W/AppWidgetHostView( 3011): at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491) W/AppWidgetHostView( 3011): at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:4902) W/AppWidgetHostView( 3011): at android.view.ViewGroup$MarginLayoutParams.(ViewGroup.java:4981) W/AppWidgetHostView( 3011): at android.widget.RelativeLayout$LayoutParams.(RelativeLayout.java:1050) W/AppWidgetHostView( 3011): at android.widget.RelativeLayout.generateLayoutParams(RelativeLayout.java:920) W/AppWidgetHostView( 3011): at android.widget.RelativeLayout.generateLayoutParams(RelativeLayout.java:68) W/AppWidgetHostView( 3011): at android.view.LayoutInflater.rInflate(LayoutInflater.java:726) W/AppWidgetHostView( 3011): at android.view.LayoutInflater.rInflate(LayoutInflater.java:727) W/AppWidgetHostView( 3011): at android.view.LayoutInflater.inflate(LayoutInflater.java:479) W/AppWidgetHostView( 3011): at android.view.LayoutInflater.inflate(LayoutInflater.java:391) W/AppWidgetHostView( 3011): at android.widget.RemoteViews.apply(RemoteViews.java:1695) W/AppWidgetHostView( 3011): at …