Note that there are some explanatory texts on larger screens.

plurals
  1. POWidget not appearing on app list
    text
    copied!<p>I created an widget and it is not showing on the widget list, but when I go to Settings->Application Manager, the widget IS on the app list. I was debugging it and it was working like a charm before, but it disappeared suddenly. I assume it has to do with my manifest. If you need the rest of the code, I can put it on my dropbox. </p> <p>I am currently running 4.1.1 and my log states there isn't any issues... help :/</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ps.transparenttogglewidget" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" /&gt; &lt;uses-permission android:name="android.permission.WRITE_SETTINGS" /&gt; &lt;uses-permission android:name="android.permission.VIBRATE"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"&gt;&lt;/uses-permission&gt; &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE"&gt;&lt;/uses-permission&gt; &lt;uses-permission android:name="android.permission.WAKE_LOCK"&gt;&lt;/uses-permission&gt; &lt;application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" &gt; &lt;!-- AIRPLANE MODE CODE --&gt; &lt;receiver android:name="AirplaneModeWidget" &gt; &lt;intent-filter&gt; &lt;action android:name="android.appwidget.action.AIRPLANE_WIDGET_UPDATE" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.appwidget.provider" android:resource="@xml/airplane_mode_provider" /&gt; &lt;/receiver&gt; &lt;receiver android:name="AirplaneModeIntentReceiver" android:label="AirplaneModeBroadcastReceiver" &gt; &lt;intent-filter&gt; &lt;action android:name="com.ps.transparenttogglewidget.intent.action.AIRPLANEMODE_CHANGE_STATUS" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.appwidget.provider" android:resource="@xml/airplane_mode_provider" /&gt; &lt;/receiver&gt; &lt;receiver android:name="AirplaneModeReceiver"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.AIRPLANE_MODE"&gt; &lt;/action&gt; &lt;/intent-filter&gt; &lt;/receiver&gt; &lt;!-- WIFI MODE CODE --&gt; &lt;receiver android:name="WifiModeWidget" &gt; &lt;intent-filter&gt; &lt;action android:name="android.appwidget.action.WIFI_WIDGET_UPDATE" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.appwidget.provider" android:resource="@xml/wifi_provider" /&gt; &lt;/receiver&gt; &lt;receiver android:name="WifiModeIntentReceiver" android:label="WifiModeBroadcastReceiver" &gt; &lt;intent-filter&gt; &lt;action android:name="com.ps.transparenttogglewidget.intent.action.WIFI_MODE_CHANGE_STATUS" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.appwidget.provider" android:resource="@xml/wifi_provider" /&gt; &lt;/receiver&gt; &lt;receiver android:name="WifiModeReceiver"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.WIFI_MODE"&gt; &lt;/action&gt; &lt;/intent-filter&gt; &lt;/receiver&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre>
 

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