Android Question Widget icons not showing without reboot - Android 5.x

Discussion in 'Android Questions' started by Peter Simpson, Apr 8, 2015.

Similar threads

B4A Tutorial Automatic Foreground Mode
B4A Code Snippet Theme Colors
B4J Tutorial [B4X] FontAwesome & Material Icons fonts
B4A Question Widget appears after reboot
B4A Code Snippet Change CheckBox colors
  1. Peter Simpson

    Peter Simpson Expert Licensed User

    Hello All,
    Whilst updating my widgets I noticed that on my N5 running Android 5.1 I need to reboot the device before the widget icons appears in the widget list, this never used to previously happen with my N5 running Android 4.4.x KitKat.

    Does anybody have any good suggestion on how I can stop this happening in Android 5.x Lollipop?

    Hmm I've just found these links:
    https://code.google.com/p/android/issues/detail?id=159337https://code.google.com/p/android/issues/detail?id=159337
    And
    https://code.google.com/p/android/issues/detail?id=159822

    Lots of questions, but no answers as yet. The problem appears to be Googles stock launcher :(

    Please note:
    If I run the same install on my S4 running Android 4.4.x the widget icons appear in the widget list instantly, no reboot needed.

    Cheers...
     
    Last edited: Apr 9, 2015
  2. Peter Simpson

    Peter Simpson Expert Licensed User

    Anybody, heeeeeeeeeelp?
    I suppose I could always limit the the SDK until these's a viable solution.

    I can see Android 5.x users installing my widgets from the Play Store and leaving 1 star feedback saying that they can't see the widget in the widgets list blah blah blah. Okay a reboot after the installation then shows the widget but that's defeating the object and this is Android and not Windows that we are talking about here ;)
     
  3. NJDude

    NJDude Expert Licensed User

    Try changing the target SDK in you manifest to the one shown below:
    Code:
    android:targetSdkVersion="13"
     
  4. Peter Simpson

    Peter Simpson Expert Licensed User

    Hey, why 13 specifically @NJDude?
    Everything is themes on corwin42 AppCompat library :D

    I just find it really strange, I really hope that Google can get this sorted quickly.
     
  5. NJDude

    NJDude Expert Licensed User

    Well, 13 because I had issues with widgets on some devices, not sure if it's an Android issue or a B4A issue, the solution to make the widget show up was to enter 13, I got that by trial and error.
     
    Peter Simpson likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice