Jdk1.3+ support in J2ME

Hi,
Can somebody tell me if j2ME supports all classes written using JDk1.3 and JDK1.4? I mean if we write some java classes using Jdk1.3 will they run seamlessly on a PDA or mobile device that supports the latest version of J2ME? (By seamlessly i mean that we wont have to introduce any changes in them just because some classes of jdk1.4 are not supported by J2ME...)
Tahir.

If by j2me you mean MIDP (the profile most java enabled mobile-phones implement), than it's definitively not possible.
Even with PersonalJava you would have to make some changes to get it to work (some classes are not supported).
So the answer is: no.

Similar Messages

  • Darshan Prajapati -- About RTP support in J2ME

    Hello friends I am developing the SIP client on J2ME. I want to route speech packets in real time in both client server direction. Also I want to continuously monitor the microphone to get the speech of the user and then simultaneously encode that speech and send it over wifi or internet through RTP packets.
    So how can I do this? Please tell me api for getting continuous input from microphone(I do not want to first record and then send it.) and also making RTP packets to send it on internet.
    Thanks in advance !
    Darshan Prajapati

    There is no RTP support in J2ME. Vikram Goyal has done some experiments using current mmapi but it does not work because of limitations of Manager and Player classes.
    http://today.java.net/pub/a/today/2006/08/22/experiments-in-streaming-java-me.html?page=1

  • Which handheld devices support both J2ME and Wi-Fi?

    Which handheld devices support both J2ME and Wi-Fi?

    Hi,
    Got the Lumia CYan update yesterday hoping that it would fix my bluetooth problem. I have Cortana on my Hong Kong country variant but still bluetooth issue is not resolved.
    After pairing instance, the bluetooth does not re-connect on subsequent attempts (it does try to reconnect). On reconnect attempt it fails and presents "tap to pair" under the bluetooth network.
    Please help.
    Daman
    Lumia 1520
    Past: Icon, 928, 720, N9, N97(ugh)

  • Does jdk1.6 supports for MAC os also?

    hi,
    does does jdk1.6 supports for MAC os also? becuase we have implemented some of the methods of jdk1.6 in my application.for example to find the free space i used getFreeSpace() method of jdk1.6.like this i used some the methods of jdk1.6.
    please clarify me regarding this?
    how can we free space of windows,linux and mac os with java1.4 or 1.5?
    does it possible with java to find the free space?
    if not with which one can we find the free space windows,linux and mac os ?
    i think with native code it is possible.
    i f any person already impleamented to find the free space of windows,linux and mac o/s please give me the code.
    thanks,
    prasad

    I gave you some time to either edit one of the duplicate posts out or point one to the other by posting a simple link, like this:
    THIS IS A DUPLICATE POST. PLEASE DO NOT REPLY HERE -- reply to the other one instead at:
    http://forum.java.sun.com/thread.jspa?threadID=5204340
    But I guess it's too much to ask for you to have done that yourself, eh?

  • Unicode support in j2me urgent

    does kvm supports unicode?
    how can we display arabic characters by using j2me?
    thanks
    iffat,beenish

    the MIDP is much more restricted in terms of localization than j2se. however, the CLCD can handle 16-bit unicode characters using InputStreamReader and OutputStreamWriter.
    if you look at a constructors:
    InputStreamReader (InputStream ins, String enc)
    the class converts the input bytestream into a unicode character stream based on the encoding given by the value enc.
    more info:
    http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html

  • RTP support in J2ME

    hi,
    i am doing a proj to stream captured video to mobile phones. i can stream them using rtp. but in the mobile, i am not able to receive it.
    the code is
    player = Manager.createPlayer("rtp://192.168.10.81:42060/video");
    this throws a mediaexception: cannot create player for rtp 192.168.10.81:42060/video
    can anybody help me plz... its urgent.
    thanks in advance
    premitha

    HI all,...
    appearantly we all have the same problems...
    i want 2 implement rtp player for ipaq h5550. Ive used j9 but i dont know how to implement mmapi to ipaq so j9 can run it....
    i want 2 use the jeode vm with jmf, but i dont have any jeode coz ive lost my cd...and they (HP) doesnt support it anymore,
    i heard in the forum that rtp player worked with j9 and jmf crossplatform. so would anyone who have made it please help all of us,..
    im beginning 2 felt sick about this.....
    thx
    regards ,
    hendra

  • Is WMA format is supported in j2me

    i am interested in playing a WMA format file through player obj is it possible ? if not so how can i add marker to mp3 or au or mid format
    hoping for an early reply
    thankx in advance

    sojourner_jdk wrote:
    Hi DarrylBurke,
    You are right. Its not "Format". String has "format" function ..
    String s = String.format("The Number : %d %s", num, str);Is there such class/api in J2ME?
    Thanks,
    Regards,
    -DKIn J2ME MIDP, [String has no "format" function|http://java.sun.com/javame/reference/apis/jsr118/java/lang/String.html|javadoc].

  • Support for JDk1.3+ in J2ME

    Hi,
    Can somebody tell me if j2ME supports all classes written using JDk1.3 and JDK1.4? I mean if we write some java classes using Jdk1.3 will they run seamlessly on a PDA or mobile device that supports the latest version of J2ME? (By seamlessly i mean that we wont have to introduce any changes in them just because some classes of jdk1.4 are not supported by J2ME...)
    Tahir.

    I suppose that if you don't use classes that aren't supported by J2ME and are supported by JDK1.3+ you won't have a problem.
    Everething Depends on the J2ME technology you are using. For example if you are using Personal Java your classes should be compatible with JDK1.2 or less.
    Hope that helps...

  • Does Verizon support J2ME?

    We are developing J2ME cell phone based applications for mobile learning and test preparation See
    PowerVocabForGRE2006 at http://www.applimobile.com/
    We are running into problems with deploying them on phones from Verizon. I noted that Verizon supports BREW. Does it mean that they have NO SUPPORT for J2ME? Is there an alternate way to get J2ME apps to run on their phones?
    Please help! We also have a trial download on our website, so if you wan to try it out on your Verizon phone before replying, that would be awesome. Thanks.

    If it support BREW, it does not support J2me! Solution would be:
    1. to port the J2me code to brew
    2. to make BREW wrappers for the J2me code stuff.
    And you don't need to spam to aks questions. It works well without all the crap around it ;)

  • J2ME noobie - Mobile & PDA Support

    I'm just getting started with J2ME and need some advice. I'm currently developing an application that is required to run on mobile phones and PDA's.
    Support:
    I understand that there is no problem with mobile phone support for J2ME although I'm having great difficulty in determining support for PDA's.
    Do PDA's need to download the KVM or are they already installed or is it manufacturer preference. If they do have to download the KVM where can I get my hands on it, been looking around the sun website but can't get much on it except for different versions like IBM JSomething but that costs.
    Emulators:
    I've got the emulators that came with the wireless tool kit but need more anyone know where I can lay on different types of emulators.
    if anyone has any further info on PDA & mobile development that would be appreciated.
    TIA

    Ya. U need to download the KVM explicitly although u r using java enabled mobile...
    U can do that by just downloading the java wireless Toolkit on ur mobile device....
    Further assistance contact me: [email protected]

  • Creating a .jpg image from with in the J2ME app

    Hi,
    I want to send a document to the printer over bluetooth to print.
    For that I searched on net, but couldn't find any APIs supported by J2ME to print it. I also found a link http://www.hcilab.org/documents/tutorials/Brother/ where I found that I can send the data by creating an image and then writing data (text or image ) in to it, and then sending that image to print.
    Image img = Image.createImage(816, 40);
    Graphics g = img.getGraphics();
    g.setColor(0, 0, 0);
    g.setFont(Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,Font.SIZE_LARGE));
    g.drawString("Printing test from "
                             + System.getProperty("microedition.platform") + " on "
                             + new Date(), 10, 10, 0);
    driver.print(img, btAddr);This code is working fine on this printer.
    I am using HP 460cb printer, and I tried the same thing, but am not getting any results. Can any one of you tell me what mistake am I making.
                    Image blankImage = Image.createImage(SpotBilling.MAX_IMG_WIDTH, SpotBilling.MAX_IMG_HEIGHT);
                    Graphics g = blankImage.getGraphics();
                    g.setColor(0,0,0);
                    g.setFont(Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_PLAIN, Font.SIZE_SMALL));
                    g.drawString("Printing test on Wednesday - 18th Jan, 2006", 10, 50, Graphics.TOP|Graphics.LEFT);
                    g.drawImage(imgTest, 60, 150, Graphics.HCENTER | Graphics.VCENTER);
                    int width = blankImage.getWidth();
                    int height = blankImage.getHeight();
                    int y = 0;
                    os.write(CMD_UNIVERSAL_EXIT);
                    for(int i = 1; i<=height; i++){
                             blankImage.getRGB(temp, 0, width, 0, y, width, 1);
                             byte[] pixels = new byte[width];
                             for (int x = 0; x < temp.length; x++) {
                                  pixels[x] = (byte) ((((temp[x] & 0x00FF0000) >> 16)
                                       + ((temp[x] & 0x0000FF00) >> 8) + (temp[x] & 0x000000FF)) / 3);
                             // Transfer Raster Graphics
                             os.write(TRANSFER_RASTER_DATA);
                             byte[] len = numToDecimal(pixels.length);
                             os.write(len);
                             os.write(DATA);
                             os.write(pixels);
                             y++;
                        }I have another query, if I can not do this. Is there any way I can create a .jpg image from with in the J2ME application.
    I have some text and an image that I get by invoking camera from the code and then capturing a picture. I need to combine them both, and then send it to the printer.
    If there is any way, I can convert this blankImage mentioned above (containing both text and Image), please provide me the solution.
    Any document or any source code is appreciated.
    regards,
    Ashish

    I have succeeded in creating a mutable image that contains text and image (.png), through
                         Image img;
                         img = Image.createImage(50, 60);
         protected void paint(Graphics g){
              g.drawImage(img, getWidth()/2, getHeight()/2, Graphics.HCENTER | Graphics.VCENTER);
              Graphics graph = img.getGraphics();
              graph.setColor(0, 0, 0);
              graph.setFont(Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,
                             Font.SIZE_LARGE));
              graph.drawString("Printing test from "
                                       + System.getProperty("microedition.platform") + " on ", 10, 10, 0);
              graph.drawImage(image, img.getWidth()/2, img.getHeight()/2,Graphics.HCENTER|Graphics.VCENTER);
              graph.fillArc(0,0,10,10,0, 360);
         }Now I want to create a .jpg image of this img image(Mutable image).
    What I am doing is that,
    1. I am converting this image in to int array, using getRGB() method.
    2. Then I am converting int array in to byte array.
    3. And then I am opening a file(extension is .jpg)
    4. Then I am sending this byte array in to the file which is .jpg
    The .jpg file is getting created, but the data in it is very absurd, like yyyyyyyyyyyyyyyyyyyyyyyy.
    Please help me in this matter.
    Regards,
    Ashish

  • J2ME and java.nio

    I'm not sure which forum this should go in so applogies if I got it wrong.
    I would like to use the java.nio package from JDK1.4 with the J2ME. Is this possible in any way?
    cheers
    Andrew

    I'm not sure which forum this should go in so
    applogies if I got it wrong.
    I would like to use the java.nio package from JDK1.4
    with the J2ME. Is this possible in any way?this topic should be post at
    CLDC and MIDP
    http://forum.java.sun.com/forum.jsp?forum=76
    or
    K Virtual Machine (KVM)
    http://forum.java.sun.com/forum.jsp?forum=50
    CLDC 1.0 and MIDP 1.0 doesn't include java.nio
    please go to
    http://java.sun.com/j2me/docs/
    two documents will be useful
    CLDC Specification, V1.0
    MIDP 1.0 Specification, Final (JSR 37)

  • Signal 11 using thin driver with J2ME

    I'm trying to use JDBC in a client application on a linux appliance using J2ME (CDC, Foundation Profile with optional JDBC package), but when it tries to load the Oracle driver (oracle.jdbc.pool.OracleDataSource) there is a memory fault. I know it's not a memory allocation or memory size problem, because on my desktop it only allocates 300 K, and I have more than 10 Mb free RAM in the appliance, and I changed all possible memory parameters in the JVM initialization.
    At the end of the day, all I need is to connect to an Oracle 8.1.7 database from embedded Linux. Is it possible to use oracle.lite.poljdbc.POLJDBCDriver , the driver for Oracle Lite, instead of the driver in classes12.zip? Will the client work correctly?
    If you have some contact with Oracle and interest in J2ME, I would like to encourage you to visit
    http://jcp.org/aboutJava/communityprocess/final/jsr169/
    and ask your Oracle representative about its support for J2ME and JDBC.
    Regards,
    Gustavo Frederico
    gustavo.frederico at allstream dot com

    Wish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
    Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
    Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
    This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
    Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
    When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
    Oracle has an entire book for JDBC: The JDBC Developer Guide.
    There are chapters that provide ALL of the connection properties and the rules for creating connection urls.
    http://docs.oracle.com/cd/E11882_01/java.112/e16548/urls.htm#BEIDBFDF
    See table 8-3 in that doc

  • Character encoding format in j2me

    Hi,
    I am new to this forum.
    I have some queries regarding Character encoding support in j2me.
    1. What is the character encoding format supported in j2me?
    2. Is it varies from device to device or same in all j2me devices?
    3. Whether all j2me devices support UTF-8 format?
    4. Are some devices sopport UTF-16 (or UTF-16BE/UTF-16LE)?
    5. If a device supports UTF-8 scheme, can we assume that it will support all the languages(i am somehow concerned for Chineese)?
    Eagerly waiting for the feedbacks :)

    Not all devices has support for even UTF-8.
    Use this class I wrote for my projects. This is implementation of Reader so you may easy use it anywhere.
    * Created on 12.03.2008 14:21
    package misc;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    * Reader of UTF-8 encoded string from bytes
    * @author RFK
    public class UTF8InputStreamReader extends Reader{
      InputStream is;
      /** Creates a new instance of UTF8InputStreamReader */
      public UTF8InputStreamReader(InputStream is) {
        this.is=is;
      public int read(char[] cbuf, int off, int len) throws IOException {
        int b,b2,b3, r=0;
        while (len>0){
          b = is.read();
          if (b<0) break;
          if (b<128)
            cbuf[off]= (char)b;
          else if (b<224){
            b2 = is.read();
            cbuf[off]= (char)(((b& 0x1F) << 6) | (b2 & 0x3F));
          } else {
            b2 = is.read();
            b3 = is.read();
            cbuf[off]=  (char)(((b & 0x0F) << 12) | ((b2 & 0x3F) << 6) | (b3 & 0x3F));
          r++;
          off++;
          len--;
        return r;
      public void close() throws IOException {
        is.close();
    }Edited by: MagDel on Jun 1, 2009 10:33 PM

  • Oracle ADFMobile vs Nokia toolkit (J2ME)

    I am a newbie into developing wireless apps. Is Oracle ADF Mobile similar to Nokia toolkit for S60 platform. I noticed that Nokia toolkit supports Symbian browser (widely used) and also J2ME. What about Oracle ADF Mobile? I couldn't find any support for J2ME/ Midlets etc in Oracle ADF Mobile. If I develop an application using Oracle ADF mobile, what platforms/cellphones will it work on? Can someone provide some direction please?
    Thanks

    Hi ,
    Check this link, http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.wireless%7Cmbl_acreateapps%7Ehtml/
    I am sure this will help.
    Regards,
    -Kali.

Maybe you are looking for

  • How to open sharepoint files in edit mode using associated link?

    Hi All, We are trying to use the URL links available through SSM to open documents we hold on SharePoint. These will be the action plans for the risks we are entering as KPIs. The aim is to established a one-to-one link between the risk KPI and the r

  • I want to use labview 12 files in labview 11

    Hi, I have been working on some biomedical application on Labview 11 and biomedical bench but for that i need to use some pre build VI of Labview 12( VI's of biomedical workbench) I can't currently update my Labview version so please help me if you c

  • A quad and a 22 inch cinema display

    The latest surprise in my journey to the quad is that the video card port doesn't support my old 22" cinema display. Is there any kind of adapter that works with this display? TIA, Jay

  • Using BlackBerry Bold in Japan

    Hi! I'm planning a travel in Japan I've BlackBerry Bold and I'd like to know if my mobile can work in Japan I read some website and I've understood I'll do not have problems also because my mobile operator has a roaming agreement with NTT DoMoCo than

  • WDTV Live Plus and Time Capsule

    I just got a WDTV Live Plus and I love it.  The only problem is that I see the Apple Time Capsule and iMAC right away in the network shares, but I cannot get on them.  I wanted to see what the issue could be.  When I click them I am prompted for an a