1

Widget : Activity automatically launched without onclick()

view story
linux-howto

http://stackoverflow.com – I am trying to open an activity if the widget is clicked. But, when i upload the package into my emulator, the activity opens automatically, even though it should open only if i click on the widget. This is my manifest file. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.NewsWidget" android:versionCode="1" android:versionName="1.0" > <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <service android:name=".UpdateWid (HowTos)