Audio is playing in emulator but not in device

hi,
i want to add a audio file to the startup screen. i hav used the below code. its working in the emulators bbut not on the device.
how to resolve this problem. plz help me
Thanks in advance
try {
InputStream in = getClass().getResourceAsStream("/test-wav.wav");
Player p = Manager.createPlayer(in, "audio/x-wav");
p.start();
catch (Throwable t) {
Alert a = new Alert("Exception", t.toString(), null, AlertType.ERROR);
}

No, I've been told that it may be a crossdomain policy file issue.. since a device would be like running an app local on your computer... so to snag data that is online.. in this case a stream... the streaming server may need a crossdomain policy file allowing connection from '*'. I was going to try it but when i upgraded to the trial of the actual 4.5 release, it broke my code so I have to fix that first :-/

Similar Messages

  • Why does CD burned as "audio" only play in computers but not car?

    I've done all the troubleshooting steps but to no avail. My CDs burned from iTunes play in computers but not in cars. Help!

    Some car stereos can't handle anything other than commercially pressed CDs. I find that burned CDs have a limited playable lifespan for my car and have been told by my dealership that the stereo is not rated to play CD-R discs (but that hasn't stopped me). There's something about the fact that home burned CDs are dye-based whereas commercially burned CDs have more of a metal layer abalated write done that makes them more reliable to read.
    You might have to look into replacing your stereo with one that can handle CD-Rs. Crutchfield is a good place to research them and the included install kits are great.

  • N95 working Fine in Emulator but not in Device

    Hi all,
    I am creating a video based application for N95 which enable
    running video(.3gp) in normal to rotate(90 degree) and display in
    full mode so i tried it with Adobe Device Central's Emulator and it
    is working fine (Note: Emulator was update on 24th sept and adobe
    has released update on 22nd sept)
    but in actual device it is not working fine (means rotation
    is now happening) also i have updated N95's firmware from 21.0.016
    to 30.0.015. my N95 has flash lite 3.0 standalone player too but
    problem is same, kindly look at this..
    Device : N95 with 1GB
    Firmware : 30.0.015
    Flash Lite Player: 3.0
    OS: Symbian 9.2
    thanks
    Maneesh Panwar

    Hi Maneesh,
    Thanks for pointing this out, we'll look at it.
    Mark

  • Menu audio will play during preview but not when disc is burned.

    Encore CS6.
    Menu music plays fine in preview. I know that the file is good. No menu audio after disc is burned. Have tried several different transcoding options. There is menu video too that is working fine.

    Here are notes I couldn't find before I posted that; just general re testing methods:
    Mounting an iso (or building to a folder) is a great way to test.  There are some differences, but it is a great method prior to burning to a disk.  The main difference is simply computer vs dvd player - autoactivate on a button doesn't work with a mouseover, and you can be fooled into thinking your navigation does, or does not, work.  (Even on the computer, don't use the mouse for testing, use the "remote" in the player controls.)
    Encore preview is an emulator, like computer DVD players, that attempts to predict what will happen when a disk is played on a set top DVD player. It has always had issues with some predictions not being accurate. Some inaccuracies are like this one: Encore preview does not work, and a burned disk will. Others are the opposite; it works in Encore preview, and not in a DVD player. The point to be made here is that you cannot rely on Encore preview. You also cannot rely on computer playback of a built image or folder. And, in the end, you cannot rely on playback on one DVD player - some disks work on some players and not on others.

  • Audio book plays on PC but not on my iPod

    I've downloaded a lot of audio books to my 20g Photo iPod and all have played without a problem, until today. My latest download will play on my desktop computer, but on the iPod when I select the book the iPod sequences through the segments 1,2,3, and 4 then returns to "music". I deleted the first download from the iPod and redownloaded it from iTunes and it still will not play on the iPod. Any ideas.

    You might check that the entire file has been copied to your ipod. You can get the size of the audio file by
    1) Select your ipod from the "devices" list in itunes.
    2) Tick the "manually manage music" check box in the summary tab.
    3) Find the audiobook file on your ipod and right click or control click depending on whether you are using windows or mac.
    4) Check the size of the file and compare with the size in itunes.
    Should you find anything odd perhaps copy across manually, though I think it unlikely that you will.
    Alternatively, I have found that if I record audio as a series of shorter files and tag them as "books and spoken" in itunes they end up as "audiobooks". These files are all numbered sequentially but for some reason will not play sequentially on my ipod unless I create a playlist. However the first file will play without doing that. This appears different to your situation but you might want to try creating a playlist with your audiobook files.
    Hope that helps,
    John

  • I am trying to save a mp3 file but firefox does not allow me to save it...it allows me to play the file but not download and asave it to my computer. How do I enable it to save mp3 files on my computer?

    I am trying to save a mp3 file but firefox does not allow me to save it...it allows me to play the file but not download and asave it to my computer. How do I enable Firefox to save mp3 files on my computer?

    Go to Options>Applications tab > search MPEG Layer 3 audio(audio/mpeg) > use "Save File" option on drop down menu.

  • How can I move movies from my computer to my iPad? They will play in quicktime but not iTunes

    How can I move movies from my computer to my iPad? They will play with quicktime but not iTunes so I can't sync them

    Th AVPlayerHD works well for playing other video types.  You can transfer the videos via USB in the app tab in iTunes on your computer.  When you open that tab when you have you iPad connected to the computer scroll down and you will see apps listed on the left and a blank on the right.  Click on the app and then click on the add button under the blank window on the right.  Then navigate to the video you want to play and it will transfer it to the iPad.  I have about 14 movies on mine using AVPlayerHD.  works very well.  Also have VLC player (before it was yanked from the app store).  Works about the same.
    You can also get the app Air Video and stream the video to from your computer to the iPad, and even have Theo ad connected to the tv to watch on there.  I do that all the time with my iPhone.  Saves time with not having to sync movies all the time.

  • ITunes purchased song plays in iTunes but not on iPod

    I have purchased several songs from the music store. One of the songs will play in iTunes but not on my iPod. I've removed the song several times from the iPod and resynced with iTunes, but the song still cuts out in the middle of the song. What should I do?

    If it's just a problem with that song, I would contact the customer service who may authorize another download.
    http://www.apple.com/support/itunes/store/download/#form

  • Music video plays in itunes but not on ipod

    hi
    like my subject line states, i transferred a whole bunch of music videos off of dvd into mp4 format using videora.
    they play in itunes but not on my ipod.
    i transferred about 400 or so at the same time to ipod do you think that's why most of them won't play ?
    should i do it one by one ?
    thanks.

    it's more than just the mp4 format. They need to be encoded correctly with the right dimensions and other attributes as well. I don't bother with this sort of thing right now. If there is anyone who has these specs, just post them here. Otherwise, you can always google them or search these boards for the proper format/size/encoding.

  • After using video capture device to copy VHS to DVD, burnt DVD will play on computer but not

    After using video capture device to copy VHS to DVD, burnt DVD will play on computer but not on DVD player. Tech support for the VCD said my HP DVD burning software has to burn "DVD Video and not DVD data" and to check with HP. How can i check myself.

    Grahamster, welcome to the forum.
    I recommend trying CDBurnerXP for burning video CD's.  I have been using it for years without a glitch.  I use it mainly for burning ISO's, but have used it for all types.  Please let us know if it works or not.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Hi i am putting photos in my project it will play the videos but not the photos never had a problem before

    hi i am putting photos in my project it will play the videos but not the photos i have not had a problem with this before

    If you haven't tried re syncing the apps using iTunes..
    Connect the iPad to your computer. Select it under Devices left side of the iTunes window. Select Apps from the menu, make sure the boxes next to those apps are selected then click the Sync button bottom right side of the iTunes window.

  • I've tried everything I can think of to get my Iphone 4S to play albums like an Ipod does.  All it ever does is play the songs but not the albums in alphabetical order.  I used to think I was reasonably intelligent until I butted heads with this phone.

    I've tried everything I can think of to get my Iphone 4S to play albums like an Ipod does.  All it ever does is play the songs but not the albums in alphabetical order.  I used to think I was reasonably intelligent until I butted heads with this phone.

    Yes i've tried all of that. I've turned it all the way on and off and erased all of my music and put it back on and nothing works. And with the breaking up CDs and putting into compilation categories i have already fixed all of that stuff. It's fine it just doesn't show up in the list of artists. I can find the album in the songs category and the albums category it's just it doesn't show tha name of the artist. All of the other albums that i downloaded before i updated my itunes to th most recent update are fine. It's just the two that i downloaded afterwards. Thanks for trying though.

  • Created project in PE4, burned to DVD - plays on Computer but not on DVD Player.

    Created project in PE4, burned to DVD - plays on Computer but not on DVD Player.
    Vista Ultimate
    Let me know what other info you need.
    Thanks for your help.

    Yes, the lowest possible Burn speed will be a step in the direction of compatibility.
    As for the Quality setting, Robert Johnson has done tests on various versions of PE and has recommend a setting of about 7.8 (IIRC). Unlike Encore, where one has many more choices, PE limits one to a Quality setting of 8. This is about equivilent to the recommend 7MB/s in Encore. Robert found that just below the 8 max. actually yielded slightly better results, than did the full 8, on his tests.
    The three things that help to insure the greatest compatibility with set-top players are, and in pretty much this order:
    1.) Quality media - Verbatim, Taiyo Yuden or Falcon (US only)
    2.) Burn speed (slower is better. It might take a few minutes more, but if it works, you don't have returns or have to do it again.)
    3.) Bit-rate around 7MB/sec
    Remember - no set-top player HAS to play any Burned DVD. Most do, but some just do not - only replicated, pressed discs. Also, some player are still sensitive to the -R and +R media types. This is less a problem with newer units, however it still could be an issue with many older ones.
    Personally, I test a "master" on four different players, plus my computer, before I Burn a batch, or ship out any. One unit is a very high-end Marantz, another is a mid-level Marantz, one is an RCA "el cheapo" and the other is an older Pioneer. I figure if the disc plays everywhere, there is a good chance that it will play for the client - though there are still no guarantees.
    Good luck,
    Hunt

  • HP Pavilion 15-p027ne, Audio working through headphones/earphones but not through speakers

    HP Pavilion 15-p027ne:
    Audio working through headphones/earphones but not through speakers.
    I downgraded from windows 8.1 to Windows 7 (64-bit) and the problem is still not resolved. 
    Appreciate any troubleshooting tips.
    Thanks.
    - HP Pavilion User.

    Hi there @donimuha 
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel.
    I understand that you are getting sound from the headphones/earplugs but not from the system speakers. I am happy to assist you with this.
    As the sound is working through the audio jack, I will assume for now that the audio driver is fine. Please check through the following page, which is very comprehensive. If you are still having a problem it is possibly a hardware issue with the speakers.
    No Sound from the Speakers (Windows 7)
    Let me know if that works for you.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • I can see other accounts on home share and play the songs, but not drag them to my account.  Home share is on "on" on both accounts and both computers are authorized.  What can I do to copy the song from account to account?

    I can see other accounts on home share and play the songs, but not drag them to my account.  Home share is on "on" on both accounts and both computers are authorized.  What can I do to copy the song from account to account?

    okasy if you want to move the music from the other comptuer into your comptuer you can > but if they were purchased with a different APPLE id then you need to authorize the comptuer to play them .
    http://support.apple.com/kb/HT4527
    click homesharing > shows how to move the song onto your comptuer

Maybe you are looking for

  • Can no longer do a hot reboot on New iPad. Very concerned.

    Although it has worked previously, I just discovered that I am no longer capable of rebooting my New iPad by using the volume control-sleep button combination. I've tried to do this several times and I've held both down for up to 20 seconds but nothi

  • Eclipse error

    hi friends, i am using eclipse. i have recieved a fatal error while debugging with eclipse. i never seen this error message before. could anyone explain me this.i am pasting the error below. FATAL ERROR in native method: JDWP "util.c" (Feb 22 2004),

  • Ios6.1, now unable to connect to junos pulse. anyone else getting this message.  connecting using safari

    ios6.1, now unable to connect to junos pulse. anyone else getting this message.  connecting using safari

  • Comma displaying in calculated number

    I have a caluclated column used to calculate a fiscal year. =IF(NextReleaseDate=DATE(2009,7,1),YEAR(NextReleaseDate),IF(MONTH(NextReleaseDate)<7,YEAR(NextReleaseDate),(YEAR(NextReleaseDate)+1))) It works, but the displayed result is less than desirea

  • Can't See NTFS drive no matter what i do / install / code

    I've read and read and read and read and read.  then installed, uninstalled, deleted, coded... no matter what i do i CAN"T get my mac to see my external NTFS drive for the life of me. i'm about to distroy the stupid pc a friend gave me but fist i nee