You just got lucky that other launchers requested the internet permission.
 Probably because people's custom launchers have all these widget things
built into them that need to do networking, while for the platform we are
pretty rigid about isolating things.

On Fri, Jun 25, 2010 at 3:14 PM, Dana Epp <d...@vulscan.com> wrote:

> Thanks Dianne!
>
> That seems to be the issue. For some reason that was set in the
> <application/>. According to the source control logs, that has been
> there since day one, generated somehow by Eclipse. I am surprised we
> never had this error before.
>
> Is Nexus One just more strict than other devices for this? I am
> wondering why none of the other devices in the field emmited this same
> behaviour.
>
> On Fri, Jun 25, 2010 at 12:41 PM, Dianne Hackborn <hack...@android.com>
> wrote:
> > That is saying that your main activity has declared that it requires
> callers
> > have the internet permission to invoke it.  Check to make sure you didn't
> > put android:permission="..." for that activity.
> >
> > On Fri, Jun 25, 2010 at 9:38 AM, Dana Epp <d...@vulscan.com> wrote:
> >>
> >> Hey guys,
> >>
> >> I have an interesting problem I just can't seem to get through. I hung
> >> out yesterday in the IRC during office hours in hopes to find someone,
> >> but I guess the Google guys are swamped and couldn't make it.
> >>
> >> We have an app that we have tested successfully across 10 different
> >> devices on 4 different networks without a problem. However, our app
> >> will not work on ANY Nexus One devices, tested across 4 different
> >> carriers. The work flow is like this:
> >>
> >> 1. Via the browser, visit a URL to download the apk file OTA.
> >>
> >> 2. Install app. App shows up on the device.
> >>
> >> 3. Click the icon to run the app. An error occurs saying "Application
> >> is not installed on your phone"
> >>
> >> At this point, we can see the app is trying to run. LogCat shows the
> >> following interesting bit:
> >>
> >> 06-22 16:23:53.477: ERROR/Launcher(148): java.lang.SecurityException:
> >> Permission Denial: starting Intent { act=android.intent.action.MAIN
> >> cat=[android.intent.category.LAUNCHER] flg=0x10200000
> >> cmp=com.mycompany.TestApp/.TestApp } from ProcessRecord{44879720
> >> 148:com.android.launcher2/10016} (pid=148, uid=10016) requires
> >> android.permission.INTERNET
> >>
> >> The funny thing is, I have android.permission.INTERNET use-permission
> >> in the manifest, and no other devices seem to have a problem with the
> >> permissions set there.
> >>
> >> Anyone have any ideas WHY this behaviour is isolated to Nexus One
> devices?
> >>
> >> --
> >> Regards,
> >> Dana Epp
> >>
> >> --
> >> 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<android-developers%2bunsubscr...@googlegroups.com>
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
> >
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.
> >
> > --
> > 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<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Regards,
> Dana Epp
> Microsoft Security MVP
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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