Android Question Widget error after update to Android 5

ducphu

Active Member
Licensed User
Longtime User
Hi All,

My app, with a calendar widget was developed and tested with my device, running Android 4.4. Recently update to Android 5. cause the widget fail to load its content. USB debug shows below code error when I try to add a widget to homescreen:
** Service (widget2x2s) Create **
** Service (widget2x2s) Start **
0
0
0
getTasks: caller 10252 does not hold GET_TASKS; limiting output

Here is the code of my widget:

B4X:
#Region  Service Attributes
    #StartAtBoot: True
#End Region

Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    Public rv As RemoteViews
End Sub
Sub Service_Create
    rv = ConfigureHomeWidget("widget2x2", "rv", 1440, "E-Calendar(Solar)")
End Sub

Sub Service_Start (StartingIntent As Intent)
   
    ' If a widget is removed from homescreen we don't need to do anything
    If StartingIntent.Action = "android.appwidget.action.APPWIDGET_DELETED" Then Return
   
    ' We have to be sure that we do not start the service
    ' again if all widgets are removed from homescreen
    If StartingIntent.Action <> "android.appwidget.action.APPWIDGET_DISABLED" Then
        Dim schedule As Long
        Dim now As Long = DateTime.now
        schedule = DateUtils.SetDateAndTime(DateTime.GetYear(now), DateTime.GetMonth(now), DateTime.GetDayOfMonth(now),0,1,0)
        If schedule < now Then
           'skip to tomorrow
           Dim p As Period
           p.Days = 1
           schedule = DateUtils.AddPeriod(schedule, p)
        End If
        StartServiceAt("",schedule,True)
       
    End If
   
    ' Handle the widget events
    If rv.HandleWidgetEvents(StartingIntent) = False Then
        ' If the action is not handled by HandleWidgetEvents() then we
        ' probably were called by StartService() or StartServiceAt().
        ' So just update the widget.
       
        rv_RequestUpdate
    End If
   
    If IsPaused(screen_orientation) = True Then
        'Log("not running")
        StartService(screen_orientation)
    End If
End Sub

Sub rv_RequestUpdate

    rv.SetTextSize("Loading", 20)
   
    DateTime.DateFormat = "dd.MM.yyyy"
    Dim header As String = DateTime.date(DateTime.now)
    Dim day As Int= DateTime.GetDayOfWeek(DateTime.now)

    If day = 1 Then header = "Sun, " & header
    If day = 2 Then header = "Mon, " & header
    If day = 3 Then header = "Tue, " & header
    If day = 4 Then header = "Wed, " & header
    If day = 5 Then header = "Thu, " & header
    If day = 6 Then header = "Fri, " & header
    If day = 7 Then header = "Sat, " & header
   
    rv.SetImage("Bg",CommonCode.DrawFont("","Bg",0,0,False))
    rv.SetImage("Header",CommonCode.DrawFont(header,"Header",0,0,False))
    rv.SetImage("SL",LoadBitmapSample(File.DirAssets,"solar.png",20dip,20dip))
    rv.SetImage("Line",CommonCode.DrawFont("","Line",0,0,False))
   
    rv.UpdateWidget
   
    Dim first As String = "01." & DateTime.GetMonth(DateTime.Now) & "." & DateTime.GetYear(DateTime.Now)
    Dim first_day As Int = DateTime.GetDayOfWeek(DateTime.DateParse(first))
    first_day = first_day-2
    If first_day < 0 Then first_day = 6
    Dim no_of_days_in_mth As Int = DateUtils.NumberOfDaysInMonth(DateTime.GetMonth(DateTime.Now),DateTime.GetYear(DateTime.Now))
   
    Dim lb_no As Int
    Dim target_lb As String
    Dim date_str As String
    Dim pre_month As Int = DateTime.GetMonth(DateTime.Now) - 1
    Dim pre_year As Int = DateTime.GetYear(DateTime.Now)
    If pre_month = 0 Then
        pre_month = 12
        pre_year = pre_year - 1
    End If
    Dim prefix As Int = DateUtils.NumberOfDaysInMonth(pre_month,pre_year)
    prefix = prefix - first_day +1
    If first_day > 0 Then
        For i = 0 To first_day-1
            lb_no = i + 1
            target_lb = "ImageView" & lb_no
            rv.SetImage(target_lb,CommonCode.DrawFont(prefix,"Date_S",i,0,False))
            prefix = prefix+1
        Next
    End If
   
    rv.UpdateWidget
   
    Dim date As Int = 1
    Dim suffix As Int = 1
   
    For  j = 0 To 5
        For i = 0 To 6
            lb_no = i + j*7 + 1
            target_lb = "ImageView" & lb_no
            If j = 0 Then
                If i >= first_day Then
                    DateTime.DateFormat = "ddMMyyyy"
                    If DateTime.GetMonth(DateTime.Now) < 10 Then date_str = date & "0" & DateTime.GetMonth(DateTime.Now) & DateTime.GetYear(DateTime.Now)
                    If DateTime.GetMonth(DateTime.Now) >= 10 Then date_str = date & DateTime.GetMonth(DateTime.Now) & DateTime.GetYear(DateTime.Now)
                    If date <10 Then date_str = "0" & date_str
                    If DateTime.DateParse(date_str) - DateTime.DateParse(DateTime.date(DateTime.now)) <> 0 Then rv.SetImage(target_lb,CommonCode.DrawFont(date,"Date",i,j,False))
                    If DateTime.DateParse(date_str) - DateTime.DateParse(DateTime.date(DateTime.now)) = 0 Then rv.SetImage(target_lb,CommonCode.DrawFont(date,"Date",i,j,True))
                    date = date+1
                End If
            End If
            If j > 0 Then
                If date > no_of_days_in_mth Then
                    rv.SetImage(target_lb,CommonCode.DrawFont(suffix,"Date_S",i,j,False))
                    suffix = suffix+1
                End If
                If date <= no_of_days_in_mth Then
                    DateTime.DateFormat = "ddMMyyyy"
                    If DateTime.GetMonth(DateTime.Now) < 10 Then date_str = date & "0" & DateTime.GetMonth(DateTime.Now) & DateTime.GetYear(DateTime.Now)
                    If DateTime.GetMonth(DateTime.Now) >= 10 Then date_str = date & DateTime.GetMonth(DateTime.Now) & DateTime.GetYear(DateTime.Now)
                    If date <10 Then date_str = "0" & date_str
                    If DateTime.DateParse(date_str) - DateTime.DateParse(DateTime.date(DateTime.now)) <> 0 Then rv.SetImage(target_lb,CommonCode.DrawFont(date,"Date",i,j,False))
                    If DateTime.DateParse(date_str) - DateTime.DateParse(DateTime.date(DateTime.now)) = 0 Then rv.SetImage(target_lb,CommonCode.DrawFont(date,"Date",i,j,True))
                    date = date+1
                End If
            End If
        Next
        rv.UpdateWidget
    Next
   
    rv.SetVisible("Line",True)
    rv.SetVisible("LineS",True)
    rv.SetVisible("Loading",False)
    rv.UpdateWidget

    StopService("")
End Sub

Sub rv_Disabled
    StopService("")
    CancelScheduledService("")
End Sub

Sub Service_Destroy

End Sub

Sub Button1_Click
    StartActivity(Main)
End Sub

And here is list of lib I use:

BroadCastReceiver
Core
DateUtils
Gestures
IME
JavaObject
Phone
Reflection
SQL

May anyone help me please. Thank you.
 

DonManfred

Expert
Licensed User
Longtime User
getTasks: caller 10252 does not hold GET_TASKS; limiting output

Looks like your app is missing the permission GET_TASKS. Have you added this permission to the manifest editor?
 
Upvote 0

ducphu

Active Member
Licensed User
Longtime User
The widget was running fine with android 4.4 and I didnt add this permission to the manifest. This issue happens only with android 5, and I'm not sure what is changed. And as Don suggested, I tried to add the permission but no luck.
Abt the log, if I check on filter, no error is seen. So I unfilter it. I just copy the one showed up when I click "add widget" If you need more, I will copy all the logs and post it later today.
 
Upvote 0

ducphu

Active Member
Licensed User
Longtime User
I design the widget with designer: add a textbox with black background showing "Now Loading"
Other information, e.g. day, month, year.. is updated by some rv_requestupdate command. The reason to call rv_requestupdate many times is to avoid the bandwidth limit in transferring data to the widget. So after all the data is completed updated, I will hide the "Loading" textbox to showthe calendar (you can see from the code).
What is happening now is after I add the widget, it stay with the "Now Loading" textbox, which, to me the update process can't be completed....
I attached photos showing the working widget and non-working widget.

working_widget.png
non_working_widget.png


Also, below is the more completed log:

getTasks: caller 10252 does not hold GET_TASKS; limiting output
Waiting for service AtCmdFwd...
hasService: mServiceState=0 0 home SingTel SingTel 52501 LTE LTE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false retVal=true
refreshViews: Data not connected!! Set no data type icon / Roaming
refreshViews connected={ wifi } level=3 combinedSignalIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully combinedActivityIconId=0x0 mobileLabel=SingTel wifiLabel="Artemis"xxxxXXXXxxxxXXXX emergencyOnly=false combinedLabel="Artemis"xxxxXXXXxxxxXXXX mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mQSPhoneSignalIconId=0x7f0200a6/com.android.systemui:drawable/ic_qs_signal_full_3 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mQSWifiIconId=0x7f0200c4/com.android.systemui:drawable/ic_qs_wifi_full_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x108076b/android:drawable/stat_sys_tether_bluetooth mRoaming=false
changing data overlay icon id to 0
hasService: mServiceState=0 0 home SingTel SingTel 52501 LTE LTE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false retVal=true
refreshViews: Data not connected!! Set no data type icon / Roaming
refreshViews connected={ wifi } level=3 combinedSignalIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully combinedActivityIconId=0x0 mobileLabel=SingTel wifiLabel="Artemis"xxxxXXXXxxxxXXXX emergencyOnly=false combinedLabel="Artemis"xxxxXXXXxxxxXXXX mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mQSPhoneSignalIconId=0x7f0200a6/com.android.systemui:drawable/ic_qs_signal_full_3 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mQSWifiIconId=0x7f0200c4/com.android.systemui:drawable/ic_qs_wifi_full_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x108076b/android:drawable/stat_sys_tether_bluetooth mRoaming=false
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
changing data overlay icon id to 0
Background sticky concurrent mark sweep GC freed 235329(9MB) AllocSpace objects, 8(244KB) LOS objects, 23% free, 26MB/34MB, paused 3.295ms total 192.321ms
AudioTrack::set : Exit
route: devices 0x2 in mode 0
switchDevice: device 0x2 mode:0
nonCallOutputRouting: 0x2
Routing to rx=Speaker
nonCallInputRouting: 0
Routing to tx=none
switchDevice,rxDev:Speaker, txDev:(null), curRxDev:Speaker, curTxDev:DMIC Endfire
snd_use_case_set(): uc_mgr 0xb6f9db10 identifier _enadev value Speaker
switchDevice: mCurTxUCMDevivce DMIC Endfire mCurRxDevDevice Speaker
snd_use_case_set(): uc_mgr 0xb6f9db10 identifier _verb value HiFi Lowlatency
Set mixer controls for Speaker enable 1
acdb_id 14 cap 1 enable 1
ACDB -> send_audio_cal, acdb_id = 14, path = 0
ACDB -> send_adm_topology
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
ACDB -> send_asm_topology
ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
ACDB -> send_audtable
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
ACDB -> AUDIO_SET_AUDPROC_CAL
ACDB -> send_audvoltable
ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
ACDB -> send_afe_cal
ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
ACDB -> AUDIO_SET_AFE_CAL
ACDB -> send_hw_delay : acdb_id = 14 path = 0
ACDB -> ACDB_CMD_GET_DEVICE_PROPERTY_SIZE
ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
send_hw_delay id = 14 delay_num_entries = 1 result = 0
Setting mixer control: SLIM_0_RX Channels, value: One
Setting mixer control: RX3 MIX1 INP1, value: RX1
Setting mixer control: RX3 MIX1 INP2, value: RX6
Setting mixer control: LINEOUT1 Volume, value: 100
Setting mixer control: SLIM TX3 MUX, value: RMIX3
Setting mixer control: RX3 Digital Volume, value: 68
Set mixer controls for HiFi Lowlatency enable 1
Setting mixer control: SLIMBUS_0_RX Audio Mixer MultiMedia5, value: 1
close: handle 0xb70b85d0 h 0x0
open: handle 0xb70b85d0, format 0x2
Music case
Device value returned is hw:0,14
flags 0, devName hw:0,14
pcm_open returned fd 30
handle->format: 0x2
setHardwareParams: reqBuffSize 1024 channels 2 sampleRate 48000
setHardwareParams: buffer_size 2048, period_size 1024, period_cnt 2
** Service (widget2x2s) Create **
** Service (widget2x2s) Start **
0
getTasks: caller 10252 does not hold GET_TASKS; limiting output
AtCmdFwd service not published, waiting... retryCnt : 3
alarm_callback - Received MAX alarm: apq_therm at Level:18
execute_action - cpu frequency mitigation requester = apq_therm freq = 1512000
Using previous CPU[0] frequency
Using previous CPU[1] frequency
Using previous CPU[2] frequency
Using previous CPU[3] frequency
log_idd - Thermal mitigation:sensor = apq_therm from level = 18 to 17
set_charge_current_level - Set OK Charge Current limit:level 0
log_idd - Thermal mitigation:sensor = apq_therm from level = 18 to 17
execute_action - Set OK Charge Current limit:level 0
set_usb_current_level - Set OK USB Current limit: 1500mA
log_idd - Thermal mitigation:sensor = apq_therm from level = 18 to 17
log_idd - Thermal mitigation:sensor = apq_therm from level = 18 to 17
execute_action - gpu_perflevel mitigation requester = apq_therm freq = 400000000 Hz
GPU[0] frequency limited to 400000000 Hz
log_idd - Thermal mitigation:sensor = apq_therm from level = 18 to 17
execute_action [341] LOCK 0xb6da3060 from 402
execute_action mutex 0xb6da3060 GOT by 402
execute_action - modem_level mitigation requester = apq_therm level = 0
Fusion modem already at mitigation state 0
execute_action [392] UNLOCK 0xb6da3060 from 402
set_bl_limit: thremal limit 240
Client disconnected
Client disconnected
handle_notification - Called
handle_notification - Dumping notification
name: apq_therm
current_level: 17
prev_level: 18
shutdown_in: 0
Adding action: CAM_NORMAL
Adding action: CAM_LTB_TIM_RESET
Adding action: cpu_perflevel
Adding action: charge_current_limit
Adding action: usb_current_limit
Adding action: lcd_brightnesslevel
Adding action: gpu_perflevel
Adding action: modem_level
handle_notification - Going to callback function
hasService: mServiceState=0 0 home SingTel SingTel 52501 LTE LTE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false retVal=true
refreshViews: Data not connected!! Set no data type icon / Roaming
refreshViews connected={ wifi } level=3 combinedSignalIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully combinedActivityIconId=0x7f02037c mobileLabel=SingTel wifiLabel="Artemis"xxxxXXXXxxxxXXXX emergencyOnly=false combinedLabel="Artemis"xxxxXXXXxxxxXXXX mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mQSPhoneSignalIconId=0x7f0200a6/com.android.systemui:drawable/ic_qs_signal_full_3 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mQSWifiIconId=0x7f0200c4/com.android.systemui:drawable/ic_qs_wifi_full_4 mWifiActivityIconId=0x7f02037c/com.android.systemui:drawable/stat_sys_wifi_out mBluetoothTetherIconId=0x108076b/android:drawable/stat_sys_tether_bluetooth mRoaming=false
changing data overlay icon id to 2130838396
hasService: mServiceState=0 0 home SingTel SingTel 52501 LTE LTE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false retVal=true
refreshViews: Data not connected!! Set no data type icon / Roaming
refreshViews connected={ wifi } level=3 combinedSignalIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully combinedActivityIconId=0x7f02037c mobileLabel=SingTel wifiLabel="Artemis"xxxxXXXXxxxxXXXX emergencyOnly=false combinedLabel="Artemis"xxxxXXXXxxxxXXXX mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mQSPhoneSignalIconId=0x7f0200a6/com.android.systemui:drawable/ic_qs_signal_full_3 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mQSWifiIconId=0x7f0200c4/com.android.systemui:drawable/ic_qs_wifi_full_4 mWifiActivityIconId=0x7f02037c/com.android.systemui:drawable/stat_sys_wifi_out mBluetoothTetherIconId=0x108076b/android:drawable/stat_sys_tether_bluetooth mRoaming=false
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
changing data overlay icon id to 2130838396
0
0
getTasks: caller 10252 does not hold GET_TASKS; limiting output
hasService: mServiceState=0 0 home SingTel SingTel 52501 LTE LTE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false retVal=true
refreshViews: Data not connected!! Set no data type icon / Roaming
refreshViews connected={ wifi } level=3 combinedSignalIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully combinedActivityIconId=0x0 mobileLabel=SingTel wifiLabel="Artemis"xxxxXXXXxxxxXXXX emergencyOnly=false combinedLabel="Artemis"xxxxXXXXxxxxXXXX mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mQSPhoneSignalIconId=0x7f0200a6/com.android.systemui:drawable/ic_qs_signal_full_3 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mQSWifiIconId=0x7f0200c4/com.android.systemui:drawable/ic_qs_wifi_full_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x108076b/android:drawable/stat_sys_tether_bluetooth mRoaming=false
changing data overlay icon id to 0
hasService: mServiceState=0 0 home SingTel SingTel 52501 LTE LTE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false retVal=true
refreshViews: Data not connected!! Set no data type icon / Roaming
refreshViews connected={ wifi } level=3 combinedSignalIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully combinedActivityIconId=0x0 mobileLabel=SingTel wifiLabel="Artemis"xxxxXXXXxxxxXXXX emergencyOnly=false combinedLabel="Artemis"xxxxXXXXxxxxXXXX mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mQSPhoneSignalIconId=0x7f0200a6/com.android.systemui:drawable/ic_qs_signal_full_3 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_signal_3_fully mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020386/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mQSWifiIconId=0x7f0200c4/com.android.systemui:drawable/ic_qs_wifi_full_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x108076b/android:drawable/stat_sys_tether_bluetooth mRoaming=false
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
refreshSignalCluster - setMobileDataIndicators: mHasMobileDataFeature = true mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_3_fully mMobileActivityIconId = (null) mDataTypeIconId = (null) mNoSimIconId = (null)
changing data overlay icon id to 0
 
Upvote 0

ducphu

Active Member
Licensed User
Longtime User
You mean the widget's size? In the designer, my base panel is set to 146x146

And here is the xml
B4X:
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:minWidth="110dp" android:minHeight="110dp" android:initialLayout="@layout/widget2x2s_layout" android:updatePeriodMillis="86400000" />

Which size should I use then?
 
Upvote 0

ducphu

Active Member
Licensed User
Longtime User
Sorry all, problem is fixed. It is somehow due to my testing device. An currupted root causes the issue. Thanks.
 
Last edited:
Upvote 0
Top