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 <[email protected]> wrote:
> Is it possible to find out the view is from widget or from normal
> application ?
>
> On Nov 12, 8:34 am, GPU <[email protected]> wrote:
>> Hi ,
>> Is widget views are  handled by some system services ?
>> not getting the getContext().getApplicationContext().getPackageCodePath
>> ()
>>
>> On Nov 11, 6:36 pm, GPU <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Jeff Sharkey
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to