Wrox Programmer Forums
|
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 18th, 2011, 06:40 AM
Registered User
 
Join Date: Apr 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default error using movie in mediaplayer

Hello,

I made a program for a live backround.
But i'm stuck with one error.
The error contains:

Description Resource Path Location Type
error: Error parsing XML: not well-formed (invalid token) mov003.mp4 /liveWallpaper1/res/layout line 1 Android AAPT Problem

The error indicator is only in the package explorer and not in the code.
Why would there be an invalid token?
The mp4 file i'm using is obviously in the "res" folder.

The path is as follows:
Code:
mediaPlayer.setDataSource("/res/layout/mov003.mp4");
Could it have something to do with the "R" file?

Can anyone please help me?

Thanks a lot!

Last edited by Peter N; October 18th, 2011 at 07:37 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 p.87-89 MySql Table 'movie' already exists message and syntax error hunt4it BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 1 June 1st, 2011 07:43 PM
movie 1g0r Pro VB 6 1 October 13th, 2006 12:46 PM
flash movie kanoorani Beginning VB 6 0 September 3rd, 2006 08:18 AM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.