J2ME App using PIM (JSR-75)

Hi all,
I developed an application which accesses the mmc of a mobilephone and the PIM DB. The Phone support the optional Pakage JSR-75. My Problem is, every time I download the app to the emulator / real device it shows me the error message SecurityException/java/lang/SecurityException Access denied. It wouldn't be strange to me if I havn't simulated the third party trusted domain. So her is my next question. How can I change the permission modes (Oneshot, Session,Blanket,...)? Does the Handset sets this modes it self? Please Help me!
Best Regards.

The only thing that makes sense is that the certificate is not recognized by your phone as a valid one. If this is not th ecase then my knowledge with this problem has reach a dead point.
Mihai

Similar Messages

  • How to use pointerPressed() in j2me app running in Windows mobile

    Hi
    Can someone tell me how to add pointerPressed() support in command area(the bottom rectangle enclosiing the keyboard icon) in windows mobile.
    Our J2ME app is running in windows mobile(5.0) however even after setting fullscreen mode to true,pointerPressed() does not work on the bottom area of the screen where the keyboard icon is.It however works on all other screen region.
    Thanks in advance.
    Abhishek

    so are you saying that pointerpressed doesnt work after setting Setfullscreen mode?

  • [jsr82] can a j2me app be a Bluetooth server and client role in parallel?

    I want to make my j2me app register a special service channel and listen to it, meanwhile, I also want to start a client to connect to other handset which has the same services. In Bluetooth protocol side, this is obviously OK, but in J2me is this design possible? some people said that in jsr82, the Bluetooth device is exclusive for J2me app, app cannot be both server role and client role at the same time. Can anybody give me a definite answer?

    No this design is not possible with JSR 82. Because when the device acts as a server it can't be used as a client as whenever you will run the client code the server mode will disappear.
    But what maximum you can do is when you need the client to run close the server and switch into the client mode but I think you don't need this solution.
    Shan!!!

  • What are the ways to download j2ME app to j2ME phones

    Hello Friends,
    What are the ways to download j2ME app to j2ME phones, is there any method that all phones supports.
    I am downloading app to different phone in different ways, i.e using infrared, bluethooth, cable (different cable for different phones), URL (WAP)... offff.....
    Can any one let me know is there any one way that we can download app to phone... i mean is WAP URL support on all phone?
    Thanks
    Kumar.M.R

    The following Java tip may help:
    How to install a J2ME aplication on a mobile device
    http://www.java-tips.org/content/view/617/73/

  • Parameters on a j2me app

    Hi, I must develop a general app to communicate with a PC, this app must be used by several custom programs on the devices. I want to know how can I call to a java app from another app inside a mobile device and send it parameters.
    For example:
    From an app I must call to this program and send a variable amount of parameters so my j2me app can analize those parameters and send the data to the pc.
    analizing the data and comunicating with the pc is the easy part, but I have no clue on how to initialize the j2me app.
    In a PC you can do it qith the java or javaw commands.

    mmmmm, what?
    I am new to j2me, can you please explain it better.
    I have also made all the connection system to comunicate from the mobile to the PC and also have made the plugin based working system on my PC, now it really need to achieve on this to continue the project.

  • Are there any ways to package a J2ME app and let people view via computer?

    Are there anyways to packaged a J2ME app with the emulator?
    So that when people click on a bat file, that emulator will run along with the J2Me app?
    I saw this in the jbuilder console
    C:\WTK21\bin\emulator.exe -classpath "C:\MyApp\classes;" -XdeviceefaultColorPhone -Xdescriptor:"C:\MyApp\jad-temp\MyApp.jad"
    I belive it can be done?
    Please advise. Thanks

    What? An .exe? What is this? Do you know that you are coding in Java? Especially in J2ME? What do you want with a windows executable on your mobile phone?
    Once more:
    1) pack your project and generate the jad/jar files. This contains your code, the app you wrote.
    2) To run this, you need a phone or an emulator. (like you need windows to run an exe). So either you transfer these to a phone and run it from there or use the emulator that comes with the WTK or SunONE or whatever. And for running on an emulator, you can write a .bat for starting. Of course, you can write a .exe but it will do nothing else than calling the emulator with its parameters.
    Thats the Java principle btw:
    Bytecode (i.e. jad/jar in mobile environment)
    Java VirtualMachine (i.e. an emulator)
    OS (i.e. Win32)
    hth
    Kay

  • Networked J2ME app hanging on send

    Hello there,
    So, I have a network aware j2me app that does a LOT of talking with a server in order to stay synched (yes, we realise lots of network traffic could be expensive for the consumer -- this app is being developed at the request of a carrier..heh).
    I, like many people here, was having LOTS of problems using POST. The errors were frequent and insanely difficult to track down. So, at someone's suggestion, I switched to GET (pass the packet data as a parameter in the query string). Performance is definatly better...but still not perfect..
    The problem I have now is very strange: After several minutes (anywhere from 2 to 5) of sending data packets to the server without incident, my sending thread will just freeze. Its still running, only no data is able to get sent to the server. This, of course, basically breaks my application.
    If I leave it running for several minutes, eventually I will get an "IOException: malformed response message" error, and then it will start sending again. Generally speaking, though, once this first freeze has occured, subsequent freezes are frequent.
    Has anyone experienced a problem like this before? I would have sworn I read a thread about this issue on a J2ME forum recently, but I can't, for the life of me, track it down again.
    If anyone has any ideas, I would be greatly appreciative.
    Many thanks, in advance,
    Ben Mattes.

    Me again.
    Ok, let me try to be a little more precise in what exactly I need. :)
    What is happening is that after several minutes of succesfull data transfer between client/server, a connection is being opened to the server succesfully, but data isn't getting transfered. Sometimes it takes up to 5 minutes for this data (a string less then 100 bytes long) to get transfered. Something is obviously getting hung up somewhere.
    Checking deeper we can confirm that there is indeed a hang in the connection object. However, we don't know what to do about it.
    The device we are working with has a maximum of 2 concurrent connections allowed, and we currently use both already (one for incoming, one for outgoing). We can't just open another connection and wait for the stalled connection to timeout.
    Is there any way we can force a connection to just STOP whatever its doing? It is not our method that is caught in a loop. Its most definatly something in the connection class. Will setting the connection in question to null then forcing a garbage collection cause it to stop whatever it is doing, allowing us to open a new connection and re-attempt the data transfer with the server?
    Not sure if this makes it a little more clear.
    Any help would be greatly appreciated.
    -Ben Mattes

  • Problems to upload an j2me app  to Motorola c650

    Hi everybody!!
    I m using the software Midway (v2.8) to upload an j2me app to the celular device (an Motorola c650). I upload an app generated with the wireless toolkit, and it uploads ok... but when i try to upload any j2me app generated with netbeansMobilityPack to the device, it shows this message:
    "Failed
    Invalid Document"
    I dont know why it uploads ok, an j2me app generated with wireless toolkit, and why it can't upload any j2me app generated with the netbeansMobilityPack ... any ideas or suggestions? PLS HeLp
    Thanks
    Bye bye

    Hi..
    I am loading a .png file in this way
    Image shipImage=Image.createImage ("/ship.png");
    take care of the "/". I put the .png file in the class directory nad everything work fine.

  • Cannot send email in mail app. using POP account with Wi-Fi

    I recently moved to an apartment that only has wireless internet access. Since moving I cannot send email using my POP account, although I can receive email. I was also not able to receive email using my .mac account, but I learned through this forum to change server port to 587 in .mac account and now I can send via .mac account in mail app. But I still cannot sent email with mail app. using my POP account. I changed no settings when I moved, and have never had this problem with cable. Any suggestions?

    It all depends on the policy of whoever is the ISP at your new location and the method used by the outgoing (SMTP) server to determine whether you’re a legitimate user.
    In an attempt to fight spam, many ISPs restrict the ability to send using an outgoing (SMTP) server not owned by them, usually by blocking port 25 for all traffic outside their own network, which means you cannot send with an SMTP server not owned by them if configured to use that port number. And it may happen the other way around as well, i.e. the outgoing server itself may look at the IP address you’re connecting from and refuse the connection if you’re outside its own network.
    Something that often works is changing the outgoing server port to 587 (or whatever alternate port number the outgoing server listens to) instead of 25 and using some form of authentication in Preferences > Accounts > Account Information > Outgoing Mail Server > Server Settings, but two conditions must be satisfied for this change to work: (1) the ISP must not block that port as well AND (2) the outgoing server in question must listen to that port and accept a form of authentication not based on the IP address you’re connecting from.
    Independent mail service providers not tied to a particular ISP, such as .Mac and Gmail, do allow authenticated SMTP access on port 587, which is the reason changing the outgoing server port number solves the problem for them if the ISP doesn’t block that port as well.
    The following article, for example, describes several ways to address this issue in the case of .Mac, but can be useful for other mail accounts as well (not just .Mac), and applies to all versions of Mac OS X (not just Mac OS X 10.4.2 and earlier as the article states):
    .Mac: Server timeout alert message when sending email

  • Apex as Partner App using OID SSO

    Hi
    I have setup Apex as a partner App in OAS.
    Registered the partner application.
    Created a simple app that uses the builtin Apex auth as partner app using sso.
    I get the OAS login appearing as expected for authentication however apon entering credentials successfully
    The success url takes me to server:7777/sso/auth and displays page can not be found
    My OAS Partner App success url registered is server:7778/dad/apex/wwv_flow_custom_auth_sso.process_success
    app schema registered details
    My lsnr token is HTML_DB:server:7778
    other details cut and copied from OAS registration page.
    lsnr login url is the oas sso login url is this correct?
    Appears to work apart from the success url finding its way back to my app.
    TIA
    Richard.

    Hello all,
    I'm having somewhat of a similar issue, but I think our setup might be making it a bit more complex.
    First question, simple one:
    1.
    In my authentication method in my apex app, when I set my logout URL to http://{myhost}:{myport}/pls/orasso/orasso.wwsso_app_admin.ls_logout?p_done_url=http://www.google.com
    It doesn't automatically redirect. I have to press the Return button on the OAS Single Sign-Off page to redirect to www.google.com
    Is the redirect not automatic? Is there a way to make it automatic?
    2.
    We have the issue where you login via SSO into an APEX application (APEX as a partner app). But the logout url does not truly log the user out. It redirects to our public page as we expect it to, but when they press the login button, it just goes straight back in (as if they were never logged out).
    Now I know this has to do with the cookie, but here's the tricky part.
    Our OAS server (that has Portal) is on a separate box. We've upgraded all our database servers, and they all have now a different domain than the OAS server. So now, OAS is in company1.com domain and our APEX apps are on company2.net domains.
    Our DBA had setup us his own flavor of SSO logout (public synonym for all apex workspaces to use). He has an actually database procedure that used the owa_cookie package to look for the cookie and invalidate it on logout. With the new domains, his logic no longer works, because I believe the cookie is still in company1.com domain and the logout proceduce is running from the company2.net domain and cannot find the cookie (since it's not in it's domain).
    After all that, I am thinking that since we can successfully login to SSO in company2.net domain via the OAS server, then we should also be able to logout of SSO successfully via the OAS server as well. Am I on the right track here? Is it possible with multiple domains?
    Thanks,
    Chris
    Edited by: CDub on Oct 19, 2009 1:55 PM

  • Unable to deploy Web App using JPA TopLink Essentials in Tomcat5.5.17

    Hi All,
    I am trying to deploy a Web App ( used Top Link Essentials ) to Tomcat and i am getting the following Error..
    I am strating tomcat using -javaagent:/Path/To/spring-agaent.jar
    Dec 14, 2006 9:52:46 AM org.apache.catalina.loader.WebappClassLoader loadClass
    INFO: Illegal access: this web application instance has been stopped already.  Could not load oracle.toplink.essentials.internal.weaving.ClassDetails.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    java.lang.IllegalStateException
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at oracle.toplink.essentials.internal.weaving.TopLinkWeaver.transform(TopLinkWeaver.java:84)
            at org.springframework.orm.jpa.persistenceunit.ClassFileTransformerAdapter.transform(ClassFileTransformerAdapter.java:56)
            at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
            at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
            at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.getDeclaredConstructors0(Native Method)
            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
            at java.lang.Class.getConstructor0(Class.java:2671)
            at java.lang.Class.newInstance0(Class.java:321)
            at java.lang.Class.newInstance(Class.java:303)
            at org.apache.myfaces.application.ApplicationImpl.createComponent(ApplicationImpl.java:396)
            at com.sun.faces.config.ConfigureListener.verifyObjects(ConfigureListener.java:1438)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:509)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            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:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Thanks
    Sateesh

    Spring 2.0 provides custom support for TopLink Essentials in Tomcat out-of-the-box. You should follow the instructions here: http://static.springframework.org/spring/docs/2.0.x/reference/orm.html#orm-jpa-setup-lcemfb-tomcat
    Essentially, Spring provides a custom class loader for Tomcat and doesn't use an agent.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Question regarding backlight and apps. use

    Hi Everybody-
    O.K., I know this might seam like a stupid question, but I won't know if I do not ask, so here it goes. I purchased a app called "Emergency Radio" from the app store and it works great. My question is that when i purchased it, I could listen for long periods of time and the screen would go dark after my 1 min. as I have it set in my settings and I just let the iPod lay there as I listen. But recently, the light does not go out and I have tried to reset it and re-install the app, but to no avail, so can somebody help me in figuring out what might have happened? I know it might seam minor, but it is eating up battery life pretty fast sine the app. uses a wifi connection constantly.
    Thanks for looking and any help you can provide will be very helpful.
    Sincerely- Doug

    Try just pushing the wake/sleep switch at the top Left of your touch to turn off the screen.

  • When I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    when I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    Thanks for your reply. Having read through relevant topics it suggests that if I sync my iphone with the correct account on my pc it should use that one thereafter. i will try both.

  • I set up "Find My Iphone App" using the same apple id and password on two iphones. Now the app only finds the phone that I did the setup on first. Do I need a different apple id and password on each phone for the app to run correctly?

    I setup two iphones on "Find My Iphone App" Using the same apple id on each phone. Now the app finds only the phone I setup first. Do I need to use two different apple ids? If your answer is yes then how do I errase the setup in the second phone and assign a new id?

    As TJBUSMC1973 states, and as I said earlier, the Find My iPhone app has nothing to do with your use of Find My iPhone. The app is just used if necessary to locate another iOS device from that particular iOS device. To see if both of your devices are being located in Find My iPhone, log into www.icloud.com and select Find My iPhone. Both of the devices should appear. If they do not, then go into whichever of the devices does not appear and make sure that Find My iPhone is activated. It has to be activated through iCloud, and for both to show on the same map, they both have to have the same iCloud ID.

  • HT3819 Can 2 apple ID's share music and apps using the HOME SHARING?

    Can 2 Different Apple ID's within the same household share music and apps using the "Home Sharing"?  Or should we continue to just use 1 Apple ID?

    Understanding Home Sharing
    How to use multiple iPods, iPads, or iPhones with one computer
    How to use multiple Apple ID's with one computer and iTunes | iMore.com

Maybe you are looking for

  • Why can't I see a slideshow in a Time machine backup ?

    I have created a slideshow which works fine, and shortly afterwards did a weekly backup using Time Machine. I then made a small change to the slide show that changed the order (or rather the arrangement) of the pictures in the Sliding Panels themed s

  • Exclamation mark instead of photo!

    I tried to transfer the contents of an album I have created to a Flashdrive... somehow now all the of the photos in that album won't 'open' I just get an exclamation mark when I click on them -- and also some of the photos in 'Photos'... what on eart

  • Reason in Goods Movement Screen

    Hi all,            I want to Enter some fixec reasons in the goods Movements Screen(mb1a). The Reasons One reason for Over Issue , another one Good Material Return to W/H, and last one from Return of Defect Material Is it Possible to alter SAP Standa

  • Mac is very slow and unresponsive

    after loading mountain lion and a few issues before this my mac pro has become very very slow, starting up and shutting down takes forever and some of the pages I load takes forever to load too, any ideas please could really do with help, I even brou

  • Deprecated something

    I have narrowed it down to the events method and it seems there is a problem with the event. I have it working kinda right and I wanted to clear the buffer. http://www.state.nj.us/military/test/testingjava/applet.htm try the applet out. type in bob p