tydiz...@gmail.com do you have any sample code I can look at?
--~--~-~--~~~---~--~~
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 un
That did it. Man that was difficult. Thank you so much for your help
Marco. I still have a few problems.
1. the sound won't stop when I hit the back button
2. there are no controls to stop and start the video - guess I gotta
make them
3. video is stretched out
Here is the final code if anyone
I noticed with all the copying and deleting code I forgot to add
setContentView(R.layout.main);. So now I don't get the "The
application stopped unexpectedly." error anymore. Now the app starts
up with a black screen then goes back the home screen. Here is the
whole code and the xml.
import ja
> I'm pretty sure there was more than just "NullPointerException" in the
> log. Where exactly did this exception occur?
Here is the full error.
07-10 08:21:04.030: ERROR/AndroidRuntime(11604):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{com.mycorp.myapp/com.mycorp.myapp.m
I added the MediaPlayer.setDisplay() and I added a SurfaceView to my
ui. Now I get "The application stopped unexpectedly." I looked in
the debug log and the error says "NullPointerException". Any help
would be great.
Here is the code.
AssetFileDescriptor afd = getResources().openRawRe
> My bad, that method does not exist. You'll need to get an
> AssetFileDescriptor for your resource, and then use
> setDataSource(FileDescriptor, long, long) with the FileDescriptor, offset
> and length from that AssetFileDescriptor.
>
> I was wondering. I had never heard that before, and I did r
6 matches
Mail list logo