Java Mobile and PKCS11

Is there a way to connect to a vendor provided PKCS11 dll through JavaME just as you can do thourgh j2se. Does Java Mobile support JNI? I am very new to J2ME, so any help would be appreciated.
Does Bouncy Castle or anyother crypto librarys provide functionality to connect to P11 dlls in J2ME

Hi,
unfortunately no, there is no JNI in Java ME and there is no way how to connect to any native OS services. You have only the Java ME JSRs which are to some level implemented on particular devices.
Regarding the security and encryption services check the JSR-177 [http://www.jcp.org/en/jsr/summary?id=177|http://www.jcp.org/en/jsr/summary?id=177].
Rada

Similar Messages

  • JAVA Stack and ABAP Stack not in Sync

    Hi,
    when i logged into the MI Server(7.0) gonr thru the following navigation :
    Administration-->Mobile Infrastructure---->Mobile components
    which i click on the search button i am getting the following error
    "JAVA Stack and ABAP Stack not in Sync"
    Already i redeployed the sapjra.rar, still i find the error unchanged.
    Any help on this would be great........
    Thanks,
    vijay.

    Hi
    Refer this link
    Need to Configure MI Server 7.0
    As explained by veeraragavan in this link follow these steps
    Following are in brief the roles required, just forward the same to your BASIS administrator.
    In the ABAP Stack -Under Transaction SU01:
    End User:
    SAP_MI_SERVICE
    Administrator / Critical Developers:
    SAP_J2EE_ADMIN
    SAP_MI_ADMIN
    In the J2EE Stack - Under Identity Management:
    End User:
    No role required. You can give a role for display: SAP_JAVA_NWMOBILE_ADMIN_READONLY
    Administrator / Critical Developers:
    SAP_JAVA_NWMOBILE_ADMIN_SUPER
    regards
    Manohar
    Edited by: Gouri  Manohar Gadhamsetty on Jan 19, 2009 7:17 AM

  • Sun One Java mobile Application start error

    Hi,
    I established sun one java mobile application builder but I coudn not start it . when it come to %27 it show me this messagebox "This application has unexpectedly has caused an ExceptionInInitializerError. This Application will now exit (LAX)"
    in detail
    "java.lang.NullPointerException
         at com.aligo.tools.action.NewApplicationAction.<clinit>(NewApplicationAction.java:34)
         at com.aligo.tools.applicationbuilder.ApplicationBuilder.defineActions(ApplicationBuilder.java:460)
         at com.aligo.tools.applicationbuilder.ApplicationBuilder.<init>(ApplicationBuilder.java:325)
         at com.aligo.tools.applicationbuilder.ApplicationBuilder.<init>(ApplicationBuilder.java:82)
         at com.aligo.tools.applicationbuilder.ApplicationBuilder$83.construct(ApplicationBuilder.java:3278)
         at com.aligo.tools.thread.SwingWorker$2.run(SwingWorker.java:149)
         at java.lang.Thread.run(Thread.java:484)
         at com.aligo.tools.thread.SwingWorker.start(SwingWorker.java:192)
         at com.aligo.tools.applicationbuilder.ApplicationBuilder.main(ApplicationBuilder.java:3325)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.zerog.lax.LAX.launch(DashoA8113)
         at com.zerog.lax.LAX.main(DashoA8113)"
    Please help me..
    Thanks ...

    This question does not appear to relate to Java Studio Enterprise. Try locating the forum for the product you are using, and ask your question there.

  • Showing bangla character in all types of java mobile using bitmap fonts

    i am a new user of j2me.but i cannot find any helps.
    i want to do english to bangla dictionary for all types of java mobile using bitmap
    fonts.
    initially how can i display bangla character using bitmap font in non unicode supported java mobile???
    but i cant do it.
    please send me source code or any helping resource.
    i am waiting for your reply.

    More info; installed mplayer2 which should work better with vdpau and this happened;
    VO: [vdpau] 800x468 => 800x468 Planar YV12
    [vdpau] Got display refresh rate 60.015 Hz.
    [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.
    A: 6.3 V: 6.4 A-V: -0.000 ct: 0.000 0/ 0 1% 2% 0.2% 0 0
    [h264 @ 0xb6b41640]left block unavailable for requested intra mode at 0 23
    [h264 @ 0xb6b41640]error while decoding MB 0 23, bytestream (1111)
    [h264 @ 0xb6b41640]concealing 399 DC, 399 AC, 399 MV errors
    A: 6.5 V: 6.6 A-V: 0.000 ct: -0.000 0/ 0 1% 2% 0.2% 0 0
    Seek failed
    Seek failed
    Seek failed
    Seek failed
    Seek failed
    Seek failed
    Alot of those "Seek failed"!

  • What is java script and how do I enable it?

    What is java script and how do I enable it

    JavaScript is enabled by default for Adobe Reader for iOS, and I don't see that there's a way to disable it. It is currently used within a document to control the behavior of form fields, such as automatic formatting and calculations. Only a small subset of what's available in the desktop version is available in the mobile versions.

  • Web Dynpro Java: Mobile Device Recognition Problem

    Hi, all!
    I' m building an WD App with different UIs for Mobile and Desktop usage and therefore try to get a com.sap.mobile.clientinfo.ClientInfo Object via:
    ClientInfoFactory clientInfoFactory = ClientInfoFactory.newInstance();
              ClientInfo clientInfo = clientInfoFactory.newClientInfo();
              IWDProtocolAdapter protAdapter = WDProtocolAdapter.getProtocolAdapter();
              IWDRequest request = protAdapter.getRequestObject();
              clientInfo.load(request);
    For this I added DC "com.sap.mobile.clientinfo" out of SAP_JTECHS as Used DC.
    When starting the Application, I receive the following error:
    java.lang.NoClassDefFoundError: com/sap/mobile/clientinfo/ClientInfoFactory
         at at.tmobile.proj.intern.vis4.start.StartCompInterface.getClientInfo(StartCompInterface.java:156)
         at at.tmobile.proj.intern.vis4.start.StartCompInterface.wdDoInit(StartCompInterface.java:112)
         at at.tmobile.proj.intern.vis4.start.wdp.InternalStartCompInterface.wdDoInit(InternalStartCompInterface.java:112)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:448)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:167)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getViewManagerFor(ClientComponent.java:304)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:619)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:685)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:570)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:300)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Im a referencing the wrong DC in the wrong way? Any hints more than appreciated!
    Regards,
    Thoams

    Thomas,
    In your WD project right-click on project node, open "Properties", switch to "WebDynpro References" then select "Library References". Add here library <b>com.sap.mobile.clientinfo</b>
    If you add it in wrong place before, then remove it. If you add run-time dependecy for used DC, then remove it (just left build-time dependency).
    To find corresponding library/service in future, run Visual Administrator, find your service/library in Services/Libraries tree and copy the value of <b>Service Name</b> or <b>Library Name</b> respectively.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • How do I configure my application to provide access for mobile and web brow

    Hi everyone.
    I have one application and I need to provide access for mobiles and desktop browsers, and I don't know how do I configure my application to do this.
    Let me explain:
    In my jDeveloper I have One application and 3 projects:
    -Mobile (here is my mobile application)
    -Model (here is my model)
    -ViewController (here is my Web Browser application)
    In Mobile I have
    JavaEE Web Application name: mobile-Mobile-webapp
    JavaEE Web Context Root: mobile
    ViewController I have
    JavaEE Web Application name: mobile-ViewController-webapp
    JavaEE Web Context Root: myapplication
    When I run some page of ViewController I have this URL "http://localhost:7101/myapplication/index.jspx".
    When I run some page of ViewController I have this URL "http://localhost:7101/mobile/index.jspx".
    My problem is that, I want to have Just one landing URL like that "http://localhost:7101/myapplication/index.jspx" and when I get this URL by Desktop Browser my ViewController is showed, and when i get by Mobile the Mobile project is showed.
    Someone knows how do it?
    Thanks....

    Yes, I can, thanks for response.
    But, don't have some configuration in Oracle for this? I've been thinking do this with java or JavaScript, but I was looking something more beautiful for this.
    Java or JavaScript is the only way?

  • BO Mobile and Ipad

    Hi
    did i need BO Mobile installation on BO Server for Ipad???
    I have try it and shut down the BO Mobile Servers in the CMC and i could connect to the Server without any problem. I could download webi reports without any problem.
    What did the bo mobile backend in combination with the Ipad App????
    In the Ipad App i have a connection like: BOEServer:8080
    I didn't use the special port for the mobile applikation?
    How could help me?

    I found my own answer. You need to have a licence for BO Mobile and need to install it with SP4. After that you will find the war on the java/applications folder.

  • Java mobile app

    Hello All,
    I am new in this forum. I am interested in taking "Java Mobile Edition 1 Mobile Application Developer Certified Professional" Exam, I have experience in java programming, however this exam requires knowledge on wireless devices, and security, etc. Can you please help me with a good source like books or .pdf files that helps me get above certificate?
    Thanks,

    All type of Java Exam books are available on Amazon.

  • Skype for Java mobiles

    Is Skype available to download in java mobiles. i am using LG GX300 i am unable to get the link for download. If it is available pls send link to [removed for privacy]. Thankz in advance

    OMG this is user to user forum I am sure you were told about this a million times, so you might or might not get an answer from users that carry a 'green' hat by their name. if you want it for sure then contact Nokia care either in person or via 'contact us' button option on top of this page!!!!!!! your oblivion speaks for itself
    and just to be sure xpress music(Nokia 5630xpm)  line is nowhere near in the same zip code as the e series and communicators. 
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • Java Card and J2ME

    Hi !
    I�m startying a project with java card, and , for example, I want to know if is possible an mobile phone consult a smart card status, how much credits he has ... etc.
    I Think I will use j2me too for this ... but It�s possible do this ?
    Thanks.
    []�s
    Johnny

    j2me is for programming in phone equipment. if you want to do something in sim card, I think that you must use java card also.
    sorry for my english

  • Leor Zahavi: Interested in learning Java Mobile

    Myself Leor Zahavi and I am interested in learning java mobile so that I can develop mobile applications. I have some basic knowledge of core java. Please suggest me some tutorial website to learn mobile java mobile.
    Thanks
    Leor Zahavi

    958263 wrote:
    Myself Leor Zahavi and I am interested in learning java mobile so that I can develop mobile applications. I'd investigate Android and iOS app development then. Android is based on the Java language at least, so through that path you could get yourself reacquainted with it. But you'll need a good book, not a tutorial. This is no easy subject that you learn from a few dinky paragraphs and some pseudo code.
    EDIT: hm, pretty old thread.

  • I have two apple ids somehow, probably from two mobile and two computers - how do I merge them into one account so they all work with iCloud?

    Somewhere, somehow, between two mobile and two macs, I ended up with two apple ids. I figured that this was the root of my problem to syncing. So, I am syncing Mail, Contacts, etc through the one account that I bought storage on this year in iCloud. I want to merge the two accounts, since many of my apps were purchased with my other id. Apparently, Keynote will not merge files since the app was bought with the second id, not the id I am using for icloud.
    What to do??? I read, in the forums, that I am definitely not alone. I always had the id I used for the Apple Store to buy iTunes items, and then apps. The other id, that I am using for iCloud was based on my iDisk id, and apparently I set up as a separate account. The much failed iDisk account appears to be the one that I wish I never got involved with. Should I feel the same way about iCloud. If I cannot merge the two APPLE accounts from the same person (ME!!!), then many dropbox really is the answer for my file sharing needs.
    Please help me decide.

    To begin with, I would like to try to explain Apple's confusing nomenclature in regard to iCloud.
    Apple have called the whole cloud thing iCloud, there are a number of features under the iCloud umbrella, some of which require their own login. iTunes is one of these, another is what Apple have unfortunately also called iCloud too.
    You can use the same Apple ID (account) to login to both iCloud and iTunes, but you don't need to and often users will login to each service using a different ID.
    The part that you need to remember is that the services available when you log into iCloud are completely different and unrelated to those when you log in to iTunes. Your iCloud login enables mail, contacts, calendars, find my phone, Back to My Mac, Documents & Data sharing and photostream, it does not affect any of your iTunes services.
    To avoid confusion when discussing your problem, when I mention iCloud, I am referring to the services under the iCloud login, Whereas I will refer to the whole cloud thing as The Cloud.
    To go back to your question; you cannot merge accounts, but perhaps using one account for iCloud and the other for iTunes will resolve the majority of the reasons you needed to merge to begin with.

  • The Difference between iphone Unlock T-Mobile and iphone Unlock Free-Sim

    As mentiond in the title my questions are:-
    - What is the Difference between iphone Unlock T-Mobile and iphone Unlock Free-Sim?!
    - Did they both work Internationally?!
    - For the Unlock T-Mobile should i use their sim or i can use any sim directly?!
    Thanks

    Unlocked means unlocked and you can use any sim card and keep changing them and the phone will never lock if it is unlocked.
    Sim free, means that the phone is sold at full price without a sim card, but the phone will lock to the first sim card that you put in it.  A sim free phone will work internationally, but you will have to use a roaming plan with your phone company because the phone will be locked, so you CANNOT change it to a local sim card.
    If you have an unlocked phone, you can use it internationally by inserting a local sim card and the phone should then work and you won't have to pay increased roaming charges as you would with a locked phone.
    If you buy a T-Mobile phone that is unlocked, DO NOT activate it with their sim card or the phone will lock to T-Mobile and you will have to approach them to get it unlocked.  Use it with another sim card straight away and it will remain unlocked.

  • Whats is difference between Java JRE  and  Java SDK

    Hi,
    what is the difference between Java JRE and Java SDK...
    i think both of them have the same set of files to be installed...
    I am not able to understand where they differ

    The JRE (Java runtime Environment) contains just the stuff necessary to run Java and the SDK (System Development Kit) contains the extra stuff necessary (and also helpful) to develop in Java.

Maybe you are looking for