Does emulator of  wireless toolkit WTK2.5.1 support RTSP protocol

Hi everybody,
I am working on developing streaming player in J2ME. I want to use RTSP protocol in it but the emulator is
displaying the following output for the supported protocols.
OUTPUT:
http
file
device
capture
when i am using the following code------->>>>>>.
CODE:
Display display;
Form formProtocol;
public void startApp()
display=Display.getDisplay(this);
display.setCurrent(formProtocol);
String strProtocols[] =Manager.getSupportedProtocols(null);
for(int i=0; i<strProtocols.length; i++)
System.out.println(strProtocols);
plz help me that {color:#ff0000}*whether emulator supports RTSP protocol or not If YES than how ?.*{color}
OR {color:#ff0000}*Is there any other emulator that supports the RTSP protocol ?.*{color}

that output does, in fact, mean rtsp is not a supported protocol in the WTK emulator. I don't know of any emulators that do support it, but enough phones support it. Shouldn't be too hard to try it out on device

Similar Messages

  • Does jmf support rtsp protocol?

    i wanna know does jmf support rtsp protocol? now, i play an video(rtsp://localhost/test.avi) by JMStudio, but failed(Controller Error: Failed to realize).
    Anybody can give me some suggestion on how to solve this problem?
    I also know whether i can implement rtsp protocol by jmf? thanks in advance!

    Hi,
    From what I understand optomux is a standard that determines the syntax of the command sent. The commands are sent through serial or Ethernet. You can use LabVIEW (the VISA VIs) to communicate with a device using serial or Ethernet. However, there are no VIs that will build the optomux commands.
    I'm not familiar with them, but you can check out the optomux VIs included with the Fieldpoint explorer. That should give you an idea of how to use the VISA to implement optomux communication.
    DiegoF
    National Instruments.

  • Does J2ME Wireless Toolkit Check Memory Usage?

    I just want to confirm that does the J2ME wireless Toolkit check the memory usage by a MIDlet and only allow it 128KB of memory usage as specified by the MIDP 2.0 specification???
    Or do we have to calculate and check manually about the memory usage of a MIDlet???

    Hi,
    The WTK doesnt set heap memory unless u specify in the preferences. Most of the devices allow upto 200 KB heap size or more. The least being Nokia 7250 which allows only upto 200 KB heap size. SO if u are developing for a particular device in mind specify the heap size in the preferences. You will also get the memory utilized at runtime thru.
    Runtime.getRuntime().* functions. eg.
    Runtime.getRuntime().freeMemory();
    wil give u free memory.
    in new emulators such as Nokia 7210 emulator , u can see the memory real time , on the details secction.
    Hope this helps.

  • J2me wireless toolkit and MIDP,CLDC

    Hi,
    does the j2me wireless toolkit ship the cldc and midp with it ?

    why email, thats a forum because there are more people interested in problems and their solution than you.
    The 2.2beta also ships with the CLDC 1.1 and MIDP 2.0. Its a must because without it, you wouldnt be able to execute anything. And you cant put the JVM, MIDP and CLDC on your phone. The only thing you need is your application. The rest is implemented in hardware (or firmware of the phone). If not, theres no way to ''manually'' put in there (this includes upgrading).
    hth
    Kay

  • Using palm os emulator through java wireless toolkit!!.....pls help

    I have palm os emulator 3.5 installed.I am trying to integrate it wid d java wireless toolkit 2.2,in addition to d default devices provided by d toolkit.But i hav failed to integrate pose in jwtk.
    i am running midp2.0 and cldc1.1.
    Also i have downloaded d rom files required by d emulator.
    Pls anyone help me!!
    How can i use palm os emulator through java wireless toolkit?
    thanking you
    shivam sahai

    hi,
    I hope that you already have the J2ME Toolkit and that your emulator works okay. In the toolkit you get several examples to show you how to program a MIDlet. One has to do with a HTTP client server connection. Also in the API documentation for the J2ME there is a Connector class that you used to set up this communication and in the description of this class it pretty thoroughly explains how to set up an HTTP protocol client.
    However, if you want to do some other kind of networking then you are pretty much out of luck, as the TCPIP socket protocol has not been fully implemented and is optional to the J2ME specifications, only the HTTP protocol is certain to be available. This means that mobile phone companies can add other networking functionality to their phone's java virtual machine if they feel like it. This is a bummer I know.
    I hope this helps.
    Cheers,
    Mark

  • Wireless toolkit in sun one studio 4 update 1 mobile edition?

    I'm starting work on a MIDP 2.0 procect that requires the 2.1 wireless toolkit for JSR-172 (web services) support. I'm currently using Sun One Studio 4 update 1Mmobile Edition with the built-in 1.04 toolkit. Is there any way for me to setup the 2.1 toolkit to work with S1ME4_1?
    I know the Early Access release of ME 5 ships with 2.1 toolkit support, but my project extends beyond the 60 day license.
    Any help would be appreciated. Thanks. :-)

    Hi,
    1. install the WTK 2.1
    2. In your project in S1ME4_1 in the Explorer
    - select Runtime -> Device Emulator Registry -> Installed Emulators
    - click right on that and choose "Add... Emulator" and enter your path to the WTK 2.1 (normally you have then a new "installed emulator" (J2ME WTK2.1)
    3. Open the "Default Emulator" and change it by clicking right on the one mentioned.
    4. add the midpapi20.jar from the lib directory of WTK2.1 to the classpath (i.e. by mounting)
    Hope it works.
    Kay

  • Wireless Toolkit J2ME - changing the directory structure for your projects

    When I create a new package in the Sun Java Wireless Toolkit, the toolkit is creating a folder for the application and its subfolders in the following directory:
    C:Documents and settings/Owner/j2mewtk/2.5.2/apps/<name_of_project>....
    I am trying to change the directory for new and existing projects so that the directory is:
    C:WTK2.5.2/apps/<name_of_project>....
    The WTK is already installed directly under the C drive (C:WTK2.5.2/ )
    Any help would be much appreciated.

    I experience the similar problem.
    But got success with some mobile models and most of them fail.
    I put the following file in the web page.
    (test.html, test.jad, test.jar)
    Sony Erisson P800, install successful when accessing http://x.x.x.x/test.html, or http://x.x.x.x/test.jar
    Nokia 7650, install successful when accessing http://x.x.x.x/test.jar
    Nokia 3530 Fail,
    Does anyone know how to install java game to Nokia 3530 through Web.

  • Sun Wireless Toolkit for CDC - JSR75 Application

    Hi All,
    I have Sun Wireless Toolkit for CDC installed in my machine. I have written a sample JSR75 application to access PIM database. At Compile time, it's giving so many compilation errors; it's not recognizing the PIM API.
    I have placed the jsr75.jar file in lib folder of CDC installation directory. At this time it's giving NullPointerException.
    Any body tell me how to access PIM API from Sun wireless Toolkit for CDC.
    Thank you very much in advance
    Thiru

    What platform do you use to develop? I use NetBeans and compilation works fine.
    I have the jsr75.jar in the following places (on old Apple iBook):
    /Users/carl/.netbeans/5.0/emulators/wtk22_linux/emulator/wtk22/lib/jsr75.jar
    /Users/carl/Library/mpp-sdk/jsr75.jar (for mpowerplayer emulator, but this does not work (yet))
    In the netbeans lib files also these jar-iles exist:
    cldcapi10.jar jsr082.jar midpapi10.jar wma11.jar
    cldcapi11.jar jsr184.jar midpapi20.jar wma20.jar
    j2me-ws.jar jsr75.jar mmapi.jar
    Carl.

  • Ubuntu - Wireless Toolkit 2.5.1 EA

    I successfully installed the new Sun Wireless Toolkit 2.5.1 EA on my Ubuntu 6.06 Dapper system.
    However, when I try to run any example MIDlet in the toolkit, it gives me this error:
    java.lang.UnsatisfiedLinkError: /usr/share/WTK2.5.1EA/bin/sublime.so: Can't load IA 32-bit .so on a IA 32-bit platform
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
         at java.lang.Runtime.load0(Runtime.java:769)
         at java.lang.System.load(System.java:968)
         at com.sun.kvem.Sublime.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.sun.kvem.Lime.createLime(Unknown Source)
         at com.sun.kvem.KVMBridge.<init>(Unknown Source)
         at com.sun.kvem.KVMBridge.getBridge(Unknown Source)
         at com.sun.kvem.midp.MIDP.run(Unknown Source)
         at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
         at com.sun.kvem.environment.EmulatorInvoker.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.kvem.environment.JVM.main(Unknown Source)
    What am I doing wrong? It says I can't load an IA 32-bit .so on an IA 32-bit platform. What does that mean?
    Any feedback would be most appreciated.

    that's not all there is to it -- for example, on Debian etch, it does not work at all. That is probably due to the fact that sublime.so is compiled against libc6 2.4.
    Since Debian etch (and Ubuntu dapper) only have glibc 2.3.x, the library is incompatible. You can see that when you do ldd /path/to/sublime.so -- like this:
    mcornils@asus:~/bt/WTK2.5.1/bin$ ldd sublime.so
    ./sublime.so: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./sublime.so)
            linux-gate.so.1 =>  (0xffffe000)
            libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e3f000)
            /lib/ld-linux.so.2 (0x80000000)So, upgrade to more recent versions (lenny has glibc 2.5, edgy and feisty are ok, too) or get Sun to recompile against the older glibc (which might be difficult since they probably rely on some new glibc 2.4 features).
    Good luck,
    -Malte

  • Wireless toolkit - add implementation of JSR

    I want to run MIDlets (in the emulator) using a JSR not currently included in the Sun Java Wireless Toolkit.
    I can do the implementation myself and package it as a JAR-file.
    The problem is that the code is in the javax.-package so I can not let code go into my MIDlet's JAR-file. What I would like is if it's possible to drop the JAR-file in the WTK's lib-folder and then the emulator would use the classes just if they were part of the platform. Unfortunately this does not seem to work.
    Does anyone know if this should be possible?
    Do I have to alter some configurations file to tell WTK to use the JAR-file?
    BR,
    Markus

    >
    I doubt that this is possible. Besides jar with JSR code, I think that other code is needed in order to integrate it into emulator.
    What JSR do you want to use? What version WTK do you use - 2.5.2? Did you look into "next generation WTK" - Java ME SDK?
    Java ME SDK supports about 20 JSRs, click here for detailed description. Just as renard1 I am thinking of JSR-257.
    >
    I'm currently using 2.5.2 (integrated with NetBeans IDE) but EA 3.0 looks promising. I will look into that more when it comes to Linux...
    Sure if I would implement everything in the JSR and also have the possibility to attach cards and so on it would require code integrated into the emulator, but I don't need that functionality right now. What I have is a jar-file with pure Java ME code that I want the emulator to consider as part of the platform.
    Is there any special reasons for having which JAR-files to be included hard-coded in the emulator source code? I think that sounds very inflexible.
    >
    I think that I can modify and rebiuld the sources but I hope that there is an easier way. Don't you have ?'
    >
    Is the source code for WTK or EA available somewhere?
    >
    Besides WTK, did you consider testing your NFC MIDlet with other emulators such as for example JSR 257 RI SDK or Nokia SDK for Payment and Ticketing ? If needed, find more details on these emulators at links below:
    - JSR 257 RI SDK FAQ
    - Nokia SDK for Payment and Ticketing FAQI couldn't find if JSR 257 RI SDK (still) was available for download anywhere.
    >
    I couldn't find that JSR 257 Reference Implementation SDK anywhere for download. Have you?
    Currently I'm using Nokia 6131 NFC SDK (http://www.forum.nokia.com/devices/6131_NFC) but I would rather not be limited to that SDK/emulator which among other is Windows-only and has no profiler.

  • Java Forte CE and J2ME Wireless Toolkit configuration

    I installed Sun Java Forte V3.0 Community Edition and the J2ME Wireless Toolkit 1.0.3.
    I not able to run a MIDlet for the PALM OS Emulator. Wen I execute the MIDLet suite, the output windows returns: "Error could not find a JVM"
    - Does any body knows how to properly configure Java Forte to run application on the Palm OS Emulator (POSE).
    - Does any body knows how to attach Sun Forte debugger for MIDLet applications ?
    Thanks

    hi,
    First Install the forte and then install the j2mewtk.While installating j2mewtk chose integrated option.
    For Palm OS emulator you have to set the POSE location.
    Try out this.
    Open ktolbar.
    OpenProject.
    select an application.(examples)
    set device PalmOS_device.
    Now run the application.
    A window pop for u.
    This may help you
    good luck.
    koka

  • J2ME Wireless Toolkit 2.5

    Hi all,
    I would like to ask if this new veresion (J2ME Wireless toolkit 2.5) supports ArrayList.
    I have developed a program with ArrayList , is it possible to run it in this new version without problems.
    Thanks

    New version of WTK 2.5 supports CLDC stack. Unfortunately the ArrayList class is not present in the spec for this stack, so WTK 2.5 will not be able to run your application. (Like all other CLDC implementations) But you can try the CDC emulator "Sun Java Toolkit 1.0 for CDC" at http://java.sun.com/javame/downloads/index.jsp
    (CDC stack has the class ArrayList)

  • Stylus support in wireless toolkit

    Hello people,
    I'm doin a project which involves creating a drawing pad on which a user can draw..How can i do with Sun Java Wireless Toolkit??..any classes for stylus??..or any mouse events/classes??..or any other means??
    Thanx in advance

    With reference to original question. It is not very clear to me from the question by what you mean by adding a device. As far as I read, the concept of adding devices to W2K is to change the display properties, font properties, etc. This can be done using the following way.
    Assume your installation of w2k is at D:\WTK20
    1. Go to D:\WTK20\wtklib\devices directory.
    2. Create a new directory with your device name.
    3. Copy DefaultColorPhone (say MyNewDevice)
    4. Copy the DefaultColorPhone.properties file from DefaultColorPhone directory to your new directory and rename it to MyNewDevice.properties (This is to simplify things. Otherwise you can choose to create a totally fresh file).
    5. Go through the properties and try to play with it by changing the values and openng your midlets in this new device. This way I could create a emulator that supports Indian language.
    Hope this gives some pointers on how to do it. But not sure whether it answers your question. All the best.

  • System.out.println crashes wireless toolkit

    I'm using system.out.println calls to create debugging commands to test my application. They mostly work but if I try to print out a lot at once the wireless toolkit crashes.
    This is all on my computer, not on any mobile device.
    The error I get is:
    Exception in thread "Child process stdout copier" java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData
         at sun.java2d.d3d.D3DRenderer.copyArea(D3DRenderer.java:55)
         at sun.java2d.d3d.D3DSurfaceData.copyArea(D3DSurfaceData.java:638)
         at sun.java2d.SunGraphics2D.doCopyArea(SunGraphics2D.java:1986)
         at sun.java2d.SunGraphics2D.copyArea(SunGraphics2D.java:1968)
         at javax.swing.BufferStrategyPaintManager.copyArea(BufferStrategyPaintManager.java:315)
         at javax.swing.RepaintManager.copyArea(RepaintManager.java:1228)
         at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1604)
         at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573)
         at javax.swing.JViewport.setViewPosition(JViewport.java:1118)
         at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1027)
         at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1016)
         at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
         at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
         at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
         at javax.swing.JScrollBar.setValue(JScrollBar.java:446)
         at com.sun.kvem.toolbar.MainWindow$ConsoleStream.write(Unknown Source)
         at java.io.PrintStream.write(PrintStream.java:430)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
         at com.sun.kvem.environment.StreamCopier.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)Am I doing something wrong or is this a bug in the toolkit?
    Once I get this exception the whole toolkit becomes unresponsive and I have to close it and re-open.

    mydreamgirl, welcome to the forum. Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • Question about java 5.0 & j2me & wireless toolkit

    Hi,
    I maybe have a dumb question, but to me it's not totally clear. I am currently developing an application (for J2ME and J2SE) which uses RSA encryption. So I found out that before Java 5.0 RSA encryption wasn't supported, but starting from Java 5.0 it is. So my question now is. If I use the RSA encryption from Java 5.0, can I still use it in my cell phone? And which Java version runs in my cell phone?
    It not clear to me, but maybe someone will be so nice to respond...
    Can my/any cellphone run Java 5.0 code? So what if I use the mentioned RSA-cipher... or generics...enumerations... On what does it depend whether I can use it for my cell phone or not?
    Does it just depend on the compiler? the JVM on my phone? or even the wireless toolkit?
    Thank you very much in advance.
    Sincerely.

    bump...
    anyone?

Maybe you are looking for

  • Confusion with a current state of Oracle Identity Management

    I would like to know if anyone has successfully implemented the complete suite of IdM. If yes, please share this experience. I want to clarify the definition of "successful integration". It should include the following: - SSO for Partner applications

  • Can I use iCloud like a mass storage device - pc free

    I am living on a boat and I am using my iPad w a camera connector kit. Can I back up photos that won't all fit on my iPads internal memory(16G), using iCloud like an external hard drive?  I don't have a pc w me and don't want one.

  • HT1848 Where are the transferred purchases from an iDevice stored on the PC?

    So I clicked 'Transfer Purchases' in iTunes (for my iPad) and the transfer has begun. However, where exactly is all this data going to get transferred? And will it include all the app data too? And can I transfer it back to my iPad in the future in c

  • Adobe Flash CC 2014 Code Hint - Unable to build code hint cache...

    Hello! I just downloaded and tried to use Flash CC 2014. Code Hinting doesn't work! So I tried some way to bring it back. And the following solution worked: 1. Quit Flash 2. Delete Code Hint Folder: C:\Users\<user>\AppData\Local\Adobe\Flash CC 2014\e

  • Square Spots in Mail Interface-Any solution?

    This problem came with Leopard. (At least in my case) Every time Mail download messages, when the last throbber meets the bottom (by the status bar), a black square appears on it. Eventually the square spot will appear also at the top, on the tool ba