If you're talking about creating RemoteViews for AppWidgets, you're probably looking for Context.getPackageName().
j On Wed, Nov 11, 2009 at 8:11 PM, GPU <gopuraj...@gmail.com> wrote: > Is it possible to find out the view is from widget or from normal > application ? > > On Nov 12, 8:34 am, GPU <gopuraj...@gmail.com> wrote: >> Hi , >> Is widget views are handled by some system services ? >> not getting the getContext().getApplicationContext().getPackageCodePath >> () >> >> On Nov 11, 6:36 pm, GPU <gopuraj...@gmail.com> wrote: >> >> > Hi , >> >> > From View object how to get the application code path for WIdgets >> >> > By using the getContext().getApplicationContext().getPackageCodePath >> > (); i am able to get the >> >> > apk path >> >> > Its giving the path like "data/app/appname.apk" >> > but for widget i am not getting the path >> >> > Is widget views are handled by some system services ? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Jeff Sharkey jshar...@android.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en