I have a app with versionCode=1, pre-installed on the device (ie. the app is
placed under /system/app partition)
Then I post an app updated, versionCode=2, on the android market and the
user download the updates the app. So, the updated app on the device is
located @ /data/app

Under this scenario .. will the below piece of code properly detect that the
app is a system app ?

               if((pkgInfo.applicationInfo.flags &
ApplicationInfo.FLAG_SYSTEM)!=0){
                   isSysInstalled = true;
               }

-Dan

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

Reply via email to