Sorry I don't know much about the media stuff in android.

On Mon, Dec 7, 2009 at 5:32 AM, wusch <[email protected]> wrote:

> Thanks Dianne for the heads up.  Do you know if there are plans to
> expose an intent to play a video directly instead of having to
> redirect through the browser?  Having the browser intercept my VIEW
> intent on a video/mp4 MIME type, just to turn around and launch the
> video player seems kind of silly.
>
> If I use a "RTSP://" protocol in my URL it will launch the player
> directly, but alas the MovieView class chokes on the MP4 video type,
> obviously because I am hosting the file off a standard HTTP server and
> not a streaming media server.
>
> Your insights are greatly appreciated,
> Jeff
>
>
> On Dec 6, 6:35 pm, Dianne Hackborn <[email protected]> wrote:
> > "requires null" means that there is no permission, but that particular
> > component is not exported from the .apk, so -nobody- else can use it.
> >
> >
> >
> >
> >
> > On Sun, Dec 6, 2009 at 10:00 AM, wusch <[email protected]> wrote:
> > > In looking at my exception some more, it almost looks like a Null
> > > Pointer error on their part.
> >
> > > 12-06 11:12:24.869: WARN/ActivityManager(52): Permission Denial:
> > > starting Intent { act=android.intent.action.VIEW dat=http://
> > > videos.captureacard.com/video/CaptureACardTraining-Intro.mp4
> > > cmp=com.android.camera/.MovieView } from ProcessRecord{44de1bb0
> > > 227:com.jww.sos.CaCActivity/10026} (pid=227, uid=10026) requires null
> >
> > > See the "requires null" part at the end, I have seen in other cases
> > > with Intent Permissions, it at least tells you what permission you
> > > require.
> >
> > > But I guess this is what I get for going outside the SDK.
> >
> > > Thanks for all your help.
> >
> > > Jeff
> >
> > > On Dec 6, 12:51 pm, "Mark Murphy" <[email protected]> wrote:
> > > > > Wow, in comparing Google Code search and the Git Repos, looks like
> the
> > > > > Google Code search has newer source.  Those Google Labs guys are so
> > > > > much more on the ball!!
> >
> > > > Yeah, but that hardly seems possible. If they aren't indexing the
> HEAD of
> > > > the associated git repo, where are they pulling it from? Unless the
> > > > problem is the GitWeb on source.android.com. I don't keep a copy of
> the
> > > > full source on my PC, so I can't compare with that.
> >
> > > > > Correct me if I am wrong, but shouldn't this projects
> > > > > AndroidManifest.xml be documenting that accessing this class needs
> > > > > permission?  I thought there was the <permission> tag that dictated
> > > > > what permission was required to access a class.
> >
> > > > There are other ways of applying a permission, though having them in
> the
> > > > manifest is far and away the most common:
> >
> > > >
> http://developer.android.com/guide/topics/security/security.html#decl...
> >
> > > > > Do you know where these permissions are located in source?
> >
> > > > Beats me -- sorry.
> >
> > > > --
> > > > Mark Murphy (a Commons Guy)http://commonsware.com
> > > > Android App Developer Books:http://commonsware.com/books.html
> >
> > > --
> > > 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]<android-developers%[email protected]>
> <android-developers%2bunsubsĀ­[email protected]>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > 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.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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