Does anybody have the source code for playing video..?

Hi i am new to J2ME. Does any body have the source code for playing video?

The WTK includes a video player example. I would start by looking there. In addtion SE and Nokia (if I remember correctly) both have video examples on their developer web sites.
The developer sites are
http://forum.nokia.com
http://developer.sonyericsson.com
For some of my midlets I use a utility class. You can view the source here:
http://hostj2me.cliqcafe.com/www/forumtopicview.html?fid=46&categoryId=36&fpn=0
Works for my needs;

Similar Messages

  • Does anyone have the source code for doing a login page?

    I need to do a login page with capture the input from the username and password's textbox on webpage then validate the username and password in the database. If correct then direct the user to the main page, if not, will display a error page.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#ccff99">
    <form name="form1" method="post" action="customercheck.jsp" target="_self">
    <p align="center"><strong><font size="5"><U>Customer Login</U></font></strong></p>
    <table width="75%" align="center" cellpadding="0" cellspacing="0">
    <tr >
    <td width="38%" rowspan="2" border="2" bordercolor="#000000" ><div align="center"><strong>New
    User? Click here.</strong></div></td>
    <td width="21%"><strong>User Name : </strong></td>
    <td width="41%"><input type="text" name="username"></td>
    </tr>
    <tr>
    <td><strong>Password :</strong> </td>
    <td><input type="password" name="password"></td>
    </tr>
    <tr>
    <td width="38%" bordercolor="#000000"> </td>
    <td colspan="2"><div align="center">
    <p> </p>
    <p>
    <input type="submit" name="Submit2" value="Login">
    </p>
    </div></td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ include file="Connections/conn1.jsp" %>
    <%
    String Recordset1__username = "%";
    if (request.getParameter("username") !=null) {Recordset1__username = (String)request.getParameter("username");}
    %>
    <%
    String Recordset1__password = "%";
    if (request.getParameter("password") !=null) {Recordset1__password = (String)request.getParameter("password");}
    %>
    <%
    Driver DriverRecordset1 = (Driver)Class.forName(MM_conn1_DRIVER).newInstance();
    Connection ConnRecordset1 = DriverManager.getConnection(MM_conn1_STRING,MM_conn1_USERNAME,MM_conn1_PASSWORD);
    PreparedStatement StatementRecordset1 = ConnRecordset1.prepareStatement("SELECT cust_id,username, password FROM customer WHERE username='" + Recordset1__username + "' AND password='" + Recordset1__password + "'");
    ResultSet Recordset1 = StatementRecordset1.executeQuery();
    boolean Recordset1_isEmpty = !Recordset1.next();
    boolean Recordset1_hasData = !Recordset1_isEmpty;
    Object Recordset1_data;
    int Recordset1_numRows = 0;
    if(Recordset1_isEmpty) response.sendRedirect("loginagain.html");
    String hi = Recordset1.getString(1);
    session.setAttribute("id",hi);
    session.setAttribute("right","hello");
    session.setAttribute("emp_right","tt");
    response.sendRedirect("availability.jsp");
    //response.sendRedirect("vacancytemp.jsp");
    %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    </body>
    </html>
    <%
    Recordset1.close();
    StatementRecordset1.close();
    ConnRecordset1.close();
    %>

  • Does anyone have the HTML code for the Buffy Font

    Does anyone have the HTML code for the Buffy Font?

    1) download one of the Buffy fonts @ font space, just as Hans-Günter wrote.
    2) go to FontSquirrel, and use the web font generator: http://www.fontsquirrel.com/tools/webfont-generator
    3) load up your buffy font, and generate the web font.
    4) download the zip package, and check out the included demo file
    Copy all the font files (all four of them) to your web folder. Then copy the code that looks like this to the top of your css:
    @font-face { font-family: 'FontName'; src: url('FileName.eot'); src: url('FileName.eot?#iefix') format('embedded-opentype'), url('FileName.woff') format('woff'), url('FileName.ttf') format('truetype'), url('FileName.svg#FontName') format('svg'); font-style: normal; font-weight: normal; }
    Check that all file references are set up correct, and use the font name  in your css rules.
    h1 {
    font-family: 'FontName';
    Done!

  • Where's the source code for the MIDP 2.0

    Hi
    does anybody know if the source code for the MIDP 2.0 is available anywhere, if so please give me the link, I've searched for it but couldn't find. I need it to create a custom class based on the Command class, but need to have a look at the source code of the "Command" to make the appropriate changes to my extending class, so I can't do it without a look under the hood.
    Any help would be greatly appreciated

    You can find reference implementations at http://java.sun.com/products/midp/index.jsp
    But they are only to assist manufacturers in implementing their own versions, and do not necessarily reflect the code running on a given device. All you can assume is what is stated in the MIDP specification. However, reading the RI code may help you better understand the spec.

  • Where can I get the source code for sun classes?

    Hello,
    When ever you download sun's j2sdk, the archive always contains the source code for the entire sdk in a zip file called src.zip except the sun.xxx classes like sun.awt.print.PrintDialog or sun.awt.font.FontResolver.
    For debugging purposes I need, if availabe, the source code of these classes which are not present in the src.zip.
    Please can someone tell me if theses classes are available as source and can point me where I can find it cause I am searching for it but can't find it on the net.
    Thank you
    Carolin

    Hey ChuckBing
    And your way is the only way, right? No.What on earth is eating you? Highly sensitive today?
    Where is the problem? There are two solutions of the question.
    The one link I posted points directly to the sun source download link. The "readme" explains, yippie, the sun sources are contained. Easy, isn't it?
    With the other one, you have to navigate at least through two other pages before you might find the link and only if you recognize that "Download JDK 5.0 source via SCSL/JRL" means the sun source code and not the sources contained in the JDK download. This is what I thought as I've seen this link the first time. Unfortunately there is no "readme".
    I prefer the easy way, I dont want to earn a doctorate. Ok, you can say dont "play the woman", but I'm a woman and a blonde too;-)
    But, let us stop the idle discussion here, please!
    Nevertheless, thanks to you and [email protected] for answering.

  • How to view the source code for Native Method

    hi
    i am using some native methods in to my code ;
    can anybody tell me how to view the source code for the same ;
    nik

    Buy/acquire a C/C++/assembly code disassembler and run the shared library through it.

  • Does anybody have a WLST script for step-by-step cluster restart?

    Does anybody have a WLST script for step-by-step "smart" cluster restart?

    Dear SAM,
    are you looking for exchange 2013 installation. Please follow below link. I have done the same scenario as yours
    1. install first VM - 2012
    2. Static IP / loopback as primary DNS
    3. install ADDS /DNS (forwarder to ISP)
    4. install second VM - Static IP again
    5. DNS of second VM to be the IP of first VM
    6. this will join the domain
    7. installation of exchange will be simple, configuration from this link : http://www.techieshelp.com/exchange-2013-step-by-step-configuration/
    MARK AS USEFUL/ANSWER IF IT DID
    Thanks
    Happiness Always
    Jatin

  • Where's the source code for the JavaFX 8 Samples?

    Hi,
    I just downloaded the samples for JavaFX 8 and the menu popup on the top left really caught my attention.
    I'd like to study the source code for it. Does anyone know where I can find it?
    I expected it here http://hg.openjdk.java.net/openjfx/8/master/rt/file but it seems it's not there.
    Alternatively: Jasper Potts presented a Kiosk App at Devoxx 2012 (Antwerp), which was also used at JavaOne. I think this app uses the same Menu. And he said sources are available. But I can't remember the link.

    Oh, too obvious. They are directly included into the zip. My bad I didn't notice them. I had expected them to be online somewhere. Thanks!

  • Does anybody have the O2 Arena Wallpaper that comes with some O2 phones?

    Does anybody have the O2 arena wallpaper lit up at night. It usually comes with some O2 phones such as the galaxy S4.

    MarinaP wrote:
     jonsie wrote:
    I use the tower bridge wallpaper now for a little reminder of home....got sick of looking at Mauys face Already tired? You're gonna have to see that face for a while!  
    I do have a month or so break so no doubt I'll miss her....a little 

  • Does anybody have the indesign CS2 trial version?

    I need to make a book in Indesign, but my client just use the CS2 version, so I need your help: does anybody have the CS2 trial version (just need it for that job)... the link of Adobe is broken and I can't find other option. thanks RT

    raul.tena wrote:
    I can't open the disk with the archive of CS2, so I need download the trial version of CS2
    What does this mean?
    CS2 is gone, unless you have the original disks you are basically out of luck. If you have CS use that. a Person with CS2 can open a CS file.

  • Is there any differnce between the Numeric Limit Test source code from TestStand 3.0 to TestStand 3.1? How to get the source code for the Numric Limit Test for both the versions?

    I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
    Thanks,
    Jeyan

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Can you share the source code for Customer ToughDay stress test tool?

    Hello,
    I would like to try Customer ToughDay tool (http://dev.day.com/docs/en/cq/current/testing/tough-day.html) for load testing of our author instances of CQ5. While I am able to execute the application, the logging with log4j seems to be configured incorrectly.
    Can you share the source code for toughday-5.5.jar?  I think it can be a very good starting point for those of us who are new to CQ5 and need to load test it.
    Thank you!

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Can i have the HTMLB Code for the background color for a  screen?

    Hi friends,
    Can i have the HTMLB Code for the background color for a  screen?
    moosa

    Hi:
    you can put like
         <table width="100%" height="100%" cellspacing="1" cellpadding="2" border="0">
                     <tr class="sapTbvCellStd"> <td bgcolor="#B1E1D2" valign="top">
    Regards
    Shashi

  • Does anybody know the error code 11 while updating to ios 4.3.3.? thx

    does anybody know the error code 11 while updating to ios 4.3.3. on an ipad1? thx

    but my hard drive is still lot of spaces...still keep on trying to update...

  • How do I see the source code for 'NI Example Finder'?

    At the LabView Express demo, the rep showed us how to view the source code for 'NI Example Finder' (started with Help, Find Examples...). Please refresh my memory.
    --todd

    There are a couple of VI's that shipped with LabView 7.0, but you can't see the diagrams.
    C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\Run Example Finder__NATIONAL INSTRUMENTS.vi
    Press Ctrl-E on this VI and it prompts you for a password.
    This VI is run by C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\HelpServer__NAT​IONAL INSTRUMENTS.vi
    There's also C:\Program Files\National Instruments\LabVIEW 7.0\help\_exfinder.llb\Example Finder Launcher.vi.
    Tyring to open this VI starts the NI Example Finder. Note the taskbar icon which is different from the normal VI icon.
    It seems like NI is trying to keep us out, even if it used LabView to develop the Example Finder.

Maybe you are looking for

  • All songs not displaying

    I am using itunes 7.02 on my PC. My laptop has itunes 6.05. When I do a power search in the music store for example Johnny Mathis on my PC (itunes 7.02) I see only 4 songs. When i searh for Johnny Mathis on my laptop (itunes 6.05) I see many many son

  • Default currency in FB60

    Hi, I am searching for a way to define a vendor's default currency in transaction FB60. We have entered the default currency in the vendor master (Purchasing data>Order currency>by Plant). When entering the invoice in FB60 the currency still shows as

  • Photostream constantly turning itself off

    Is it me, or is anyone else noticing this?  I have Photostream turned off, but every so often, I notice that my photos are not downloading from the cloud.  When I check Photostream in the settings, it is turned off.  I am not turning it off, and when

  • How do I delete APPS through the latest iTunes?

    Hi, Prior to updating to IOS7 I have bac ked up my iPhone but realized that my data was too large for my 32GB iPhone 4s.  It is mostly in APPs.  I tried to delete APPs in iTunes but the APPs either give me a cjoice of REMOVE/WILL REMOVE or INSTALL/WI

  • Copying assets in Tax book which didnt exist in the corp book last year?

    Hi All, We are facing following issue with our Fixed Assets Tax reporting. If someone can point us in right direction, we would really appreciate that 1)     We are currently running on Oracle 11.5.10 2)     Right now (as of JUN-11), we have 1 consol