Sound in a java game

hy,
is it possible to create a sound in a handy java game(J2ME)
mfg pg

In the MIDP 1.0 specification sound is not supported. You can only use the device specific API. The Siemens SL45i has its own classes for sound output. But when you use them, your program will not work on other devices.

Similar Messages

  • Sound volume in java games on E70

    Hi,
    How to change sound volume in java applications?
    The sound is too loud
    Cheers,

    Yes I have this problem with the N80.
    why oh why Nokia deciced to remove the side volume I have no idea. In a call you have to say "hold on" to the person on the line to change the volume.
    If Nokia are going to justify removing things like this then they need to also come up with a flawless alternative. I can only play games with the music on or off.
    Can anyone from Nokia monitoring this thread find out for us why it was removed? and if it was to save space then why doesnt it work all the time?
    Even making it so other keys could turn it up and down wasnt even added!
    Whats going on guys? this is standard usability.Message Edited by stevehodges on 27-Oct-2006
    09:35 PM
    Current Nokia: N80 Black! & 6300 Black!, Next nokia: N96 Previous Nokias: 6230i, 8310,8210,7210,6210,6110,6100,3310 and 2110!
    If I worked for Nokia, I would try and make things work correctly! ;-)

  • Java game installed no sound

    I have installed few java games like prince of persia... but there is no sound coming out of it even after checking twice that i have the sound switched on... there is vibration but no sound...

    this is **bleep**... how come the warning tones is connected with java game sound... grrrrrrr

  • Making some basic Java games

    Can anyone help on how to make some basic java games for my website if you could that would be helpful
    thanks,
    Louie

    Well, first of all you program the Framework, add Graphics / sounds / Data , then you put it in your HP - There you are!

  • Firmware update on my Nokia E52 only run java game...

    Hi, I made that day Firmware update on my Nokia E52 and then update-s all right, only run java games and their sound is gone whether he shall be ON. Anybody have a similar problem and a solution for it?? Firmware-v 052.003 but the date is Cot. 29, 2010) will be happy if you give me an idea how to fix it! I tried quite moratoria preinstall, reset backup I have not done, unfortunately the old Firmware.

    Okay, you are using a MacBook so I am not sure how much help I can give since I use a PC with Vista. In the latest version of Ovi Suite, once the update file has been downloaded and the installation starts, the computer will give your prompts that the phone is disconnected via USB, the phone restarts, the screen flashes, etc. I just leave it alone and after the progress bar on the Ovi Suite ends my phone is updated. I currently have v40. The free maps is available only to v31 and above for 5800 if I remember correctly.
    If possible please use the Ovi Suite instead of PC suite (at least in my experience it works better), and do not in any way touch your phone during updates, even if it "disconnects" from the computer.
    However regarding to your query as to why it is not available via the *#0000# method (or FOTA), updates are generally released through NSU before FOTA, sometimes with as much as a month in difference because the files in FOTA are not the entire update file but rather extractions from it. For example, the v40 FOTA is 17mb (according to someone who said he had it already), while the v40 I downloaded through Ovi Suite was 128mb. 
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • N95 Java Games

    I've installed some Java games on my N95. The installation went smoothly and they run ok. One problem though, sound doesn't work on any of them. I get sound in all the other apps on the N95 and from Symbian games so it seems to be a Java related issue. Anyone any ideas how I can get the Java on my phone playing audio (I tried another N95 and it worked fine on there so there must be an options somehwre to change it).

    I've got Java games that work with audio. Make sure you've got "warning tones" enabled in the profile. If that doesn't help, then it is probably the game's fault.

  • Sound lag when playing games

    Hi,
    My Z1 compact has sound issues when playing games.
    There is a noticable sound lag of about a second (not much but is quite annoying), not only on newer games but also on the older ones, Angry Birds for example.  My recorded videos or YouTube don't appear to have the same issue.
    The problem seemed to occur after I had installed Worms 2: Armageddon when the phone got extremely hot and crashed. It was after the phone had reset and cooled down that I noticed the sound lag issue and Worms 2 was running at a very slow frame rate.
    I then installed Worms 2 on my ASUS TF201 and it runs perfectly with no sound or heating issues.
    I can't seem to find anyone else with this issue so i'm wondering if my phone is faulty.
    Any help would be much appreciated.

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    I suggest that you try to repair the phone software using PC Companion..
    Before repairing your device you may want to backup your information first. Check out this topic for more information on how to.
    How to backup?
    If the issue should still remain I think that this needs to be examined and fixed at a repair center. For more information about how to submit your phone for repair and where, contact your local support team.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How can I download java game?

    Hi everyone, sorry for my english, it is not my native language.
    I have Game.Jar file, which is java game for Nokia ,and I uploaded this file into database.
    Now I have a filed, type of byte[] (array of bites)
    next, I generate URL like http://site.com/getfile.xxx?id=10, and then user go to this URL via WAP, and trying to send him byte[] array with java game data.
    But I don't know which Content-Type i must send :(
    I trying to send Content-Type: application/jar , but after downloading game into mobile phone, the game doesnt open :(((
    please help me!

    excuse me, it's actually application/java-archive
    This works for me (PHP) but unfortunately you have to rename the downloaded file to .jar:
    <?php
    $file = fopen("MimeTest.jar","r");
    header("Content-Type: application/java-archive");
    $text = fread($file,filesize("MimeTest.jar"));
    print $text;
    fclose($file);
    ?>You can try it out here: http://woogley.net/misc/MimeTest.php
    Download that and rename it to .jar and see if the data stayed in tact..

  • Java Game not working on phone

    Hello, Im using mpp sdk to compile and emulate java code. It works fine but when I download it to my phone, it doesnt work.
    Im sure the problem is somthing in the code that my doesnt support that the emulator does, I just dont know what it is.
    My phone is a sony ericsson k500i but Im hoping that this code will work on any phone with a jvm.
    The code is here
    http://www.geocities.com/ed72678954/Life.java
    http://www.geocities.com/ed72678954/LifeCanvas.java
    Thanks very much...

    No- I have a couple of java games apart from this one- but all other work fine. I even downloaded a free ad version of this game from Nokia store and even that gives the same problem. Why Cant Nokia check for compatibility before adding any app in its app store? Same is the case with quick office pro 7 which has compatibility issues with belle as agreed by quickoffice itself. Then why does the app continue to be available in store that too at a price?
    In Love With My C6-01:Now running on Nokia Belle!

  • Sound quit on my game apps

    I cannot hear the sound when I play my game apps.  The side volume button is all way up and the sound bar on the sound scale (when tapping the home button twicw) is in the middle.  What could be the cause?  I have the new iPad.

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Odd sound change in some games

    Background: I recently installed Windows XP, and updated the drivers using the Creative Updater on the support site. since then whenever i run a specific game (DiabloII in this situation) the sound automatically gets louder and degraded. Previously I was running windows 98 with the .vxd version drivers without any issues. This occurs regardless of whether EAX/AudioHQ is installed or not. Originally I tried a driver upgrade installation, since then I've also tried a clean installation of the drivers with the same results..
    sound card: Soundblaster Audigy (not mp3, platinum, gamer etc...) / 5.2.5.44 version drivers.
    I've seen a couple of posts regarding the EAX control panel and settings while running some games. In the posts I've read, when AudioHQ is installed there is no ability to change the EAX settings while the game runs. Previous posts have suggested a clean installation of the drivers to remedy the issue, which does not seem to work in this case.
    Mostly this is affecting me due to the fact i run a minidisc player on the line in jack. Even though I change the source of the line in settings, so that the line in doesn't use the master settings, the line in is still affected. In windows 98, if a game attempted to override the eax settings this was the fix i used.
    Any suggestions are appreciated.

    Is it all apps or just some games. Some games have their own sound settings. If it is all apps, you may have system sounds muted.
    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • How do I get sound to work  for games...?

    How do I get sound to work for game apps, when I have sound for other items on ipad2?

    Have you got notifications muted ? Only notifications (including games) get muted, so the iPod and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • How do I get sound to work on games?

    How do I get sound to work on games, sound work on everything else exept when I play app games since I got the phone, any ideas how to get to work?

    Have you got notifications muted ? Only notifications (including games) get muted, so the iPod and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • Play sound in a java application

    Hi,
    I am creating a sound player program in a java application. Is that possible ? If yes, please tell me how to do that.
    Please reply soon!
    Thank you!

    i have had to use javax.sound and also Java Media Framework to do an aplication, and think jmf is easier than javax.sound cause things in jmf are more abstracted than in js. try with jmf

  • How to make "Levels" in simple java game

    I just wanted to know if anybody knew how to make "Levels" in a java game. In my case, it is to change two polygons that are used in the background. I think you have to use an array of some kind, but i dont really know.
    Here is my source, the polygons are by the massive ///////// areas.
    I cut out the majority of the program, because it was too long.
    public class collision extends Applet implements MouseListener,MouseMotionListener
        private  Image rickImage,mazeImage;
       Image Buffer;
       Graphics gBuffer;
       int x, y;
       int[] LeftWallX = {0,204,204,149,149,162,162,243,260,235,259,232,260,230,207,207,0};
       int[] LeftWallY = {500,499,402,402,341,324,227,191,157,141,135,123,116,109,86,1,1};
       //int[] PlayAreaX = {204,204,149,149,162,162,243,260,235,259,232,260,230,207,207,263,263,245,282,262,274,257,273,250,184,184,170,170,208,216,216};
      // int[] PlayAreaY = {499,402,402,341,324,227,191,157,141,135,123,116,109,86,1,1,86,103,115,129,138,147,155,201,230,323,340,384,384,402,499};
       int[] RightWallX = {500,500,263,263,245,282,262,274,257,273,250,184,184,170,170,208,216,216};
       int[] RightWallY = {500,0,1,86,103,115,129,138,147,155,201,230,323,340,384,384,402,499};
       boolean mouseInside, collide;
       boolean rolled = false;
       boolean msg = true;
       int sX=204,sY=490,sW=12,sH=9;
       //Declare the rectangles
       Rectangle  movingRect,finshBloc,startBloc,oopsBloc;
       //Declare the polygons
       Polygon leftWall,playerArea,rightWall;
            ///Initiate
            public void init()
                 rickImage = getImage(getDocumentBase(), "rick.jpg");
                 mazeImage = getImage(getDocumentBase(), "maze1.jpg");
                 collide=false;
                 Buffer=createImage(getSize().width,getSize().height);
                 gBuffer=Buffer.getGraphics();
                 rightWall=new Polygon(RightWallX,RightWallY,18);
                 playerArea= new Polygon(PlayAreaX,PlayAreaY,31);
                 leftWall= new Polygon(LeftWallX,LeftWallY,17);
            public void paint(Graphics g)
                 drawStuff();
                 g.drawImage (Buffer,0,0, this);
    */

    I'm not exactly sure in your case what you are trying to accomplish. If all you want to do is make new polygons for your levels then you will simply need a Vector of type level (or polygon). Store multiple levels/polygons in that vector. This can be done many ways, probably the most efficient way would be to create a class Level of sorts and create each level object from there. This way you have all your levels stored into that vector.
    I have made programs where the levels/mazes are randomly generated based on certain parameters (this way you would not need to define any specific level). This can be done inside the Level class and added to the vector so that when a level is randomly generated there are literally infinite possibilities. I would suggest posting all your code or at least a breakdown UML diagram of what is going on in your entire program.

Maybe you are looking for

  • PM work order tables in SAP

    Do anyone know which table in SAP contains the functional location and equipment info of an work order. I can find most of the info of an order in AUFK but missing the two fields mentioned above. Thanks

  • Can pdf. documents be downloaded in the ipad

    I would like to edit a pdf. document in my ipad.  How can I save it so that i can edit or manipulate it and then find it again?

  • GR posting with External No Range

    Hi,    Is it possible to create a GR with external number(for both Mtl and Acct document) with correspond to a PO number... Thanks

  • Problems with downloading trial version

    Hi, I tried to download the trial version of LE on http://www.apple.com/logicexpress/trial/ and get a ,,Your download will begin automatically.'' but this never happens. I'm using Safari. Anyone having the same problems? Gruesse, Pablo PowerBook G4 1

  • SAP EP WITH BI Reports

    Dear All We are accessing BI Reports through portal. one user changed the layout & saved it. By  default it's coming that's saved layout with out asking any input. please let me know how to reset the filter setting in particular report. or any other