Hey guys, I'm in the process of creating a Live Wallpaper that plays a video over and over. I got the manifest.xml done anf set up and got the basics down. The only part I'm having trouble with is trying to code the video into eclipse. I have tried to call a MediaPlayer and start that up, but it didn't seem to work. I have tried everything and I'm not getting an error but the wallpaper on the emulator is just blank...
Any ideas???
Thanks!
Related
Ok so I tried to install my hava player and it didn't show the menus so I couldn't play it. So then I tried the fix to adjust the screen resolution to set up the server and it just kept crashing over and over. So what I did was take my have folder on my old touch pro 2 and copied the files to the hava folder of the hd2. Everything worked great so now my hava works on my HD2. Didn't see anything about it in the search so I thought I would post it.
Hey, not sure if i'm just completely dumb when it comes to this..I'm trying to send my home computer videos that I took with my incredible via email but all the videos have no sound. Anyone know what i'm doing wrong?
DELETE POST - SORRY!
just downloaded a couple of different media players and found one that worked.
hey guys so i got a question which has really bothered me a whole lot for some odd reason. So i have successfully installed and re-installed WP7 onto my HD2 about 5 times all times with complete installation including live services and actually putting music and apps onto it. I am pleased by this build, however one very irritating thing for me at least is how in the world can i get the music player to function properly. the music plays well and all, however the wallpaper of the most recently played artist/album does not show so the backdrop for the music app is pitch black or white never an elegant album art/artist art display. The album cover of the playing album is displayed and all other functions work seemingly except for the "music wallpaper" I've seen it on others HD2 running HD7 so i know that its possible. if anyone knows what went wrong in the installations each time (i've done it the same way as indicated everywhere) i mean not much u can change or mess up with lol. but if anyone else has this problem or knows how annoying it is esp if you are an avid music fan who always kept their music organised and updated with right album art and info its a real bother. so please it may not seem to be a huge problem but it has clearly troubled me so to research, waste hours and then finally post about it.
I have a media file playing in the oncreate, and everytime i switch over to landscape it replays the audio file, i cannot restrict it from turning to land scape because thats the purpose of the app, is there any way i can possible pause the player and start it up again once its on landscape?
i tried
if(alert.isPlaying() == true){
alert.stop;
}else{
alert.start;
}
Click to expand...
Click to collapse
I just typed this out in this post so i know i made an error, im still new to android programming.
Please and thank you,
Alexander Napoles
Take a look at this.
You could also save if it has already been played in a variable.
Or make an extra class, maybe as activity to play to play the audio file. Use an addiotinaly variable to procted the class from being created twice, because we only want to play it once.
This should keep running in the background and not start again when going landscape mode because it is not part of the activity that is getting recreated when you switch your gui to landscape.
Thank you "Clicks Thanks button" Im going to be testing this out tomorrow morning.
I did some searching for about an hour now and haven't found anything pertaining to my problem, about a month ago i suddenly couldn't play videos that i have recorded on my phone. Theres no error message that pops up nor does the phone freeze. When i click any video file in my album it slightly expands, like normal signaling that it recognized that i clicked it, but the phone doesn't do anything. ive tried opening them in windows media player and no such luck. the player pulls the file name and says ready beneath it, i click play flashing opening for a split second. the file then switches to the next video file and does the same thing
*after posting i dug around more on windows media player and finally found an error code "source filter for this file could not be loaded" googled it and traced it to a youtube app, once uninstalled videos are back up and running*