Does J2ME support any sound related functionality?

Hi,
I can't find sound related classes or api in MIDP.
If I want to write a game, where can I find sound related information about MIDP or J2ME.
Yin-Hsong Hsu

One option is using Alert or AlertType, see the API. With that, you can play a few default sounds.
Another option is using proprietary APIs. See Nokia UI API or the Siemens API. Disadvantage: only few phones support those APIs, nada write once run anywhere.
For example, the Nokia 7650 doesn't even support switching on the backlight or vibrating, which should be possible via the Nokia UI API. However, you can play .wav sounds with that API and that phone (but not on the other Nokia phones I know of).

Similar Messages

  • Does J2ME support introspection?

    Does J2ME support introspection?

    J2ME CDC supports reflection. J2ME CDC + Personal
    Profile supports Javabeans. However, I've never tried
    that on CDC, so I can't say whether it works like in
    the J2SE world.Hm, AFAICT the support of javabeans is at most partial. The personal profile supports some classes of the package java.beans, however apparently not those related to introspection.
    E.g. IntrospectionException is missing (at least in the reference implementation). That's why log4j fails for me on CDC.
    The CDC whitepaper says "partial support", but doesn't go into detail.
    Does anybody know if any other CDC implementation supports introspection?

  • Does J2ME support GPRS?

    Hi,
    I am fairly new to J2ME and I would appreciate if you could help me with my questions.
    I am designing a wireless application. This wireless application is going to run in the background. The application is going to read data from the GPS (built in mobile device) and based on the business logic, it is going to send the phone number to a centralized server. I don�t want the user to do anything therefore I am designing this application to run in the background like a daemon. I want this applicatio to handle everything rather than the user. Here are my questions:
    1. Do you see any problems with this design?
    2. What is the best way to send this data back to centralized server?
    3. Do I have to have a mobile device with GPRS to access to this centralized server? If so does J2ME support GPSR? If not, what should I be using?
    Thanks in advance,
    Mustafa

    Hi;
    Trying to help you...
    1. Do you see any problems with this design? Yeah.... Background J2ME applications is not possible yet until MIDP2 specifications. MIDP3 probabily will have.
    2. What is the best way to send this data back to
    centralized server?You can make a phone web-client sending a request to a servlet.
    3. Do I have to have a mobile device with GPRS to
    access to this centralized server? If so does J2ME
    support GPSR? If not, what should I be using?Yeah, you can send it over GPRS. J2ME does support this... actually, GPRS is a data switch protocol... witch turns possible to send data... its transparent for J2ME.
    Try to make a simple web servlet receiving the data in parameters header. You can use a free Application Server like Tomcat (Catalina). So, use your midlet for access filling the header with the parameters and send it over your web access.
    []s

  • Missing sound. my Mac Pro does not have any sound

    My computer does not produce any sound when playing back any media files

    Good Morning gmcres,
    If you are not hearing sound from your computer, take a look at the troubleshooting steps below.  Is this only happening in iTunes?  Are you able to hear system sounds (alerts, etc.)?
    OS X Yosemite: If you can’t hear sound from your speakers
    https://support.apple.com/kb/PH18958?locale=en_US&viewlocale=en_US
    Have a great weekend!
    - Judy

  • Help!!! Installed Sound Card driver does not support Direct Sound input

    I have just installed Premier Pro CS3 on a brand new PC. I am a new user and I am receiving a message "The installed sound card driver does not support direct sound input".
    PC is a 3 GHZ Intel Duo
    4 G RAM
    2 x 500 G HD
    Windows Home Vista Preminum
    I am sure it is a simple fix and really appreciate any one given me the time or guidance to help get me started.
    Many Thanks
    Brendan

    Thanks Harm for the prompt reply, nice one!
    Sound Card is a "Realtek High Definition Audio"
    Driver Version 6.0.1.5408
    It was shipped with this Dell PC.
    I checked the driver was up to date etc. So not sure what to do now.
    Cheers

  • DOES J2ME SUPPORT WINDOWS CE?

    Hi
    Does J2ME support Windows CE, If yes then how can we configure it on Pocket PC ?
    Please Reply
    Thanks
    Vicky

    does Microsoft pocket Pc support Java or j2me?
    and or/ does Windows CE support any of them? i am
    going around in circles tring to find out. ahhh!!!Try PersonalJava

  • Safari 8.0.2 does not play any sound (but sound works in other apps).

    Safari 8.0.2 does not play any sound (but sound works in other apps).

    Hi Michaelgst,
    Welcome to the Apple Support Communities!
    I understand that you do not hear sound from Safari on your computer but you do hear sound in other applications. There may be several troubleshooting steps I would suggest to troubleshoot this situation. 
    The first troubleshooting steps I would recommend would be removing any unsupported third-party add-ons. Please use the information and instructions located in the attached article to complete this process. 
    Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues - Apple Support
    Best regards,
    Joe

  • Does j2me support jdbc for Palm Oracle Lite(8i/9i)

    I have a requirement to develop an application in Java for PALM OS with Oracle Lite 8i/9i connectivity. does j2me support jdbc for Palm Oracle Lite(8i/9i). Please help me to know what all java VM available in the market which have oracle connectivity(jdbc/odbc/whatever) for Oracle Lite for PALM.
    thanks
    dk

    Pleae some one reply, if j2me/kvm supports jdbc/odbc connectivity to oracle lite 9i/8i on palm
    thanks
    dk

  • My iphone5 does not have any sound from the speakers ringtones or music any suggestions?

    my iphone 5 does not have any sound from the speakers any suggestions on what culd be the problem and hopefully a fix

    Just to add to this I can hear through the small speaker and the headphones it is just the speakers for ringtones and music etc

  • My pad does not have any sounds at all

    Please . My ipad does not have any sounds at all .. I dont know what to do
    I shut it off while there was music playing and when i turned it back on , there was no more sounds completely

    There's a little button by the volume rocker switch that's a dual purpose button. It's an all mute or a rotation lock. Could you have flipped that button by mistake?

  • My iphone 4 does not make any sound except when i have call. Any sound notification for example whatsapp or email or playing song i could not hear a pip, but when blug the earphone i could hear all sound via earphone, any advise??

    My iphone 4 does not make any sound except when i have call. Any sound notification for example whatsapp or email or playing song i could not hear a pip, but when blug the earphone i could hear all sound via earphone, any advise??

    Check the Mute switch, which is on the left side of the phone above the volume buttons.

  • Does apex support any server side JSP or PHP?

    I have the folowing script that is used to save flash files as images. I am hoping there is some way to make these serverside calls from within apex.
    <%@ page import="java.io.OutputStream"%>
    <%@ page import="java.awt.Color"%>
    <%@ page import="java.awt.Graphics"%>
    <%@ page import="java.awt.image.BufferedImage"%>
    <%@ page import="javax.imageio.ImageIO"%>
    <%
         //Decoded data from charts.
         String data="";
         //Rows of color values.
         String[] rows;
         //Width and height of chart.
         int width=0;
         int height=0;
         //Default background color of the chart
         String bgcolor="";
         Color bgColor;
         //Get the width and height from form
         try{
              width = Integer.parseInt(request.getParameter("width"));
              height = Integer.parseInt(request.getParameter("height"));     
         catch(Exception e){
              //If the width and height have not been given, we cannot create the image.
              out.print("Image width/height not provided.");
              out.close();
         if(width==0 || height==0){
              //If the width and height are less than 1, we cannot create the image.
              out.print("Image width/height not provided.");
              out.close();
         //Get background color from request and set default
         bgcolor =request.getParameter("bgcolor");
         if (bgcolor==null || bgcolor=="" || bgcolor==null){
                   bgcolor = "FFFFFF";
         //Convert background color to color object     
         bgColor = new Color(Integer.parseInt(bgcolor,16));
         //Get image data  from request
         data = request.getParameter("data");
         if(data==null){
              //If image data not provided.
              out.print("Image Data not supplied.");
              out.close();
         try{
              //Parse data
              rows = new String[height+1];
              rows = data.split(";");
              //Bitmap to store the chart.
              //Reference to graphics object - gr
              BufferedImage chart = new BufferedImage(width,height,BufferedImage.TYPE_3BYTE_BGR);
              Graphics gr = chart.createGraphics();
              gr.setColor(bgColor);
              gr.fillRect(0,0,width,height);     
              String c;
              int r;
              int ri = 0;
              for (int i=0; i<rows.length; i++){
                   //Split individual pixels.               
                   String[] pixels = rows.split(",");               
                   //Set horizontal row index to 0
                   ri = 0;
                   for (int j=0; j<pixels.length; j++){                    
                        //Now, if it's not empty, we process it                    
                        //Split the color and repeat factor
                        String[] clrs = pixels[j].split("_");     
                        //Reference to color
                        c = clrs[0];
                        r = Integer.parseInt(clrs[1]);
                        //If color is not empty (i.e. not background pixel)
                        if (c!=null && c.length()>0 && c!=""){          
                             if (c.length()<6){
                                  //If the hexadecimal code is less than 6 characters, pad with 0
                                  StringBuffer str = new StringBuffer(c);
                                  int strLength = str.length();
                                  for ( int p = c.length()+1; p <= 6 ; p ++ ) {
                                            str.insert( 0, "0" );
                                  //Assing the new padded string
                                  c = str.toString();
                             for (int k=1; k<=r; k++){     
                                  //Draw each pixel
                                  gr.setColor(new Color(Integer.parseInt(c,16)));
                                  gr.fillRect(ri, i,1,1);
                                  //Increment horizontal row count
                                  ri++;                              
                        }else{
                             //Just increment horizontal index
                             ri = ri + r;
              //Returns the image
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition", "attachment; filename=\"FusionCharts.jpg\"");
              OutputStream os = response.getOutputStream();
              ImageIO.write(chart, "jpeg", os);
              os.close();
         }catch(Exception e){
              //IF the image data is mal-formatted.
              out.print("Image data is not in proper format.");
              out.close();
    %>

    NO, APEX does NOT support running jsp or PHP scripts..
    Thank you,
    Tony Miller
    Webster, TX

  • Does Mathscript support Matlab's Slice function?

    Hello,
    I am trying to decide whether to take on a project using Matlab or Labview.  The project will require plotting of volumetric data, both as slices and as 3D volumes.  I currently do not have LabVIEW 8.20 installed on any of our machines, so I am not able to test these things.
    I have not seen Matlab's Slice function in the list of Mathscript functions.  Is it not supported my Mathscript?
    Also, I see that Surf is a supported function; does Mathscript also support the alpha channel control that is present in Matlab for Surf plots?
    Thanks,
    Gary

    Hello Gary,
    Unfortunately, the slice function and the alpha channel are not currently supported by LabVIEW MathScript.  However, the LabVIEW 3D graph control (which is used by the surf command) has some transparency options.  They can't be set from LabVIEW MathScript, but I can provide some more details about how to use them if you want.
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

  • Application Builder for labVIEW 7 Doesn't support any report generation function

    I'm Using LabVIEW 7.0 to build an application My Application is exporting data to an excel report. the vis were working great until i tried to creat an .EXE file. The application is working fine but when i try to generate the report nothing happens.
    So, I decided to test the report generation functions alone (New Report.vi, Append report text.vi and Dispose Report.vi). The Problem Still there, the .EXE file takes no action when i attend to generate a report. any suggetions please.

    Shady Yehia wrote:
    > I'm Using LabVIEW 7.0 to build an application My Application is
    > exporting data to an excel report. the vis were working great until i
    > tried to creat an .EXE file. The application is working fine but when
    > i try to generate the report nothing happens.
    >
    > So, I decided to test the report generation functions alone (New
    > Report.vi, Append report text.vi and Dispose Report.vi). The Problem
    > Still there, the .EXE file takes no action when i attend to generate a
    > report. any suggetions please.
    Another possible reason besides of possible path problems: Are you
    running that application on the same computer? If not you need not only
    to install the Runtime-Engine (automatic when you create an installer)
    but also the Report Active X support.
    To include that into the installer
    you go into the Installer Settings Tab, then press the Advanced button
    and make sure that you check the NI Reports Support checkbox before
    creating an application build.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • My new iphone 4 does not have any sound when recording a video with the camera app.  Does anyone know how to fix this?

    I just got a new white iphone 4.  When I try to take a video using the camera app, there is only a muffled sound.  I never had this problem with my old iphone.  I tried to restore it and that didn't help.  I checked over all of the settings.  Does anyone know how to fix this??  Thanks for any help you can offer!

    There is a good possibility that your trimming of the SIM card could have damaged it some way. If the SIM was working in the old phone, then you cut it and the first new phone didn't work and now this phone doesn't work, it leads me to believe it has to do with the SIM card or the account. You are sure there is no problem with the account. Did you check with the provider when you got the iPhone 4 to make sure there was no problem with the account when you could not send or receive SMS? Why can't you just get a micro-sim? The iPhone should have come with one when you purchased it.The iPhone 4 is designed for a micro-sim. I don't believe this is a hardware problem unless the phone has been hacked or modified in some manner.

Maybe you are looking for

  • JDeveloper 10.1.3.2 pdk-struts taglib doesn't work

    Hi all, I just installed new jDev version (10.1.3.2) and I migrated all projects and setting from 10.1.3.1, but I still got a little/big problem with PDK-Struts taglib. In the previous jDev version portlet add-in wasn't include and to use pdk-struts

  • Can't get photos in iCloud upload folder on pc to upload - help?

    I've asked this question before but no answer for the problem. I believe I have everything set up properly on all my iOs devices and on my PC (where I have the iCloud control panel working). The problem is that any pictures I drop into the Upload fol

  • Performance problem in SELECT statement

    HI All, How to improve the performance in given query? Query is..   data : begin of tzdate OCCURS 0,            zdate like sy-datum,          end of tzdate. data: p_adrnr like lfa1-lifnr.    SELECT  single adrnr into  p_adrnr           FROM lfa1     

  • I am just unpacking a new IMac with Mountain Lion software & I can't find the DVD disks

    I would like to make sure I don't toss out the DVD install disks Thanks Gene

  • Update Query Taking 23 seconds

    I am not sure if I am in the correct location or if I should be in the SQL forum but here is my question: I have an update statement that goes out through SQL 2000 through a local linked server to another SQL 2000 server on my machine. When I run the