Force close while calling mainactivity from widget (android)
- by Shaji Thorn Blue
Iam creating a simple widget, by this widget i want to open my mainactivity.
Iam sending a unique key from my widget class to check whether my mainactivity is called via widget or not.
But as soon as i clicked on my widget my mainactivity get force close.
here is code of my widget class...
@Override
public void onUpdate(Context context,…