Java Midlet script help.. asap

hi, i've been fiddling with java midlet/m3g game programming for a few months, anyways.. i'm just trying to see if it is possible for a noob like me
to program a mobile java game which is a 3rd perosn shooter. I have made a M3G file, using 3DsMax - exporting the file to a " M3G" with a camera and world in it.
so.. the MIDlet is what i'm totally helpless with, i donono the basics of writing one, but i know how the script sorta goes. anyways.. all i want is to know how to
write a MIDlet script so that the m3g character on the screen can move forwards.bws,lft,rgt...
and i think you have to create frames for a movment for something..?.. i donono teach me plz..
oh.. and also.. i use j2me wireless toolkit, thats what ur soppost to use .. right?
jim, thxx

jimSTHD wrote:
hi, i've been fiddling with java midlet/m3g game programming for a few months, anyways.. i'm just trying to see if it is possible for a noob like me
to program a mobile java game which is a 3rd perosn shooter. I have made a M3G file, using 3DsMax - exporting the file to a " M3G" with a camera and world in it.
so.. the MIDlet is what i'm totally helpless with, i donono the basics of writing one, but i know how the script sorta goes. anyways.. all i want is to know how to
write a MIDlet script so that the m3g character on the screen can move forwards.bws,lft,rgt...
and i think you have to create frames for a movment for something..?.. i donono teach me plz..
oh.. and also.. i use j2me wireless toolkit, thats what ur soppost to use .. right?
jim, thxx1) putting urgent or asap in your subject makes it seem as though your problem is more important than anyone elses - this will get you less help
2) using sms talk makes it hard for people to understand you - this will get you less help
3) showing no effort - such as looking at sample code and stating where you don't understand - this will get you less help.
4) not having a specific question - such as asking someone to teach you everything about subject x - we are not your teacher - this will get you less help.
5) when posting code not using code tags - this will get you less help
Start by improving on the infractions you have committed from this list.

Similar Messages

  • Help:Compiling and running Java Midlets?

    Hello,
    I am a fresh learner in Java.I am finding it very difficult to compile and run Java Midlets on the Computer system.Also,i will like to tranfer the Sourcecodes to a PDA i.e install it on the PDA and have the application walking well.Please help.Thank you.

    You will get all the detailed steps ( have a look at the ff link) to configure the sun wireless toolkit on a PC , midlet compiling, running , uploading to the Palm PDA and testing it on the device. As for the connection, you can use the hot synch cable or a bluetooth hot synch.
    http://developers.sun.com/techtopics/mobility/midp/articles/palm
    Cheers!,
    Birhanu

  • Rel 12 - How to create a new APPS connection from custom Java/Shell Script

    Hi,
    I am looking to write a custom JAVA code / Shell Script which needs to establish a connection to execute a PL/SQL API on Rel 12 db.
    The challenge is to be able to connect without specifying APPS Password anywhere (just like Oracle Apps does it).
    This Shell script / Java code is not called from within Apps hence I need to establish a brand new connection along the lines of using ....
    WebAppsContext ctx = new WebAppsContext(System.getProperty("JTFDBCFILE"));
    OracleConnection conn = (OracleConnection)ctx.getJDBCConnection();
    like in 11i world or possibly using APPLSYSPUB username
    I need help / direction in how to do this in a Rel 12 env. I understnad there are lot of architecture changes and if someone can provide a generic code snipped it will be great.
    I need to keep this as closely aligned to Rel 12 coding and security standards as possible.
    This code will reside in $XXCUSTOM_TOP/bin file or under XXCUSTOM.oracle.apps.java....... if its Java.
    Pls help.
    Cheers
    -- VK.

    Hi,
    Have you looked at Oracle produced dbc file and its contents? That might help. It is under $FND_TOP/secure. It uses GWYUID=APPLSYSPUB/PUB. I am hoping that the APPS_JDBC_URL would help too.
    Regards,

  • Java FX Script, how to dynamically loadm add, delete document objects ?

    Hi,
    Is it possible to programmatically load the object Hierarchy of a java FX document, to add, delete, update objects proporties or to call function and operations.
    Is it possible to assign 'id' or 'name' to objects, to have later have references on them in the java FX script.
    exemple of object tree to parse :
    -Canvas
    --group
    ---Line
    ---Line
    ---Rect
    ---Button
    ..etc
    thanks for your help
    gel
    Edited by: geldouches on Oct 1, 2007 8:21 AM

    Here is your solution.
    Use an XML parser. Don't forget the dukes!

  • Plz help asap....Solman 4.0 inst error

    hi.. i am doing the following inst..
    solman 4.0 on win 2003 x64 standard
    abap and java on ibm db2 udb ver9
    java 1.4.2.14 x64 win
    i am attaching the error below ....................
    java.lang.NullPointerException
         at java.io.Reader.<init>(Reader.java:61)
         at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
         at com.sap.ctc.util.ConfigMainExt.doConfig(ConfigMainExt.java:111)
         at com.sap.ctc.util.ConfigMainExt.main(ConfigMainExt.java:231)
    that is the log file
    the gui give the retry stop msg
    and stop after completing 60 proces of the 63
    at...
    configure system landscape
    plz.. i am badly stuck.. need help asap
    Message was edited by:
            Abdul Wahid Khan

    Below is the end part of sapinst_dev.log ..maybe it might help in finding the solution.
    ==============================================
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    NWCallJava: Arguments passed: P4HOST=BKDEV,P4PORT=50004,J2EE_ADMIN=J2EE_ADMIN,J2EE_PASSWORD=XXXX,HTTPHOST=BKDEV,HTTPPORT=50000,SLDUSER=SLDDSUSER,SLDPASSWORD=XXXX
    INFO       2007-04-21 20:37:27 [synxcpath.cpp:776]
               CSyPath::createFile()
    Creating file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\DB6\CENTRAL\AS\java.exe.log.
    INFO       2007-04-21 20:37:27
               CJSlibModule::writeInfo_impl()
    Output of C:\j2sdk1.4.2_14-x64\bin\java.exe -classpath J:/usr/sap/SDV/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/ com.sap.ctc.util.ConfigMainExt XXXXXX BKDEV:50000 J2EE_ADMIN XXXXXX is written to the logfile java.exe.log.
    WARNING    2007-04-21 20:43:27
               CJSlibModule::writeWarning_impl()
    Execution of the command "C:\j2sdk1.4.2_14-x64\bin\java.exe -classpath J:/usr/sap/SDV/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/ com.sap.ctc.util.ConfigMainExt XXXXXX BKDEV:50000 J2EE_ADMIN XXXXXX" finished with return code 1. Output:
    java.lang.NullPointerException
         at java.io.Reader.<init>(Reader.java:61)
         at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
         at com.sap.ctc.util.ConfigMainExt.doConfig(ConfigMainExt.java:111)
         at com.sap.ctc.util.ConfigMainExt.main(ConfigMainExt.java:231)
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.configError:
    Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine. See output of logfile java.log: 'JSE'.
    ERROR      2007-04-21 20:43:27
               CJSlibModule::writeError_impl()
    CJS-30059  Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine. See output of logfile java.log: 'JSE'.
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2007-04-21 20:43:27
    FCO-00011  The step configSLDMainDataSupplier with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_SLD|ind|ind|ind|ind|0|0|configSLDMainDataSupplier was executed with status ERROR .
    TRACE     
    <html><head></head><body><p>An error occurred while processing service <b>SAP Solution Manager 4.0 Support Release 2 > SAP Systems > IBM DB2 for Linux, UNIX, and Windows > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:\Program Files/sapinst_instdir/SOLMAN/SYSTEM/DB6/CENTRAL/AS</b>.</p></body></html>
    TRACE      [iaxxgenimp.cpp:1155]
               showDialog()
    waiting for an answer from gui
    INFO       2007-04-22 06:29:56 [iaxxgenimp.cpp:782]
               showDialog()
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_SLD|ind|ind|ind|ind|0|0|configSLDMainDataSupplier".
    Message was edited by:
            Abdul Wahid Khan

  • Pls Help asap

    Hi
    I have an assignment due today at midnight, I need some help please please....
    the assignment is about implementing a tow-dimensional sparsearrays using LinkedList
    here is what I've got so far and I am not even sure
    import java.*;
    public class SparseMatrix implements SparseMatrixInterface{
    //members
         private Object defaultValue = 0;
         private List[] rowHead = null;
         private List[] colHead = null;
         private List current = null;
         private List previous = null;
         private Object value = null;
    //constructor
         public SparseMatrix(int rIndex, int cIndex)
              if(rIndex <= 0) System.exit(rIndex);
              if(cIndex <= 0) System.exit(cIndex);
              rowHead = new List[rIndex];
              colHead = new List[cIndex];
    //SparseMatrixInterface
    //iterateRow(), iterateCol() should return another iterator
         @Override
         public Object defaultValue() {return defaultValue;}
         @Override
         public RowIterator iterateRow() {return null;}
         @Override
         public ColIterator iterateCol() {return null;}
         @Override
         public Object fetch(int row, int col) {
              do{
              if((row == current.row) && (col == current.col)) {return current.value;}
              current =  current.next;}
              while(row < current.row && col <  current.col && current.next != defaultValue);
              return defaultValue;}
         @Override
         public void store(int row, int col, Object value) {}
    //methods
         private void display(){int count = 0; List value; System.out.println();}
         private void addRow(int rIndex, Object value){}
         private void addColumn(int cIndex, Object value){}
         private int getRowCount(int cIndex){return List[rIndex].length;}
         private int getColumnCount(int cIndex){return List[cIndex].length;}
    //Colterator class
    //next() should return another iterator
         private class Colterator
              public boolean hasNext() {return current != null && current.next != null;}
              public ElementIterator next() {return null;}
    //RowIterator class
    //next() should return another iterator
         private class RowIterator
              public boolean hasNext() {return current != null && current.next != null;}
              public ElementIterator next() {return null;}
    //ElementIterator
    //iteratingRow() true if a call to next from ColIterator
    //iteratingCol()   true if a call to next from RowIterator
         private class ElementIterator implements MatrixInterface
             public boolean iteratingRow() {return true;}
             public boolean iteratingCol() {return true;}
             public int nonIteratingIndex() {
                  if (iteratingRow())return rIndex();
                  if (iteratingCol())return cIndex();
                   return 0;}
              public boolean hasNext() {
                   return current.getRow() != 0 && current.next.getRow() != 0
                        || current.getCol() != 0 && current.next.getCol() != 0;}
              public MatrixInterface next() {
                   if(hasNext() == true) previous = current; current = current.getNext();
                   return (MatrixInterface) current.value;}
    //MatrixInterface
             public int rIndex() {return current.getRow();}
             public int cIndex() {return current.getCol();}
             public Object value() {return null;}
    //nested class
         private class List{
              private List next = null;
              private int row = 0;
              private int col = 0;
              private Object value = null;
              public void setNext(List next)          {this.next = next;}
              public void setRow(int row)          {this.row = row;}
              public void setCol(int col)          {this.col = col;}
              public void setValue(Object value)  {this.value = value;}
              public List getNext()               {return next;}
              public int getRow()               {return row;}
              public int getCol()               {return col;}
              public Object getValue()          {return value;}
    }please fill in the missing parts
    I really appreciate it.
    you can email me at [email protected]

    Let me just post a couple of important parts of the [FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ] of Sun's forum:
    Be thorough and precise: Proofread your question before posting. Describe the steps that you have taken. The more effort you put into researching and describing your problem, the more likely you will get a sincere effort in return.
    Post a subject line that describes the problem: Experts in your subject may skim right past subject lines like "Urgent" and "Need help ASAP". Use keywords about the technologies instead.
    Post a problem, not an assignment: Break your assignment down into specific problems that you can ask for help with. Dorm hall lounges may be a better resource if you have a last minute, "urgent" demand for solutions to homework problems.

  • Aceesing a particular jsp as the default page - Please help ASAP

    Hi,
              I want to access a particular jsp of mine as the default jsp.
              Say my jsp is located relative to the default web app root in this
              manner
              /security/jsp/mainMenu.jsp
              and currently I have to do -
              http://localhost:7001/security/jsp/mainMenu.jsp
              I want to be able to acces it either by
              http://localhost:7001/mainMenu.jsp
              or by
              http://localhost:7001/index.html
              or simply typing
              http://localhost:7001/
              as the url.
              What do I need to do in the web.xml file to be able to do this. If
              somebody could please let me know.
              Thanks,
              Sandeep
              

    ATIF_IQBAL wrote:
    Please suggest ASAP!!!
    Please don't flag your question as urgent, even if it is for you. Claiming urgency is very likely to be counter-productive: most forum regulars will simply ignore such messages as rude and selfish attempts to elicit immediate and special attention.
    Besides, unless a pack of rabid ninja spider monkeys is about to chase you over the edge of a cliff if you don't get an answer in fifteen seconds, your problem probably isn't as urgent as you think. :)
    * Post a subject line that describes the problem: Experts in your subject may skim right past subject lines like "Urgent" and "Need help ASAP". Use keywords about the technologies instead.
    -- From the [Java Forums FAQ|http://developers.sun.com/resources/forumsFAQ.html#Getting]

  • So, i just connected my ipod touch 4g to my laptop and there is an update 4.3.3  available  i was downloading it and just as it finishes it says your network session has timed out what ca i do? HELP ASAP PLEASE!!!

    i just connected my ipod touch 4g to my laptop and there is an update 4.3.3  available  i was downloading it and just as it finishes it says your network session has timed out what ca i do? HELP ASAP PLEASE!!!

    Try a direct download:
    iPod, iPhone and iPad Firmware Download
    Manually install it by holding your "Option" key down when clicking on the "Restore" button in iTunes and select the firmware file you downloaded.

  • Stuttering flv playback issue- need help asap

    We need help asap. Have a project is due to deliver today (5/14).
    We have a video to go on a dvd-rom, live action with Motion Graphics behind.
    When output is done thru Projector the Motion Graphics stutter as they scroll.
    Here is more technical info:
    Stuttering flv playback issue:
    Prores 422 timeline 29.97fps 1280x720 output from fcp using current settings.
    Mov file is approx 7gb, plays relatively smooth on a mac pro with no raid.
    Frame by frame analysis shows all frames are present with no jumps tears or skips.
    Tried several output paths, programs and settings to create a smooth flv file to no avail.
    We adjusted data rates from 2k, 3.5k, 4k and 8k, no luck
    We adjusted keyframe rates from low to all frames, no luck.
    We tried cs3 flash encoder, cs5 media encoder, squeeze ect, same results.
    Playback in the flash projector seems to choke slightly no matter what we do.
    Have also posted in the Director Forum.
    Any help much appreciated!

    Here are a few ideas off the top of my head:
    Try playing the file using a different xtra, sometimes different ones will work better.  If you have Director 11.5, there is a native flv playback xtra.
    You can build a player easily in Flash using the flvPlayback component, then bring that into Director as a swf.
    Once you have the video in Director, try making the member Direct To Stage (DTS).  If it is already DTS, try making it not DTS.
    Make sure the video is not transparent, and nothing in Director overlaps the video... in fact, when the video is playing, nothing should be moving at all, and try to keep the amount of code that is running to a minimum.
    Try lowering your video's data rate further or try using a different codec.
    Using VBR (Variable Bit Rate) compression often makes the video appear to play smoother.
    Try compressing the flv with different software.  FFMpeg, for example, is free and does a very good job, often better than the Flash Video Encoder that comes with Flash/Creative Suite.

  • Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait

    Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait...
    I tried downloading updates like it said to but it still will not display the document.  How do I print the PDF file ASAP

    Can you give us a LOT more info?
    What email client? What version of Reader (I can only assume you even have Reader at this point)?
    Please wait? I'm sure it says more than that, right?
    Have you tried simply saving the PDF (it IS a PDF correct?) to your desktop and opening it from there?
    Did you get this form from the IRS or did it come from somewhere else? If the IRS again, what version of Reader?
    Help us help you.

  • My wifi will not turn on. The button is settings seems to be locked. I tried turning it on from the control panel, and also with Siri, but it still does not turn on in settings, so i cannot access wifi. Please help ASAP

    Wifi will not work. The button in settings seems to be locked. Tried control panel and siri to turn it on, doesnt work because the settings wont turn it on. Need help ASAP cause my data limit is approaching.

    If the battery was completely drained the iPad will not respond for some time after connecting it to the charger. Connect the iPad to the charger that came with it and plug that into a good wall outlet. Wait 30 minutes. Then reset the iPad.Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.
    If the iPad restarts let it continue to charge until it's battery shows fully charged. If the iPad still does not start Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. Be sure to back up your device before taking or sending it to Apple.

  • How can I transfer funds from one Apple ID to a different one? Please help ASAP!

    I need help ASAP, I put my friends $25 iTunes card onto my Apple ID and I need help transferring the funds into her account please help??

    If no funds have been deducted from the gift card you may be able to do it by contacting iTunes:
    Apple - Support - iTunes - Contact Us

  • How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    Vera,
    Use View > View Options, and set 'Sort By" to "Manual Order."
    Then you will be able to drag-n-drop songs up and down the list.

  • When I try to download songs from itunes it says I have to answer my security questions(which i made a year ago) I can't remember them, and I can't get on my email to reset the questions.. please help ASAP!

    I recieved an ipod 5 for a early christmas present a day ago, I already owned an ipod 4 so i just used my info from that ipod as a back up for my 5g. but now when i try to download music from itunes it says i must use my security questions (which i made over a year ago) I can't remember the answers and i can't get on the email that it sends the reset info to. i don't know what to do and its really frustrating. please help ASAP!

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    Whichever method you use, you probably won't get a response until the 26th. If you absolutely must make a purchase before then, create a new Apple ID; you won't be able to transfer previous purchases or iTunes Store credit to it.
    (95471)

  • My ipod says i have no music on it, but when i plug it into itunes, and look under music on my ipod, its all there. NEED HELP ASAP!!!!! all the music came from a computer which i no longer have, so my ipod is the only place where that music is.

    This morning, i downloaded about 16 songs to put on my ipod, and i manually dragged them over to my ipod to sync that way (like i always do because the music on my ipod came from a different computer which I no longer have) and on my way to work, i realized my ipod says "no content" under Music. However, when I plug my ipod into itunes and click on the music tab under my ipod name, all of my music is there. What happened and how do i get that music back on my ipod? I need help asap.

    You had a glitch and the music files got corrupted. I know of no way to uncorrupt them.
    You can try using a computer app like iFunbox
    http://dl.i-funbox.com/
    to see if yo can get them from the iPod in a usable file.
    Otherwise you will have to re import them to your computer and sync
    You can redownload most iTunes purchases by:                         
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

Maybe you are looking for