Note that there are some explanatory texts on larger screens.

plurals
  1. POwidget initialLayout not displaying - android
    primarykey
    data
    text
    <p>My application widgets work on my phone and my friends' devices too. But some user on google play complaint about widgets not working.</p> <p>Please help me in finding out what is going wrong?</p> <p>Customer Complaints:</p> <p>*The widgets for this app don't work. No matter what size I try. Not worth the money. I've got free apps that work right on my Sasmsung galaxy Note</p> <p>*Can I get refund widget doesn't work</p> <p>I replied: please confirm is the widget having a black transparent box(check screenshot this is initialLayout) or is it completely transparent.</p> <p>Customer Reply: Ok I tried that and it is still completely transparent <img src="https://i.stack.imgur.com/o8BCQ.png" alt="initialLayout of widget without any update"></p> <p>I used simple code for update</p> <pre><code>try { ComponentName Widget = new ComponentName(context, WidgetProvider2x2.class); AppWidgetManager wman = AppWidgetManager.getInstance(context); wman.updateAppWidget(Widget, remoteView); } catch (Exception e) { e.printStackTrace(); } </code></pre> <p>manifest code</p> <pre><code>&lt;receiver android:name=".WidgetProvider4x3" android:label="Widget(4x3)" &gt; &lt;intent-filter&gt; &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.appwidget.provider" android:resource="@xml/widgetinfo4x3" /&gt; &lt;/receiver&gt; </code></pre> <p>widgetinfo</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:minWidth="250dp" android:minHeight="180dp" android:updatePeriodMillis="0" android:initialLayout="@layout/widgetlayout4x3" &gt; &lt;/appwidget-provider&gt; </code></pre> <p>this is all i did, hope some one can point me to right direction</p> <p><em>The initial Layout is the semi-transparent black box, but customer said completely transparent widget. So is this possible that widget is not displaying the initialLayout?</em></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload