[android-developers] The method bindAppWidgetId(int, ComponentName) is undefined for the type AppWidgetManager error on Jellybean

2013-02-09 Thread Saqlain Abbas
Hi, I got an Android application which was using "bindAppWidgetId" it has been working but on jellybean the same source code does not compile as the API is not available and i get error "The method bindAppWidgetId(int, ComponentName) is undefined for the type AppWidgetManager", i need a solution w

Re: [android-developers] The method bindAppWidgetId(int, ComponentName) is undefined for the type AppWidgetManager error on Jellybean

2013-02-09 Thread Mark Murphy
if (Build.VERSION.SDK_INT>=Build.VERSION_CODES.JELLYBEAN) { // use bindAppWidgetIdIfAllowed() } else { // use bindAppWidgetId() } On Sat, Feb 9, 2013 at 6:37 AM, Saqlain Abbas wrote: > Hi, > > I got an Android application which was using "bindAppWidgetId" it has been > working but on jell