Note that there are some explanatory texts on larger screens.

plurals
  1. PONo Launcher activity found! in a widget
    primarykey
    data
    text
    <p>Good evening.</p> <p>I've seen that there are people with questions similar to this but I suppose mine is a little different since I haven't found a solution yet.</p> <p>I've developed a basic widget that displays the battery percentage, and today, two people told me that they can't add my widget to their home screen because it doesn't appear neither in the widget list, neither in the installed applications list. They had to uninstall it from the Android Market.</p> <p>I'm not sure if this is a bug on their AppWidgetPicker.apk or a bug in my Manifest since my widgets works in most devices. Feel free to search for "henrique rocha" in the Market and install my "Battery Widget" to see if you have the same problem.</p> <p>In Eclipse I'm getting the following errors: No Launcher activity found! The launch will only sync the application package on the device!</p> <p>I don't know if that might be the problem that causes the widget to not get listed in the widgets list.</p> <p>Since I don't have an activity, neither a configuration activity and adding both action.MAIN and category.LAUNCHER to my intent-filter tag inside my receiver tag didn't solve the problem, I'm asking for your help.</p> <p>Here is my full of Manifest if it helps.</p> <p></p> <pre><code>&lt;uses-sdk android:minSdkVersion="3" /&gt; &lt;application android:icon="@drawable/battery" android:label="@string/app_name"&gt; &lt;receiver android:name="BatteryAppWidgetProvider"&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/appwidget_info" /&gt; &lt;/receiver&gt; &lt;!-- Service to maintain widget alive --&gt; &lt;service android:name="BatteryService" /&gt; &lt;/application&gt; </code></pre> <p></p> <p>And here is my appwidget_info.xml:</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="72dip" android:minHeight="72dip" android:updatePeriodMillis="0" android:initialLayout="@layout/main" &gt; &lt;/appwidget-provider&gt; </code></pre>
    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.
    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