You are right, should be this:
String packageName = ctx.getPackageName();


On Wed, Oct 20, 2010 at 8:40 AM, TreKing <[email protected]> wrote:
> On Wed, Oct 20, 2010 at 4:46 AM, Agus <[email protected]> wrote:
>>
>> ctx.getApplicationContext()
>
> This is completely redundant.
>
> Also, why do you need the "name" anyway?
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered devices
>
> --
> 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

-- 
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