Android :: MediaPlayer Not Running - Just Blank Screen

Mar 5, 2009

I tried a simple mediaplayer application, just to run a .3gp file. First, i put the .3gp file in "Raw" folder and tried to run, but nothing is displaying, just blank screen only.... please guide me, where i am going wrong. I dont have any xml file, is it needed ??

Heres the code, which i am trying

CODE:....................

Android :: MediaPlayer not running - just blank screen


Motorola Droid :: Droid Running 2.2 BB Blank Screen Randomly

Jul 8, 2010

so been rooted for quite some time now, got my droid out of my pocket and its just a blank screen.Tried multiple battery pulls, memory card pulls, boots into recovery, nothing will get it to reboot again. its essentially bricked.I wasn't flashing anything battery was just charged, everythign was fine, 800mhz kernel.Now my question is can I return this phone to the Verizon store and still be under warranty, I've had the phone the day it came out with no problems.I think the screen just went out, I can still move the buttons on the screen even when they don't show, and I can also lock the phone with the lock button. Still will I be okay returning this on warranty with the screen out and rooted?

View 4 Replies View Related

Android :: Crashes - Blank Screens When Running OpenGL Application

Jan 14, 2010

I'm nearly ready to publish my OpenGL game. I've been browsing this newsgroup and I've seen quite a few posts regarding crashes, blank screens, etc when running an OpenGL application on the Droid. I have three questions:

1) What are some common pitfalls that occur when trying to support the Droid/Nexus One? So far, I've tested my game on the Android 2.0 emulator (both WVGA & FWVGA) and everything works fine but I'm still paranoid.

2) I've placed my textures (png) in the assets folder. Will these images be pre-scaled automatically? I've read about specifying density independent images for resources but do the same rules apply for images stored in the assets folder? I'm afraid that pre-scaling will cause my textures to become non-power of 2.

3) What additional strategies have developers been taking to ensure their application works on the newer devices when they only have access to G1/G2 hardware?

View 10 Replies View Related

Android :: MediaPlayer.start - Doesnot Work Fine After Calling MediaPlayer.seekTo - 0

Apr 27, 2009

I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting mp.seekTo(0); but the player calls onCompletion() without playing any sound, this is observed randomly on most of the sounds

My sounds are of short duration mostly less than a second.

I am using a separate MediaPlayer for each sound (as I need this) -

There are almost 28 sounds in my game so i will be creating 28 MediaPlayers.

Below is the attached code for player

Also If I try to play many sounds one after the other in a short period of time i get an error saying "no more track names available". can u tell Why this is happening...?

check the below code:

CODE:........

View 9 Replies View Related

General :: Galaxy Y S6102 Screen Goes Blank / Nothing Appears Except Samsung Logo Screen

Apr 29, 2014

i have tried to install kitkat version for galaxy y duos s6102,for that i installed clockwork mod n cynogenmod n kitkat file..but after installing the screen goes blank,nothing appears except Samsung logo screen,

View 2 Replies View Related

Sony Ericsson Xperia X8 :: Blank Screen / Black Screen / Hang / Freeze Error?

Dec 2, 2010

This was reported in the other thread about X8 Issues, but thought to start a new one to gather feedback from users. It's about the ''black screen'' freezing issue encountered by some users. I have had this several times since owning the phone for a few weeks, so it is a recurring issue. Problem: The phone hangs or appears to be shut down or become unresponsive suddenly. Pressing the hardware buttons doesn't help as the phone doesn't react at all. Solution: Take out cover and battery and restart.Observations: From my own observations, it's not actually a shutdown but a major freezing/hanging. Sometimes when it happens, I can still see vague shades of the display at an angle. After leaving the phone for a while in the pocket, the phone comes back to normal again. Not sure if this is true for all users with this problem. Anyway, gathering more feedback to see how prevalent the problem is, to evaluate whether I should take it to the SE service centre, or whether doing so will help at all.

View 3 Replies View Related

Android :: MediaPlayer Plays Sound But Screen Is Black / No Video

Feb 14, 2009

I'm just trying to play a local video that is a resource with the MediaPlayer class in the most simple way possible. I have confirmed that the video works with players that I download from the marketplace, so I'm assuming that's not the issue.

The problem is that I just get a black screen with no video. There is audio from the file playing though, so I know that the file resource is being accessed correctly, it's just not showing anything on the screen in the emulator.

The one other note is that at any time whenever I try to access getVideoWidth() or getVideoHeight() I get this (non-blocking) error:

ERROR/MediaPlayerService(24): getVideoSize returned -1

Any ideas as to what I could be doing wrong?

import android.app.Activity; import android.os.Bundle; import android.view.SurfaceView; import android.view.SurfaceHolder; import android.media.MediaPlayer;
Code...

View 9 Replies View Related

Android :: Content Provider Blank Screen

Sep 16, 2010

My app has one activity and one ContentProvider, the activity is simple in that it's just a splash screen at the moment with no other logic in it (I do intend to have more activities in the app). The ContentProvider uses SQLite as a back end and loads some static data from files on first install, a slow process due to file sizes and database initialization. My problem is that I want the activity to show up as soon as the install starts and maybe display a progress bar or dialog to show the user progress about the install. At the moment I get a blank (white) screen while the ContentProvider is initialising the data which takes quite a long time and I get "Activity idle timeout for history record" warning in LogCat. My splash screen only shows when the Content Provider is done, from the app standpoint this is undesirable behaviour. One potential solutions would be to manually start the provider via an AsyncTask but I have a feeling that this is a bad approach due to the fact that if the activity is interupted and restarted while the install is underway and a new AsyncTast is created through the activity's onCreate() then I'll have worst problems on my hands. Is there a way to start the content provider in the background and display my splash screen activity straight after the app is started? Note that this problem is only an issue on first install.

View 4 Replies View Related

Android :: Blank Screen And ANR While Application Starting Up?

Apr 6, 2010

While opening my application from application launcher. Sometimes I am getting blank screen for long time (almost 3 min). If I perform some key events then I am getting ANR. Log is as follows.

I/ActivityManager( 57): Starting activity: Intent {
action=android.intent.action.MAIN categories ={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.test/com.test.MyScreen} }
E/JavaBinder( 57): !!! FAILED BINDER TRANSACTION !!!

After this I am getting activity launch timeout and Idle timeout. Is there any design issue with my activity or problem with android environment.

View 5 Replies View Related

Android :: Blank Screen When Switching Activities / Fix It?

Apr 25, 2009

I've got a basic list activity with a few images that when you select one starts a new activity with a SurfaceView (based on the Lunar Lander sample). Some times the screen is just blank, from some debugging I can see that the background .png is being loaded and doDraw() is being called by the activity doesn't display anything for anything from 4 to 20 seconds. Other times the game activity is loaded just fine. I assumed it was some kind of garbage collection problem but I can't see anything in LogCat and the second activity is actually loaded, just not displayed for some reason.

View 2 Replies View Related

Android Emulator Shows Nothing But Blank Screen

May 7, 2014

The problem is that I have created multiple emulators using android 4.4.2 API and none of them show anything but blank screen..I tried an AVD with Google API 19..thats not working either..

View 1 Replies View Related

Android :: End Call On Emulator The Device Screen Goes Blank

Dec 2, 2009

i am writing a widget and trying to prove that it doesn't run when the phone is in deep sleep as i am setting an alarm with type ELAPSED_REALTIME. when i hit the end call on the emulator the device screen goes blank, but i still see my alarms being delivered. am i missing something?

View 4 Replies View Related

Android :: Blank Black Screen While Transiting To New Activity

Jul 16, 2010

I am facing a problem.In my application I have 3 actvities A,B,C which i have declared as singleInstance.I have observed that for the first time when I launch these activities(like A > B or B > C) there is a delay observed and I see a black screen for a while.

I see in the blanch screen the header text that gets displayed is the application name which i have given in the android manifest.xml(android:label="@string/app_name")

I amy unable to understand why this blank screen is observed? Experts please comment on how to avoid it.

View 3 Replies View Related

Android :: Flikie Wallpaper Hd - Blank Black Screen

Jul 10, 2010

Phone - HTC incredible 2.1 no root

I love flikie wallpaper hd app but for some strange reason it fails to load an image sometimes and I just have a blank black screen that stays until I manually change it. I have 400+ wallpapers that I have set to change every 30 min and no I don't have a solid black wallpaper. Anyone else have this problem? Have a solution?

View 2 Replies View Related

Android :: Blank Screen Displayed After Downloading From Browser

Dec 16, 2009

We are developing an application that requires a download of a music file (mp3). We are using the Browser Activity for the same.

The Browser Activity is invoked from the application and the download url is passed to it, like: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(downloadurl)));

However, after downloading, on the download list page, if we press the Back button, a blank white screen is displayed. Only after we press the Back button a second time on this white screen, the application screen is displayed. This happens because the Browser Activity view is displayed before the actual downloading starts.

This is an issue in the application flow. We need to manage the flow in such a way that the 'Back' key press on the download list view will take the control to the application screen instead of the white screen.

View 3 Replies View Related

HTC EVO 4G :: Screen Goes Blank

Jul 14, 2010

Some background info: I got an HTC Evo a few days after the initial launch. I had no problems with the screen at first at least for a few weeks. Then all of a sudden, the screen would go blank after I took the phone off the charger, or would finish a call, and a few other instances. After dealing with that for a little over a week, I took the Evo back to sprint and got a brand new one. I looked all over the forums, but could not find any answers. I know some others are having this issue, but it doesn't seem that widespread. So I get the new phone, and for the first day, I don't install any of the apps I had on the last phone because of a lack of time. No problems to report the first day of use, so I think I'm in the clear. The next day I start installing all of the apps I had on the first Evo, and bang, it starts to happen again. The screen goes blank, and I can do nothing to turn it on except to pull the battery out and restart the phone which is a monster pain. After all of this, I have to think its a software issue. Some app I have running could be causing this? How likely is it that 2 Evo's have this exact same problem, and that it's hardware related? Here is a list of apps I have installed on my phone: maui9111's Apps on the phone. I tried uninstalling several of them, but still can't find the solution. Anyone have any ideas? I love this phone, but this issue is driving me nuts!

View 13 Replies View Related

Android :: Blank Screen Appear When EditText Get Focus In IDPI Mode

Oct 10, 2010

I found that when EditText in placing at the bottom of screen, and the activity's android:windowSoftInputMode="adjustPan", and the apps run in ldpi(240*320) mode, then when EditText has focus, the content of the activity is panned too far to the above, thus leaving a blank screen between the content of the window and the soft input panel.

You can see the screenshot of this problem at
https://sites.google.com/site/wilderwang/android
Also, the source code to repro this problem can also be get at
https://sites.google.com/site/wilderwang/android

When I test further, if the same apps run in hdpi(480*800), when EditText got focus, the content of the window panned too small thus causing the soft input window cover the EditText view. It seems the distance of the window panned not compute the screen density.

View 2 Replies View Related

Android :: Emulator Start But Window Show Blank Screen

Mar 15, 2010

WARN/WindowManager(61): No focus window, dropping: KeyEvent{action=0 code=82 repeat=0 meta=0 scancode=229 mFlags=8}

View 2 Replies View Related

Android :: How To Avoid Blank Screen On Pause Camera Preview

Jun 18, 2009

I'm running a standard camera preview (i use the camera api demo as a reference).

When i hit the capture button, there is a black screen for a good 1/2 second until the captured image appears.

My question is how can i freeze the last image being previewed on the screen while i do the capture work ? I don't mind that the quality of the displayed image is not as good.

If i hit camera.stopPreview() -> that goes into the black screen which i don't want.

View 2 Replies View Related

Android :: Screen Occasionally Goes Blank On Milestones - Possible Causes / Ways Of Debugging?

Jul 7, 2010

I have an application I am currently working on for a client which is suffering from a particularly hard to debug problem. Every so often, the device screen will go blank, not just while running my application, but entirely. If I press the home button, for instance, it's still blank. This happens fairly rarely ( I myself have only seen it once or twice in a couple of months, and unfortunately couldn't gather log information immediately when it happened. What log info I was able to gather seemed to show that the phone continued to run properly - I was still seeing events in the log file - the screen was just blank ). So far, this has only been observed while running on Motorola Milestones ( this may or may not be coincidence - it's hard to tell given the infrequency of occurance ). Has anyone else observed anything similar? Any suggestions as to possible causes/ways of debugging?

View 3 Replies View Related

HTC Hero :: Screen Goes Blank

Feb 16, 2010

When I make a phone call the screen goes blank after 5 seconds. To end a call, I have to press "home" then "end call".Is there a way I can keep the screen on whilst making a call?I have tried home, menu, settings, then sound & display, without success.

View 5 Replies View Related

Android :: Adding View Extending From SurfaceView To Layout Gives Blank Screen

Jun 5, 2010

I'm very new to Android programming, so this is probably something pretty basic. I just have an xml layout with a few buttons. I'm trying to follow the model given by the JetBoy demo, so I'm adding a view to the layout which extends SurfaceView. When this new view is put in my xml layout, I just get a blank screen.

Here's the XML layout if it helps. The gameview element is what causes the screen to be blank

CODE:......................

View 2 Replies View Related

HTC Desire :: Screen Stays Blank

Jul 25, 2010

The thing is that time to time my device does not respond to screen touch. For instance: then there is an incoming call it stays blank and I can not see who is calling and at the same time not able to answer it.

Touching the screen does nothing, only after pushing hard buttons, I am able to terminate the call. Also, when I am trying to access the OS from sleep mode by pressing the power button--there is no home screen--it stays blank. The only thing it does---the lights go on the home, menu, back and search buttons.

I did contact ot HTC help service and they told me to try to use the device in safe mode for two days. (this should terminate all 3rd party applications, that might cause the issue). Its my first day that I am use is in the safe mode and so far I do not experience any problems.

I do suspect that the reason of my problem could be the task killer that I am using in order to eliminator some programs running in background. But I did try out several task killers so far, however the issue remains the same

View 22 Replies View Related

HTC Magic :: Screen Goes Blank After Logo Appear

Nov 26, 2009

I have a problem with my magic which is about 4 months old, When i switched the phone on the Vodafone logo and Andrioid logo appear BUT after this the screen goes blank, if you look from a certain angle the screen looks like its on and glowing white.

View 1 Replies View Related

HTC Desire :: Blank Screen During After Call

Sep 30, 2010

I have an HTC Desire and I managed to break the LCD. I had the LCD and touchscreen replaced (don't ask long story) and now I have the following issue: When I make a call and even before I lift the phone to my ear the screen goes blank. None of the buttons work but the call is fine - I can be heard/hear the other person. When the other person ends the call the phone bips to tell me the call is over, but the screen stays blank. I can re-activate the screen by receiving a missed call - ie calling my phone and then hanging up re-activates the screen. In addition, when my phone rings the screen is fine, but as soon as I answer the call and lift the phone to my ear the screen goes off as before. The only other way to bring the screen back is to remove the battery. Whilst the screen is blank I loose all touch-screen capability too. Everything else on the phone works perfectly, sync to email, text, GPS, camera, internet etc all not a problem.

View 6 Replies View Related

HTC Desire :: Screen Goes Blank On Calls

Apr 20, 2010

Had a HTC desire now for a couple of weeks and Ive come across an annoying problem, when I make or recieve a call and raise the phone to my head the screen goes blank which in it's self is fine, but after the call has concluded the screen remains blank and there appears to be know why to get it to leap back into life ive tried moving /jiggling the phone and pressing all the buttons including the power, the only way seems to be to remove the battery and force a reboot. Anyone else experienced this or have any ideas that might help solve it?

View 49 Replies View Related

HTC EVO 4G :: Hit Home Button / Blank Screen

Oct 31, 2010

So I have had my Evo for about 2 weeks, and all of a sudden when I am in an app, then hit the home button, I am presented with a blank home screen for sometimes up to 15 seconds then all of my widgets and icons appear. It is actually quite annoying now that it is doing this almost every other time I go back to the home screen. It even happens when I hit the back button sometimes to get back to any one of my 5 home screens.Has anyone else had this issue?

View 9 Replies View Related

HTC EVO 4G : Front Camera Causes Blank Screen / How To Fix?

Jun 5, 2010

First of all. So I picked up my EVO a couple of hours ago. I was messing around with it, and switched the camera to the front one, which has now caused the screen to be blank, just black. None of the buttons function when it's like that, except the home screen. Please let me know if anyone knows anything I can do about it tonight.

View 7 Replies View Related

HTC Hero :: Blank Screen Not Wake Up / Locking Up

Dec 5, 2009

I own a hero on orange with the latest orange firmware. Over the past couple of days I've been having a few problems, mainly with my messengers from what I can see. Sometimes when using ebuddy or meebo, my phone's screen will go to standby (blank) as normal but will not wake up or do any functions. I have to take the battery out of the phone and reboot. I tried re-flashing the firmware just incase but it still does it. I'm trying out hi msn to see if that is any better. Just wondering if anyone else has had this problem and also does it sound like a firmware issue?

View 1 Replies View Related

HTC Desire :: Blank Screen On Boot After Upgrade

Aug 7, 2010

My aim was to upgrade to froyo. I set up my GoldCard. I then upgraded the RUU to the following with no problems RUU_Bravo_HTC_WWE_1.21.405.2_Radio_32.36.00.28U_4. 06.00.02_2_release_126984_signed. Now my phone boots with no display, I hear the boot music and the phone is seen by the RUU upgrade if I go back in but no display.

View 26 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved