S60 emulator

hi..
where should i place d writing text file in an S60Emulaor ?I mean d path of d text file?In a default colour phone, there is a filesystem root for storing such files.Because while transfering d jar file to N70 mobile ,that file is not reading which is writing at run time..but d remaining text files reading nicely.Pls help me.Thanks in advance..

There's a nokia mobile emulator in nokia's page, called carbide.j. Try it... until now i can not debug with it and eclipse but the output console works...

Similar Messages

  • Java ME Platform SDK - S60 Emulator Problem

    Hi Everyone!
    I am new to S60 development. I searched the forum, and some other discussion forums but could not find any solution to my problem (If there is one in this forum, sorry about that).
    I installed Java ME Platform SDK 3.0 Early Access. I also installed Java SDK for S60-FP1, and added this platform to my IDE with no problems.
    The problem is, I can write and execute my code on S60 emulator, but Java IDE has got this annoying exception blinking on the bottom right side saying: "java.lang.IllegalArgumentException: Device S60Emulator not registered!". As I said, I can run the application, but I cannot debug because of some exceptions!
    Why this can be happening, can it be a misconfiguration or something?
    Thank you all!

    Did you check Release Notes of the SDK? I've seen it once - if memory serves it lists quite a lot of known bugs.
    Maybe the problem you describe is listed there too... and if you're really lucky then description may even mention some workaround for it.

  • Nokia emulator for S60 is too slow!

    Hello.
    I've installed:
    1) J2SE
    2) J2ME
    3) NetBeans
    4) NetBeans Mobile Pack
    5) Nokia S60 Emulator
    All works fine, I'm able to compile all midlets correctly and to test them on nokia emulator, but because of I'm a newbie, I control what happens at my midlet very often after i've done an change. But when I click on RUN, the nokia emulator takes about 1min to launch, and it's so boring to wait 1min every 3-4min to debug my app!!!
    If you want to know information about my PC:
    - OS Windows XP HE SP2
    - 512MB ram
    - Intel P4 3.2GB
    - 256MB Ati radeon 9550
    - 200GB HD
    I hope you'll help me.
    Thank you for any help.

    This sounds like you are using the emulator with a computer with Hyperthreading. This will cause the slowdown. You need to set the emulator to only run on one of the processors (since winxp thinks it has 2).
    I'v found an explaination on how to do this on http://www.arsfoodcourt.com/index.php?module=ContentExpress&file=index&func=display&ceid=49&meid=19, here ya go:
    This way requires "imagecfg" from the Win2k or WinXP Resource kit and modifies the actual FAH exe.
    * You can permanently set processor affinity for a non-operating system executable, on both Windows 2000 and Windows NT 4.0, by using the Imagecfg.exe tool from the \support\debug\i386 folder of a Windows NT 4.0 CD-ROM, or the Imagecfg.exe tool from the Windows 2000 Server Resource Kit Supplement One.
    * NOTE: Do NOT use imagecfg on any kernel operating system files.
    * To permanently set the processor affinity for your 32-bit executable, open a CMD prompt and type:
    o imagecfg -a 0xn <Drive:>\Path\yourprogram.exe
    o where 0xn is the affinity mask. The mask constrains your application to a specific CPU, from 0 - 31, where:
    CPU      MASK
    0      0x1
    1      0x2
    2      0x4
    3      0x8
    4      0x10
    5      0x20
    6      0x40
    7      0x80
    8      0x100
    ...      etc.
    o For instance, to set the affinity for "c:\util\Country Codes.exe" to processor 1, use:
    + imagecfg -a 0x2 "c:\util\Country Codes.exe"
    + which received the following response:
    c:\util\Country Codes.exe contains no configuration information
    c:\util\Country Codes.exe contains a Subsystem Version of 4.0
    c:\util\Country Codes.exe updated with the following configuration information:
    Process Affinity Mask: 00000002
    + When Country Codes.exe is launched now, its' affinity is set to CPU 1.
    "

  • Difference between S60 and S60 3rd Edition

    Hello.
    This is not so much bout updating the phone's software but more about the phone's Operating system itself so hope this is in the right place.
    I have an N91 that comes with Symbian S60 3rd Edition. I wanted to install a screen reader so that I can use all the features of this phone (as I'm partially sighted) but it just would not install. Not sure whether this had something to do with unsigned applications, but that's another issue.
    I looked on the website and i think it did mention something about the application only being compatible with Synbian S60 phones and not S60 erd Edition. So my question is, how different are the two versions of the operating system? I'm more of a PC guy myself, so in PC terms would it be, say, the difference between Windows XP and 2000, built on the same basic foundation but with some differences, or say, the difference between Windows XP and 98, two totally different systems?
    Also, how difficult would it be to migrate program code from an S60 platform to the 3rd Edition platform, and therefore how long roughly would you say it would be before the application could be released?
    Finally, is there such a thing as an S60 emulator, so maybe I could run the screen reader in S60 mode until an S60 3rd edition version comes out? The emulator question would also hold for he fact that I want to be able to run some applications I used to run on my Nokia 6630 (Symbian S60) on my N91.
    Thanks in advance for your help, and sorry for the long post and many questions. I guess I'm just so excited at finally having this new phone i want to make the most of it lol.
    Hussein.
    Hussein Patwa
    PatwaNet
    Nokia 6630 on 3G (UK)
    Nokia 6610i - UNLOCKED! YAY!
    Currently looking for more cheap & new handsets - you never know when a spare can come in handy!

    Hi and thanks for your reply. sorry for not getting back to you sooner. I am just doing this more for a hobby than as a 'proper' project, as I doubt I'd actually get anywhere- and if I did it'd probably be a fluke. I'm going to download all the SDK's so I can at least get the actual code of the program, as at the moment it's just in its .sis form. then maybe I can at least see where the changes are, and any transformation into an S60 3rd Edition (or is it S9.1?) is just good luck I guess.
    Hussein.
    Hussein Patwa
    PatwaNet
    Nokia 6630 on 3G (UK)
    Nokia 6610i - UNLOCKED! YAY!
    Currently looking for more cheap & new handsets - you never know when a spare can come in handy!

  • GetKeyStates problem in WTK2.5

    Hi,
    I am developing a card game for my Final Year Project. It's already in the final stage but I got a strange problem recently after I installed some 'new' development software. I am using Eclipse 3.2.1, WTK 2.5, Carbide 1.5, and S60 Emulator 3rd edition.
    My game can run perfectly in the S60 emulator but problems occur when testing in the WTK 2.5. The problems are not occur in the game but a simple menu, when the user press up, the choice go up, press down then go down, that's very simple. The class is extends GameCanvas and implements Runnable and CommandListener. There is a method "chkInput()" inside the game loop (run()) for checking the key states.
         private void chkInput() {
              int keyStates = getKeyStates();
              if ((keyStates & UP_PRESSED) != 0)
                   selectMenu(-1);
              if ((keyStates & DOWN_PRESSED) != 0)
                   selectMenu(1);
              if ((keyStates & FIRE_PRESSED) != 0)
                   if (!players[currSelection].isEmpty())
                        chkPlayerInfo();               
         }The system will display the binary value of ketStates when I am debugging it. When I was testing it in S60 Emulator, the keyStates are very normal such that it was "10" when the user pressed up, "1000000" when the user pressed down and "100000000" when the user pressed fire.
    However, when I was testing in WTK2.5, the keyStates became weird such that it was "100000010" when I pressed up at the first time, after that, the game loop is running and the system is keep displaying that the keyStates is "100000000" which is the fire button!!!?? But actually I haven't touch anything! The keyStates became "100000010" even I pressed up.
    I really got crazy and still cannot fix it for a day! Please help........

    I am also facing the same problem in WTK 2.5
    The getKeyStates() returns 256 instead of 0 when no key is being pressed. What could be the problem? It works normally in WTK 2.2 and Sony Ericsson Tool Kits. Is this a bug in WTK 2.5?

  • Java.lang exception package/simpleForm. init ()

    hi;
    I am learning j2me. and i used Nokia feature pack 2, S60 emulator. I created simple application for test and i got java.lang exception. package/simpleform.<init>().
    I wasted all my time on this. and search for help. I think my method of developing is right but i dont know what problem is plz help me.
    Can any one advise me well know book for j2me developing
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    * @author Kami
    public class SimpleForm extends MIDlet implements CommandListener {
    Form frm ;
    Display display;
    Command Exit_cmd= new Command("Exit",Command.EXIT,1);
    // Command Ok_cmd= new Command("Ok",Command.OK,1);
    public void startApp() {
    display= Display.getDisplay(this);
    frm= new Form("First Form");
    frm.append("This is Sample Form;");
    // frm.addCommand(Ok_cmd);
    frm.addCommand(Exit_cmd);
    frm.setCommandListener(this);
    display.setCurrent(frm);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    public void commandAction(Command c, Displayable d) {
    if(c==Exit_cmd){
    notifyDestroyed();
    }

    The cause is case mismatch.
         Your method signature : public int Add2Numbers(int x,int y) --- Upper Case
    But the signature produced is
    ouldn't find a matching Java operation for WSDD operation "add2Numbers" (2 args)
    ( from the error trace ) -- Lower case.
         Change the case of your method to add2number (lowercase ) as per conventions and you code will work.
    Rgdz,
    Saroj Kumar

  • Java FX Mobile Allpication Deployment?

    I'm asking this question again because I don't think it has been answered despite being asked a long time ago here.
    I can build an FX Mobile Application in Netbeans and run it using the default mobile emulator. However if I try to run using the Windows S60 emulator from Nokias S60_jme_sdk_3rd_e_FP1 SDK I get 'Application not compatible with phone'.
    Now I'm wondering do any real mobiles support Java FX?
    As a test I built my test 'FxMobileApplication' to run in a browser by changing 'Properties' - 'Run' and selecting 'Run in Browser'. This produced a FxMobileApplication.html file in the dist directory. That file launches Firefox, but Java throws a string of Exceptions:
    Exception in thread "AWT-EventQueue-13" java.lang.Error: Couldn't launch FX Stage fxmobileapplication.Main_run
         at com.sun.javafx.runtime.adapter.AppletStartupRoutine.run(Unknown Source)
    ... and a whole lot more similar.
    I'm somwhat confused!
    Perhaps the Nokia emulator is suffering from the same problem as Firefox?
    Perhaps I can't run my mobile app using 'Run in Browser' ?
    Perhaps there is still no support for Java FX mobile applications on any platform other than the ME emulator?
    Hopfully sombody can help to ease my confusion.
    TIA

    It seems the S60 runs on Symbian OS.
    Currently JavaFX is supported only on Windows Mobile 6.1+, IIRC.

  • Error running SIP code

    Hi
    I am using Websphere Studio Device Developer 5.6.1 with Nokia SDK for J2ME 4.0.
    I am trying to run the SIP examples (SendMessage, ReceiveMessage MIDlets) distributed with the JSR180 RI. These run successfully on the emulator distributed with JSR180 RI. However, when I try to run this on the S60 emulator in Nokia SDK 4.0 from Websphere Studio Device Developer, I get the following error in SendMessage
    ALERT: java/lang/NoSuchMethodError: No such method notifyResponse.(Ljavax/microedition/sip/SipClientConnection;)V.
    and the below error in ReceiveMessage
    ALERT: java/lang/NoSuchMethodError: No such method notifyRequest.(Ljavax/microedition/sip/SipConnectionNotifier;)V.
    This error is reported just after I click on SendMessage. The receiver is already listening but throws an error on receiving the message.
    If however, I send the message from SendMessage (on S60 emulator) to ReceiveMessage (on emulator distributed with JSR180 RI) the error is only thrown on SendMessage (on S60 emulator). The ReceiveMessage successfully received the message and displays it.
    I though there may be an error in the SIP library used on S60 and replaced the class files with files from the JSR180 RI emulator. Now midp crashes when I try and run the code on S60.
    Any ideas where the error could be coming from.
    thanks
    Ajay

    It works. I modified the class path of J2EE to point to where the JARM jars where stored. I would love to hear from anybody that has solved this issue any othe way.

  • Exception thrown but where?

    Hi i am using netbeans 5.5 along with the s60 emulator and when i run into an exception, the output screen displays this message:
    java.io.IOException
    - javax.microedition.lcdui.Image.createImage(), bci=30
    - PFFCanvas.load_image(), bci=512
    - PFFCanvas.spin(), bci=18
    - PFFCanvas.run(), bci=1767
    - java.lang.Thread.run(), bci=11
    from that message its unclear to me which line in my code is where the exception is thrown at. on other emulators i could simply click on the top of the exceptio output just like a hyperlink that links to the actual line of code that the exception occured.
    how can i find out which line this exception has occures?

    how can i find out which line this exception has occures?in the line that calling createImage() !

  • J2me polish with netbeans    5.5?

    Hi i am trying to use J2ME polish with an existing midlet program i am working on but cant seem to get it to work.
    i have got one of the build.xml file from one of the samples and have placed it on my projects root folder. i then copied one of the resorces folder from the sample project and placed in in my projects root as well. When i try running the program i get a compile error below:
    Warning: unable to find following requested device-identifiers:
    S60Emulator
    Please check your <deviceRequirements> section in your build.xml script.
    C:\Documents and Settings\jonathan\My Documents\videoPoker\videoPoker\build.xml:70: Your device-requirements are too strict - no device fulfills them. Check the <deviceRequirements> section(s) in your build.xml script.
    im trying to run it on the s60 emulator and the default colourphone device emulator. hope you guys can help has i have not been able to get this j2me polish working for a while.
    How come when i try to use import de.enough.polish it tells me that it doesnt exist when i installed j2me polish succesfuly? how come i cant use it on my current default j2me project?
    i have got the latest jdk and wireless toolkit sdk and i have downloaded the mobile pack for netbeans 5.5

    Have you had any luck wih this problem? I'm having exactly the same problem now, starting to use J2ME Polish with NetBeans 5.5.1.
    Thanks!

  • Playing a video using the Mobile Media API - JSR135

    Hello to Everybody,
    does anybody know the very exact video-format that a S60-Nokia-Phone
    suppot ? I create a video-file with the Quick Time Video Player Version 7.0.3.
    Following video-file-features :
    Content Type is 3gpp - Release 5
    Video-Format : H.263
    Data-Rate : 64 kbps
    Image-Sitze : 176 x 244 QCIF
    Image-Rate : 10 Images per second
    Key-Frame : All - 24 Images
    When I invoke the "start-method of a Player-Instance" in my MIDlet on a
    Nokia-S60-Emulator of the Nokia Prototype SDK 3.0 for J2ME I get the
    following Exception :
    java.lang.ArrayIndexOutOfBoundsException: 13
    at com.nokia.phone.sdk.concept.util.mmedia.video.v3gpp.VideoTrack.readFrame(VideoTrack.java)
    at com.sun.media.SourceThread.process(BasicSourceModule.java:664)
    at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    Here the emulator is hanging...
    Now I kill the Emulator-Process and the Exception continues with...
    java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.player.VideoPlayer.doPrefetch(VideoPlayer.java)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.player.BasicPlayer.prefetch(BasicPlayer.java)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.player.BasicPlayer.start(BasicPlayer.java)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.MMAManager.start(MMAManager.java)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.nokia.phone.sdk.concept.gateway.g.a(g.java)
    at com.nokia.phone.sdk.concept.gateway.g.run(g.java)
    at java.lang.Thread.run(Unknown Source)
    Can anybody reproduce this error-message or does anybody encountered this error and know the solution ?
    Maybe "QuickTime Video Player 7.0.3" is the wrong software to
    create 3gpp-Videos ? Is there anything else advisable to produce 3gpp-videos ?
    Best Regards and thanx for investigations...

    App menu > Premierepro > Keyboard Shortcuts...
    Then inside the Keyboard Shortcuts dialog, find: Application>Window>Markers and assign a shortcut. The only hard part is finding one not yet in use... you'll probably have to use shift/option/ctrl modifiers.

  • Unable to play RTP packets

    I am developing a J2ME Voip Client,
    For testing purposes I am using a soft phone(Zoiper) on the other end.
    I am able to receive RTP packets,encoded using G711-PCMA from the Soft phone in my J2ME client and I am able to extract useful data like payload type,SSRC etc.
    But I am unable to play the RTP payload.I tried in WTK ,S60 emulator and N80
    Here is part of the code.
    RTPPacket rtpPacket = getRTPPacket(dg, dg.getData());
    buffer = rtpPacket.getData();
    form.append(rtpPacket + " with media length: " + buffer.length);
    ByteArrayInputStream input1 = new ByteArrayInputStream(buffer);
    form.append("\n Receiving RTP Packets...");
    try {
    form.append("\n Trying to create player...");
    player= Manager.createPlayer(input1,"audio/x-wav");
    form.append("\n Player created");
    player.prefetch();
    player.realize();
    player.start();
    form.append("\n Player started");
    form.append("Player duration:"+player.getDuration());
    } catch(Exception e) {
    e.printStackTrace();
    Thanks in advance.
    Ramya

    I am developing a J2ME Voip Client,
    For testing purposes I am using a soft phone(Zoiper) on the other end.
    I am able to receive RTP packets,encoded using G711-PCMA from the Soft phone in my J2ME client and I am able to extract useful data like payload type,SSRC etc.
    But I am unable to play the RTP payload.I tried in WTK ,S60 emulator and N80
    Here is part of the code.
    RTPPacket rtpPacket = getRTPPacket(dg, dg.getData());
    buffer = rtpPacket.getData();
    form.append(rtpPacket + " with media length: " + buffer.length);
    ByteArrayInputStream input1 = new ByteArrayInputStream(buffer);
    form.append("\n Receiving RTP Packets...");
    try {
    form.append("\n Trying to create player...");
    player= Manager.createPlayer(input1,"audio/x-wav");
    form.append("\n Player created");
    player.prefetch();
    player.realize();
    player.start();
    form.append("\n Player started");
    form.append("Player duration:"+player.getDuration());
    } catch(Exception e) {
    e.printStackTrace();
    Thanks in advance.
    Ramya

  • Eclipse pulsar and S60 5th edition emulator

    Hi all,
    I'm new in this world but not in the programming world.
    In the last month i've tried to develop something to learn JME but I have a blocking problem...
    have a windows 2003 R2 server intalled, Eclipse and the S60 5th edition SDK.
    When I try to start a sample application (hello world) the emulator reports:
    Ready
    IPAddress 0.0.0.0
    Listening on port 11011
    New Incoming connection
    Authenticating
    Authentication ok.
    Installation starting
    SWI: Task failed: -15
    Installation Error: -15
    Socket read error
    Cleaning up old data
    Agent performs cleanup
    Done cleaning
    I cannot find anything on this error...
    What I'm not doing wrong?
    Thanks!

    What the hell are you talking about??? N97 and 5800 are different??? N97 for rich-mans??? Hahahahha Just see this comparison, and you will notice, that N97 and 5800 is almost totally the same device:
    http://s60blog.com/2008/12/nokia-n97-vs-nokia-5800-xpressmusic/
    N97 just more with the keyboard, and hopefully 5800 will get the widget-homescreen too, as both of them has the same operation system (s60v5), resolution and touchscreen...
    Message Edited by tuningszocske on 01-Feb-2009 01:00 AM
    Very special design, binary and unique watches: www.illz.eu

  • N97 (and general S60 v5 - 5800, etc) iphone style ...

    Howdy all!
    k, this post has two purposes. first of all, i'm wondering if anyone knows a good iphone-style conversation app (c'mon, you know it's the only thing they have over us, we all want one) that integrates well with the built in "new message" pop up thing?
    second of all i'd like to raise awareness of http://betalabs.nokia.com/apps/conversation
    this is an app developed by nokia for S60 v3. would you like nokia to develope an S60 V5 version? if so either post here, or sign in to beta labs, (same user name and password as for this) and put yourself as a follower. bring this issue to the attention of nokia!
    Solved!
    Go to Solution.

    hmmm... i've found a trial version of the 1.08 (it won't sync all your mesages into the app unless you buy it n there are a couple of other limitations... not sure what), am having a bit of a play with it at the mo. considering buying it, but it's still anoying! this is something nokia should include as standard! grr...
    P.S. it is a near perfect emulation of the iphone aproach, cheers
    P.P.S. http://www.gczm.net.cn/download/FreeiSMS_AllInOne_v1.08_Final_Signed.sisx for anyone else interested in downloading it. to buy a licence you can google it, i'm lazy... also i'm a student at uni, so reluctant to fork out for this (yes, it's only a tenner... but it just don't feel right...)

  • Wanna add Nokia S60 emulators to WTK 2.5.1

    Hi, guys!
    I installed the Nokia S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 2, for MIDP (Beta release) into the direcotry C:\S60 and its emulators works well with Netbeans IDE 5.5.1 with mobility pack.
    Now I want to add the emulators from the Nokia S60 3rd Edition SDK to Sun Java Wireless Toolkit 2.5.1. I followed the instructions found in Sun Java Wireless Toolkit for CLDC User's Guide, cited below for convinience of reference:
    "The procedure is usually to unpack or install the third party emulator, then copy its directory into toolkit\wtklib\devices (Windows) or into toolkit/wtklib/devices (Linux). The next time you run the toolkit, the emulator is available."
    I copied the dirctory S60_3rd_MIDP_SDK_FP2_Beta from C:\S60\devices\S60_3rd_MIDP_SDK_FP2_Beta to the dirctory C:\WTK2.5.1\wtklib\devices. But I just can't find the S60 emulators in the WTK as I did in the NetBeans IDE.
    Could anyone kindly tell me what's wrong with my settings? thanks a lot!
    SeaScape
    2007/09/24

    Having the same issue. Help please!

Maybe you are looking for