[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-07 Thread wusch
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

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-07 Thread Dianne Hackborn
Sorry I don't know much about the media stuff in android. On Mon, Dec 7, 2009 at 5:32 AM, wusch jwu...@gmail.com 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

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
Yeah, I used that mechanism at first, but what ends up happening is the Intent gets processed by the web browser which then opens the movie. When the video is done playing, an empty browser window is left open that the user has to back button through. It is a crappy user experience. I guess I

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
Yeah, I used that mechanism at first, but what ends up happening is the Intent gets processed by the web browser which then opens the movie. Really? The very class you were trying to reach has an intent-filter on the video/mp4 MIME type, according to the Android source code. If you tried it a

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
Weird, I don't see any intent-filter on that class, I was looking here: http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=AndroidManifest.xml;h=efbaa3dce34327125b257b57ff46379851433fba;hb=HEAD at the Manifest file, maybe I am looking in the wrong place for the

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
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!! Correct me if I am wrong, but shouldn't this projects AndroidManifest.xml be documenting that accessing this class needs permission?

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
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?

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
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

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Dianne Hackborn
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 jwu...@gmail.com wrote: In looking at my exception some more, it almost looks like a Null Pointer error on their