J2ME and JSAPI 2.0

Hi everyone,
How do i use JSAPI 2.0 in J2ME and if possible show me some examples.
Thanx in advance.

Currently JSAPI is not working well for j2me

Similar Messages

  • J2me and java card, need help to communicate

    we are trying to put together a reader to read smartcards using j2me and we figure that it would be easiest if we could develop it to work with java cards rather than standard smart cards, the problem is we get garbage when we communicate to it, the chip sends us crap, any suggestions what might be wrong, any calls we might be missing, has anyone worked with j2me and java cards or smart cards, any help would be appreciated.
    einar

    .... reader app and the ME behind it .... smells like mobile ....
    First of all - if you want to have one mobile application running on this just make sure that whatever is written in ME can use drivers from the reader chip ....
    Workin on the PC is something completely different. There was one good example how to develop one host application in Java provided with the JCOP tools long ago ... I don't know if this is now in the new Eclipse tools.
    But - there was a small API provided that can give you good hints what to do - and - once you have it on the reader side - you can easily integrate ME methods with this ...

  • Information Retrieval with Genetic Programming using J2ME and Java WTK

    i have a big project to make a software using java programming especially n using J2ME and Java Wireless Toolkit, and i'm a begginer for java programming. I have no idea for the interface and how to setting connection between my phone mobile and GPRS. what should i do? thank you

    I believe MIT has lots of sourcecode. Try searching their site.

  • J2ME And JSP...

    Hi there Experts...
    i am new to J2ME and i need to connect my MIDP forms to jsp..
    i dont have any idea about that. Is it possible to pass values those been selected by an user from mobile device to the jsp and again answer from jsp to he mobile device..?
    Please help me out...
    Agam

    Hi,
    Here is the example of HttpConnection Class
    HttpConnection conn = (HttpConnection)Connector.open("http://www.yourdomain.com/mypage.jsp");
    InputStream is = new InputStream(conn.openInputStream());and now you can read is as you want and extract data from it.
    is can also contain XML data and then you can use XML parsers to extract data.
    Now it you wanna send any parameter using querystring then you should write like this
    HttpConnection conn = (HttpConnection)Connector.open("http://www.yourdomain.com/mypage.jsp?fname=rohan&lname=chandane");
    InputStream is = new InputStream(conn.openInputStream());Regards,
    Rohan Chandane

  • Encryption between j2me and j2ee

    I need to exchange some cofidential data between j2me client and servelt using http connection . So i need to encrypt the data before i send from j2me and the data should be decrypted at the server side so obviously i should also pass the key. I have searched on the net for a common algorthim that wil suit my requirements but i din get any useful solution. Please any one help me in finding out a algorithm tat meets my requirements.
    I appreciate all the replies

    i am getting the impression you are new to data security...
    if this is indeed the case, and you are in any kind of hurry, i strongly advise you to use ssl if at all possible.
    if you can not or will not use ssl then you will need to look into some other options.
    there are multiple algorithms to choose from for secure key exchange, diffie-hellman prob being the most popular.
    however, you will need to supplement the cldc api in order to implement.
    some key words to search on:
    diffie-hellman
    rsa
    aes
    tripple des
    satsa
    bouncycastle
    j2me security
    j2me encryption

  • J2ME and MIDP beginner questions

    Can anyone recommend editor/IDE, toolkit etc. for coding, building and testing MIDP2.0 apps/games?
    Until now I've coded a game using J2SE. I used Forte 3.0 for coding and compiling, and IE5.5 for testing.
    Now I want to code mobile games/apps using J2ME and MIDP 2.0. What software do I need? I downloaded Sun ONE studio 4 ME and wireless toolkit 2.0, but are kind of struggeling with it :)
    Regards
    Hallvard

    Ok, I found out that the toolkit compiled the .java files and could bulid the .jar and .jad files, and then test the MIDLet on the emulator.
    But what about a good editor/IDE for MIDLets? In Sun ONE studio ME i finally managed to create a HelloWorld Midlet (with new project wizard), and build and run it in the toolkit.
    I also heard that Borland JBuilder Mobile Edition was a nice IDE for J2ME/MIDLets.
    Hallvard

  • J2ME AND GPRS

    Hi to all,
    Iam new in the field of j2me. I have developed a j2me program,that accessing internet by gprs. But in mobile, i don't know, what the things that i have to set. The mobile is gprs activated. But that application is still not working. Is there any other settings in mobile.?

    I'm quite rusty with j2me, and you don't give much info. Internet settings for java applications can (at least some years ago) vary very much for different devices. To get an answer to how your specific device should be configured, you're probably best off trying to find a more specific forum, preferably one about your particular device, but at least something focusing on j2me.

  • Which handheld devices support both J2ME and Wi-Fi?

    Which handheld devices support both J2ME and Wi-Fi?

    Hi,
    Got the Lumia CYan update yesterday hoping that it would fix my bluetooth problem. I have Cortana on my Hong Kong country variant but still bluetooth issue is not resolved.
    After pairing instance, the bluetooth does not re-connect on subsequent attempts (it does try to reconnect). On reconnect attempt it fails and presents "tap to pair" under the bluetooth network.
    Please help.
    Daman
    Lumia 1520
    Past: Icon, 928, 720, N9, N97(ugh)

  • J2ME and 802.11b?

    I'm planning to make wireless P2P between PDAs and PC using WiFi and J2ME.
    Are there any issues between J2ME and WiFi that I should know about?
    How difficult is it to make such a network?
    Is J2ME compatible to most PDAs?
    Can J2ME be used for an app on a PC?
    I need all the help I can get. I am at your mercy. =)

    Are there any issues between J2ME and WiFi that I
    should know about?I'm guessing you will be using Sockets, Nokia phones, and sockets don't get on.
    Is J2ME compatible to most PDAs?Sun have a PalmOS J2ME JRE, Symbian/Psion have a J2ME JRE and I've seen a MS Windows CE/PocketPC J2ME JRE about, Google knows all.
    Can J2ME be used for an app on a PC?You would be better off writing a generic back end, then a J2ME LCDUI interface and a Swing/AWT/SWT interface, but I've seen the javax.mobileedition packages about for J2SE, or you could use a phone emulator.
    I need all the help I can get. I am at your mercy.
    =)I think one of the optional packages does P2P, I can't remember which thou.

  • J2ME and RTP

    I am transmitting video with the JMF.
    I have that to receive this exactly video with J2ME and RTP.
    How I make?
    Already I tried to use "rtp://10.1.1.3:22224/video"
    but it gives error... they know on this?
    Thanks

    Hi,
    I am very much interested in audio stream using J2ME. Do you have any examples on this topic?
    Thanks in advance

  • Difference btw J2ME and SAP MI

    Hi All,
    I have a basic doubt , what is difference btw J2ME and SAP MI.
    I understand while J2ME devlopment we develop MIDLET and how do we call the Midlet in Mibile ??
    What is the advantages of both and limitation of j2me , stopping me not use that and go for SAP MI
    Advantages of sap mi in a nustshell would be appreciated.
    Thanks for reply
    Regards
    Srinivas

    Hi Srinivas,
    SAP MI currently known as NetWeaver Mobile 7.10] could be seen as a technology platform to mobilise enterprise applications(for occassionaly connected / disconnected scenarios)
    Mobile consists of a server component named Data Orchestration Engine [DOE] and a java based Mobile client for Windows Mobile devices. DOE is an ABAP component that acts as an interface between your SAP/non-SAP Backend [like ERP, CRM etc] and the Mobile device by staging the data , distributing it to relevant receivers with extensive monitoring capabilities with a model driven approach.
    DOE talks to backend via Bapiwrappers / webservices and talks to mobile device (client running on the device) with a messaging protocol over http(s).
    Apart from the default java mobile client that is shipped from SAP , any custom client written in any native client technology could be integrated to DOE.
    There is also a co-innovation model along with partners like sybase where there are some mobile solutions already available in market like mobile sales that could be run on smart phones like iphone,blackberry etc.
    You can checkout several articles and blogs available in sdn itself for Mobile for understanding more about this .
    Regards,
    Liji

  • Help: forcing use of proxy in j2me and getting value of gateway IP address

    hi everyone,
    #1
    Has anyone tried forcing the use of a proxy for a midlet? If so how did you do this? I was able to connect to a url through the emulator (ktoolbar) by changing the proxy settings under the edit-->preferences on ktoolbar but I want to make sure that my midlet enforces the use of a proxy to connect to a http url (so that I'll know it still uses the proxy even if it is already using a real java-enabled phone).
    somebody suggested to me to take a look at http://java.sun.com/j2me/docs/html/docs/Running.html
    I've tried the instructions from the url but it seems like its just the configuration you run when you test it in your emulator. Similar to changing the preferences on ktoolbar to use a proxy.
    This is what I did:
    I tried changing the config to a working proxy, compiled my midlet, download it into my java-enabled phone and tested if it can connect to a backend server. The result: I was able to get a reply from the backend, however, when I changed the configuration to a non-working proxy, I still get a reply from the backend server. This leads me to believe that the midlet uses the current internet connection profile on the phone.
    If this is the case, then that means I am dependent on the phone settings and I could not change/force the midlet to use the current connection with a proxy server I defined. I've searched the internet and have seen sample codes to use proxy servers when connecting to the intenet but they are not for j2me applications (so far). Is this a limitation of j2me? maybe there is really no way to connect using a proxy defined in an application since there is no api for it? Correct me if I'm wrong though. Is there a workaround for this?
    #2
    Another problem that I am trying to solve is to get the value of the gateway IP address defined on the phone when it connects to the internet. Is this possible? If so, how?
    Any ideas will be very much appreciated. thanks to all.
    -jess

    hi,
    does anyone have an answer to this? hope you can help. thanks again.

  • J2ME and java.nio

    I'm not sure which forum this should go in so applogies if I got it wrong.
    I would like to use the java.nio package from JDK1.4 with the J2ME. Is this possible in any way?
    cheers
    Andrew

    I'm not sure which forum this should go in so
    applogies if I got it wrong.
    I would like to use the java.nio package from JDK1.4
    with the J2ME. Is this possible in any way?this topic should be post at
    CLDC and MIDP
    http://forum.java.sun.com/forum.jsp?forum=76
    or
    K Virtual Machine (KVM)
    http://forum.java.sun.com/forum.jsp?forum=50
    CLDC 1.0 and MIDP 1.0 doesn't include java.nio
    please go to
    http://java.sun.com/j2me/docs/
    two documents will be useful
    CLDC Specification, V1.0
    MIDP 1.0 Specification, Final (JSR 37)

  • Problems with J2ME and JAX-RPC

    Hi,
    I am trying to write a J2ME web service client. I have generated the stub classes with wscompile from the wsdl document at http://www.webservicex.net/stockquote.asmx?WSDL. However, when I try to run the MIDlet I always get the following error message:
    [wtkpreverify] Error preverifying class javax.xml.rpc.encoding.Serializer
    [wtkpreverify] java/lang/NoClassDefFoundError: java/io/Serializable
    I am using Eclipse 3.1, Antenna 0.9.13, the Web Service Development Kit 2.0 and the WTK 2.3 beta.
    The necessary jars (the WTK libs, rt.jar from the JRE, activation, mail, saaj and jax-rpc libraries from the WSDK) have been included in my classpath.
    Does anybody know how to fix this problem? Any help is much appreciated.
    Regards,
    Motivated

    Thanks, that was my mistake.
    Instead of using wscompile, you must generate the stub classes with the WTK. Then, you set a reference to the j2me-ws.jar (JSR-172). No additional libraries from the Web Service Development Kit are required.

  • J2ME and web client Communication

    Hi,
    I get the following error when I run a MIDlet which connects to a Web Client
    ( which has developed by Eclipse Struts and deployed on Jboss )
    java.io.IOException: cannot find status code in response:
    at com.sun.midp.io.j2me.http.Protocol.readResponseMessage(+113)
    at com.sun.midp.io.j2me.http.Protocol.finishRequestGetResponseHeader(+39)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(+50)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(+6)
    at com.sun.midp.io.j2me.http.Protocol.getResponseMessage(+8)
    at Mobileapp.sendLoginGet(+90)
    at Mobileapp.run(+33)
    I am able to send the HTTP GET request but somehow I do not get the response.
    Could anyone help me.
    Jayaraj

    Hi Jayraj,
    Ive been working with the J2ME HTTP connection and might be able to help.
    Will be able to help you if you can send me the code snippet which is causing the error.
    Also, do you get this error when using the emulator or a phone?

Maybe you are looking for

  • Provisioning to AD - in another forest

    Hi, I have tried to setup FIM2010 to provision users to AD (different forest). While configuring the AD MA, have provided IP address in the place of server, and UPN for login and left the domin blank. Have configured "Preferred DC" to use in the MA.

  • [svn:osmf:] 14261: Updated DRM unit tests to work with code review feedback .

    Revision: 14261 Revision: 14261 Author:   [email protected] Date:     2010-02-18 14:15:23 -0800 (Thu, 18 Feb 2010) Log Message: Updated DRM unit tests to work with code review feedback. Modified Paths:     osmf/trunk/framework/OSMFTest/org/osmf/eleme

  • So is it 4,055 songs or 592? which is it?

    iPod 32GB MD058C/A iOS 6.1.6 (10B500) iTunes 11.2.2.3 Windows 8 PC I'm having issues sync all my music from my PC to my iPod. In windows explorer it says I have 4,055 files under the iTunes folder. iTunes lists 610 songs. and after syncing iTunes say

  • Bex Formula help needed

    Hi Experts, I have repots which displays ...........................     *Good stock.............Stock Age          * *Brand..................Qty.....Value     * Product A.........103.....77066.41................10 Product B...........79......50071.5

  • When I try to go to itunes store itunes shuts down?

    When I have itunes open and I try to go to the itunes store home page windows shuts itunes down? any idea what is causing this or how to fix?  I remember a long time ago when I downloaded an update for itunes my cd/dvd drive would not work so someone