Debugging j2me applications

I am wondering what people are using to debug j2me apps. I am using the wireless toolkit to build and run apps right now. I tried to use the ktoolbar debug feature, but it looks like that sets up for a remote debug session with who knows what. Also the default port 5000 was in use, but that should be easy to change.
I would like to use netbeans, but am not sure how to integrate the wireless tookit into it.
Can someone suggest some good options for debugging, as well as for j2me ide's etc.
Thanks
Justin

I just recently started playing around with J2ME so I may not be the best person to answer this question, however, I'll throw in my 2 cents.
If you grab the new 4.0 beta version of netbeans along with the mobility package, you should have an easy time running and debugging your J2ME apps. Follow the instructions on the site on how to set up the mobility package.

Similar Messages

  • VM Error installing J2ME Application

    i am creating a J2ME application that make a HttpConnection.
    I made a lot of tests in WTK and it worked fine, but when I tryi to deploy it to a iden phone Motorola i85s,
    and the application is being installed, occours a VM Error.
    I connected the cel phone by hyperterminal, to debug, and the following message was shown when the error appeared:
    Fatal error: Unresolvable reference encountered in class services/a
    I continued trying to resolve the problem and I perceived that the following line is the reason of the error:
    OutputStream os = c.openOutputStream();
    c is a HttpConnection object.
    When i remove this line of the code, the deploy works fine... but my application needs this line to work....
    Have anyone an idea about what could be happening?
    Thanks a lot.

    Hi,
    Check with your device manual if your device implementation supports HttpConnection.

  • Building and Debugging MIDP applications.

    Hi,
    I have java files(MIDlet) for MIDP applications. I am unable to compile it in JBuilder7.0. Using J2ME -> KToolbar i am able to build the application/project, But i am unable to debug it. Can anybody tell me how can i successfully create/build/debug MIDP applications?
    what are the necessary S/W required??
    Thanks
    Sunil.

    go to
    http://www.borland.com/products/downloads/download_jbuilder.html#
    and download MobileSet and install it.
    then:
    1) install Wireless Toolkit if you dont have it already
    2) start JBuilder
    3) Tools menu -> Configure JDKs
    4) click "New"
    5) set the path to your WTK path (for example c:\wtk20)
    6) click ok
    7) select it as JDK for your project (or as default) using "Project properties" on the project menu
    for JBuilder Personal Edition, there's a trick to make it work - you can replace the included J2SE JDK with MIDP 2.0 and get it working (personal edition doesn't normally have the ability to add new JDKs)
    When you're going to run an application in your project, you'll get the Run window coming up. Do like this
    1) click "New"
    2) pick Type: MIDlet
    3) browse to your main class (extends MIDlet)
    4) optional: pick Build target: <None> if you don't want to run make on the project before each run
    5) click "ok"
    6) now you can run your midlet using the green play button

  • Debuggin J2ME application

    Hellos everybody...
    I'm working with Eclipse 3 and the plugin for J2ME EclipseME 0.55
    I'm wana to know how can i debug a j2me application.
    thank.....

    In a few words, if emulator support UEI standart, then it has following options:
    -Xdebug Enable runtime debugging. -Xrunjdwp must also be specified.
    -Xrunjdwp:<name>=<value> Starts the JDWP debug session with various sub-options. <name> is one of the sub-option names. Appropriate values for <value> is determined by the sub-option name. -Xdebug must also be specified.
    The <name> may be:
    transport The transport mechanism used to communicate with the debugger. Only the mechanism for dt_socket value is currently implemented.
    address The transport address for the debugger connection. This can be either 'host:port' or 'port' formats. If the 'port' format used, the host is assumed to be localhost.
    server Start the debug agent as a server. The debugger must connect to the port specified.
    suspend Whether or not the VM should suspend immediately after establishing a connection with the debugger. Values must be either 'y' or 'n'. The default is 'y'.
    You can read this help in emulators, that supports UEI.
    So using any IDE, that supports socket remote debuging, it is possible to debug midlets.
    I using Ant + IDEA and sometimes Ant + Eclipse without plugins. In Eclipse you must deselect checkbox about "suspend VM" in debug options.
    Here my Ant task for debugging:
         <target name="runNokia_S40_debug_Alone">
              <exec executable="C:\Nokia\Devices\Nokia_S40_DP20_SDK_1_0\bin\emulator.exe">
                   <arg value="-Xdebug"/>
                   <arg value="-Djava.compiler=NONE"/>
                   <arg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2342"/>
                   <arg value="-Xdescriptor:${project.dir}/${project.name}.jad"/>
              </exec>
         </target>At fisrt I run the Ant task, then I run remote debug in IDE.

  • Unable to debug any application after upgrading to Reef Shark and Update 6

    Hi,
    Since I upgraded to Reef Shark and consequently also installed the update 6 I can't access the deployment server.
    None of the applications show up in the broswer, nor does the admin-console for the server.
    I get the following exceptions in the browser window when I want to debug my application:
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:218)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    root cause
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         java.lang.Class.forName0(Native Method)
         java.lang.Class.forName(Class.java:219)
         javax.security.auth.Policy$3.run(Policy.java:215)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
         javax.security.auth.Policy.getPolicy(Policy.java:179)
         javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
         java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
         java.security.AccessControlContext.optimize(AccessControlContext.java:310)
         java.security.AccessController.checkPermission(AccessController.java:400)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkRead(SecurityManager.java:863)
         java.io.File.lastModified(File.java:771)
         org.apache.naming.resources.FileDirContext$FileResourceAttributes.getLastModifiedDate(FileDirContext.java:1123)
         org.apache.naming.resources.ResourceAttributes.get(ResourceAttributes.java:706)
         org.apache.naming.resources.DirContextURLConnection.getLastModified(DirContextURLConnection.java:211)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:474)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:450)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)And when start the admin-console, the browser window stays empty, but this is the exception-trace from the server-log:
    [#|2005-02-12T00:21:44.890+0100|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|ApplicationDispatcher[/asadmin] Servlet.service() for servlet default threw exception
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at javax.security.auth.Policy$3.run(Policy.java:215)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
            at javax.security.auth.Policy.getPolicy(Policy.java:179)
            at javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
            at java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
            at java.security.AccessControlContext.optimize(AccessControlContext.java:310)
            at java.security.AccessController.checkPermission(AccessController.java:400)
            at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
            at java.lang.SecurityManager.checkRead(SecurityManager.java:863)
            at java.io.File.lastModified(File.java:771)
            at org.apache.naming.resources.FileDirContext$FileResourceAttributes.getCreationDate(FileDirContext.java:1097)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.set(DefaultServlet.java:2399)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.<init>(DefaultServlet.java:2331)
            at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:884)
            at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:470)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:748)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
            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:324)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-02-12T00:21:44.890+0100|WARNING|sun-appserver-pe8.0.0_01|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=14;|Unexpected error forwarding to login page
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:286)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]I have no clue as to what is causing this problem. Any help is highly appreciated.
    Iwan

    Hi Iwan,
    From JDK 1.4 the com.sun.security.auth.PolicyFile class has been deprecated and replaced by sun.security.provider.PolicyFile. Could this be the reason?
    I found this info at the following URL. Maybe this will help you in some way: http://www.doc.ic.ac.uk/csg/java/1.4docs/guide/security/jaas/spec/com/sun/security/auth/PolicyFile.html
    Cheers :-)
    Creator Team

  • How to send sms from gsm modem(AT commands) to j2me application(not inbox)

    hi
    i want to send sms from gsm modem to a j2me application, for this to happen i have to send sms to a specific port in which j2me application is running.when i m trying to send sms from modem it doesnt go to application it goes to inbox.
    is it related to udh settings if yes then how do i set port no in settings?if no what are the other ways.

    Hi Vignesh,
    Might be you can call ActiveX or DLL objects of the software installed for modem from LabVIEW, if it is unblocked.
    Have a  look on the link > http://zone.ni.com/devzone/cda/tut/p/id/2983
    CLA 2014
    CCVID 2014

  • How to get the Mobile information by using J2ME application

    hi all,
    I am lakshman.I am developing an application in j2me,I want my program compatible to all mobile devices.
    I want to know properties and the device information with the help of a j2me application.I got the information with the help of System.getProperty(String).I found some of the information like sms,videocapture,and some of the values and the variables ... in the following
    platform...null
    encoding...ISO-8859-1
    configuration...CLDC-1.0
    profile...MIDP-2.0
    locale...null
    fileconnection...1.0
    comport...null
    hostname...iwmc-07
    sms...null
    smartcard...null
    location version...null
    sip version...null
    m3gversion...null
    mms...null
    videocapture...false
    videoencoding...null
    snapshotencoding...encoding=png encoding=jpeg encoding=gif encoding=bmp
    audioencoding...null
    supaudcap...false
    suprecod...false
    supmixing...false
    mediaversion...1.1
    streamcont...null
    I want to know these are the only variables or is there are lot...
    Now my question is I want to get the information of the service provider and also the present location that the mobile was present.I think there was some method to get that ...I want to get what firmware it was using .
    Can anybody tell me that way and also the package to get the information
    thanks in advance
    lakshman

    hi all,
    I am lakshman,I found the answer for my question,By using the Location API(jsr179).It was not include in the WTK2.2.for that i have downloaded the WTK2.3 then i have implemented the location api in the application and it was working.
    And I have the following warning...
    Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler.
    I am running the application from my Emulator(by using the default color phone).I have to check that in the device.
    Can any body please give me the way to fix that,i want to test my application from my emulator is that is possible if possible ...how?.what is the procedure to implement..
    thanks in advance

  • Error While Debugging the Application

    Hello,
    I am developing applications using WebDynpro  for JAVA.
    I am using NWDI 7.0.
    I am getting an error while debugging the application. When I click on debug mode in debug perspective, I am getting error message as :
    "Failed to connect to remote VM. Connection refused"
    Could any one of you help in resolving this error?
    Thanks and regards,
    Pradnya

    Hi,
    I think NWDI has nothing to do with debugging the application.
    Probably you will get some answers in WebDynpro java forum
    -Ashutosh

  • Common Language Runtime Debugging Services Application has generated an exception that could not be handled

    Our custom got an error when startup our .NET windows form application.
    XXXXX.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled
    Process id=0x654(1620), Thread id = 0x5b0 (1456)
    Click OK to terminate the application
    Click CANCEL to debug the application
    If they click on "CANCEL" then following error message appears:
    Registered JIT debugger is not available. An attempt to launch a JIT
    debugger with the following command resulted in an error code of 0x2(2)
    Please check the computer settings
    cordbg.exe !a0x654
    Click on Retry to have the process wait while attaching a debugger
    manually.
    Click on Cancel to abort the JIT debug request
    We can not duplicate this problem in our development environment and test environment. So, we ask them to uninstall application, .NET Framework 1.1 and resinstall .NET Framework 1.1 and application. They still got same error. We further ask them to install .NET Framework SDK 1.1. They got some detail error message.
    [thread 0x840] Thread created.
    Unable to determine existence of prolog, if any
    [thread 0x188] Thread created.
    [thread 0xba8] Thread created.
    [thread 0x840] Unhandled exception generated: <0x00c0344c> <System.IO.FileNotFoundException>
     _fileName=<null>
     _fusionLog=<null>
     _className=<null>
     _exceptionMethod=<null>
     _exceptionMethodString=<null>
     _message=<0x00c04cc8> "The specified module could not be found."
     _innserException=<null>
     _helpURL=<null>
     _stackTrace=<0x00c04d2c> array with dims=[156]
     _stackTraceString=<null>
     _remoteStackTraceString=<null>
     _remoteStackIndex=0x00000000
     _HResult=0x8007007e
     _source=<null>
     _xptrs=0x00000000
     _xcode=0xe0434fd
    Thread 0x840 R 0x00000000: <unknown>
    <cordbg>
    Looks like the problem is casued by missing component. But we don't know which component missing and how to find it. Is there anybody can give us some clue what we need to check next and what tool we can use to detect missing component.
    Thanks!!!!

    I tried Dependency Walker in our development environment, looks like it's useless for .NE T Window Form application, the result I got is like bellow,
    XXXXX.EXE
        MSCOREE.DLL
            KERNEL32.DLL
            USER32.DLL
            ADVAPI32.DLL
            SHLWAPI.DLL
            URLMON.DLL
            VERSION.DLL
    I know we used some other DLL like Mirosoft Office Object Library, but MSCOREE.DLL (.NET Runtime Engine) covered them. Any other idea? Thanks!!!!

  • Opening a web page through my J2ME application.

    Hi All,
    I am creating a j2me application, that has to connect to the server online and open a page on that server, and then upload a file at a particular location in that server.
    I am using Nokia 6681. I was exploring it, but since I have very less time, I am posting a query here also.
    If this is possible (opening a connection with a server - I have the IP address of the server and also the path to that page), and display that page on my cell phone from within the j2me application.
    Is this somehow related to JSR-172 (Which is not supported on Nokia 6681).
    If this is not possible this way, Is there any way I can upload that file to the server from within the application.
    Urgent help is required.
    Thanking you in anticipation
    Ashish

    Just compile and run the testVisit program as follows:
    java testVisit http://www.yahoo.com
    testVisit.java
    ==========
    import java.net.*;
    import java.io.*;
    public class testVisit {
       public static void main(String[] args) {
          try {
             URL url = new URL(args[0]);
             URLConnection connection = url.openConnection();
             connection.setRequestProperty("Referer", args[0]);
             connection.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0");
             BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
             String Line;
             while ((Line = in.readLine()) != null) System.out.println(Line);
             in.close();
          } catch (Throwable e) {e.printStackTrace();}
    };o)
    V.V.

  • Real J2ME applications (2)

    I am looking for real j2me applications.
    I have already posted this question at:
    http://forum.java.sun.com/wireless/thread.jsp?forum=76&thread=422879
    However, most of the replies gave examples of games or tutorial examples.
    But I was looking for j2me applications implemented by companies for their consumers, such as amazon.com.
    Amazon have a mobile app, but its implemented in WAP.
    So are there any companies which have implemenetd j2me apps.
    regards

    You could find tonns of real j2me applications if you type the following keywords to any search engine: midlet download free/buy j2me.
    Here is a real game application: www.kisember.com/test/rescuedemo.jad

  • Check if mobile phone got turned off using j2me application

    hello
    Is there any way to know if the mobile phone got turned off from my j2me application.
    this is really urgent please help me out.

    alyaitani wrote:
    hello
    Is there any way to know if the mobile phone got turned off from my j2me application.No. Why do you think you need to detect this?
    this is really urgent please help me out.[http://catb.org/~esr/faqs/smart-questions.html#urgent]
    db

  • How to Create trial version of my j2me application??

    Hey..
    could please anyone write a short note on safest way of creating a trial version of my j2me application?? like i want to limit the number of tries.. like say 25 tries..
    are there any applications that do this.. or could u suggest good coding methods.. ??
    thanks a lot!

    rakesh.pachava wrote:
    Hi,
    You can use the Record Store implementation to count the number of tries.
    But if once the app is uninstalled then the record store is also lost.
    If you want you can use the File Connection API to write to file system.
    This asks for user permissions.
    Regards,
    Rakesh pachawa.yes.. this is the method im using.. & i dont want to access the File System directly.. cause i want maximum compatibility. I don't mind re-installing the application causing the trial to be re-started.. thats fine.
    but i don't want someone to be able to crack the class files by taking out the code which checks the Record Store..
    how are j2me applications normally cracked pls??

  • Can a J2ME application download a mobile content to the handset?

    Hi, I'm a newbie here.
    I've a question about whether the J2ME application can be implemented to trigger a Http download via OTA to download a mobile content. let's say using the J2ME application, the user can actually download a MP3 by selecting the option on the application screen, from the content server to the user handset's folder.
    I know that another alternative way is to use platform request to trigger the handset's wap browser to do the downloading, however I'd like the user to do all the things with only one J2ME application.
    Please help, any information is very much appreciated.

    Hi JunJie
    I'm also new so don't expect any code snippets from me. But from what I've read both on the forums here and elsewhere --
    Yes, your midlet should be able to read in a mp3 file from a web server, the best wy to find out is just to TRY but your MIDlet will be able to access the phone's file system only if it's digitally signed. To the best of my knowledge, obtaining a digital signature would cost you at least US$ 199.
    rms has a limit of 200 kB per application, so you can't save it there either.
    One way out might be to download the file and then transfer it to a listening PC application via bluetooth.
    Don't know whether you would get an 'Out of memory' error if the mp3 is fairly large.
    Wish you luck, Darryl

  • Xml Push Parsing in J2Me applications

    Hi all,
    I would like to use Push parser in j2me application.Can u please tell me how can i use sax parser in mobile application.Because when i included "jaxp-api.jar" in mobile application,it gives an error "FactoryFinder class not found".. So please tell me how can i overcome this error or any other push parser available for J2me applications.
    Thanks
    Regards
    Sourab

    Please review this article.
    http://developers.sun.com/techtopics/mobility/midp/articles/parsingxml/
    There is a link to a push parser mid way through the article. If you search "push parser j2me" you should be able to find others.
    If you still are not able to find a push parser you could create your own. How complex is the xml you need to parse?
    I created an example called y!p! some time ago that uses a push parser to parse Yahoo's Image Search web service. (http://developer.yahoo.com/search/image/V1/imageSearch.html)
    You can download the example src code. For a more complex example you could look at w!k!. It uses a push parser to parse html wikipedia articles.
    w!k! push parser src:
    http://hostj2me.cliqcafe.com/www/forumtopicview.html?fid=58&categoryId=36&fpn=0
    w!k! src code:
    http://www.hostj2me.com/appdetails.html?id=1569

Maybe you are looking for

  • Adobe Bridge CS6, Camera Raw

    Hello, I need urgently help. I'm working on a MacBook Pro with Adobe Bridge CS6 since more than 1 year, using Camera Raw, v 8.6.0.254 without any problems. Last month I bought a Mac Book Air and installed Photoshop Elements 12, Adobe Bridge CS6 and P

  • SPM Extractors from SAP R/3

    Hi, I am quite new working with SPM and currently investigating options for data extraction activity from R/3 to SPM. I could see there is an extraction wiki, were I found very useful information, and could see the main options are: 1. Use SAP provid

  • Want to access server

    I have the following web server and want to access it from a client but am not sure how. I was just wondeing if anyone could help. I know I have to type into IE on the client the following: http://localhost."port number"/"file name" I am unsure as ho

  • Question about iPhone activation

    Here in Uruguay there is a Mobile Company called Antel and it not sells CDMA based contracts. If i buy an iPhone i would have to buy a 3G chip, but I'm not sure if that will work on iPhone. I  have read that once you put the micro sim in the phone yo

  • Unit wise inspection in RR

    Hi, This is the result recording scenario Actually as per client requirement they want a decision for accept and reject the material per unit wise Currently it is characteristic wise in general tab of result recording But they want acceptance and rej