I am having trouble adding Widgets to my homescreen.
I have created a new, completely empty, page but several app Widgets are not listed. There are numerous apps I have downloaded and one that I have coded myself, and none of them are appearing in the list of widgets to add.
What possible reason could be causing this? I’m thinking it’s either that my phone (Huawei Sonic) is not supported for these particular widgets, which is odd for a dead simple one that I have programmed, or I have disabled something important…
Any suggestions?
UPDATE
As requested here is some code, thanks for the help so far.
Manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.widget"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<receiver android:name=".Widget" android:label="Countdown">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/widget" />
</receiver>
</application>
And here is my main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout01"
android:layout_height="200dp"
android:background="@drawable/background"
android:layout_width="160dp"
android:orientation="horizontal">
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical|center_horizontal"
android:textColor="@android:color/black"
android:text="17:12:34 PM"
android:textSize="8pt" />
</LinearLayout>
http://forum.cyanogenmod.com/topic/24792-widgets-are-not-showing-themselves-on-widget-list/