FileConnection permission messages in j2me midp 2.0?

后端 未结 2 900
谎友^
谎友^ 2020-12-11 20:41

I am using midp 2.0. Here, I am using FileConnection for read and write files on mobile memory. I am able to read and write files on mobiles successfully. But while I am try

相关标签:
2条回答
  • 2020-12-11 21:00

    This is not coding related issue. Basically this type of confirm alert asking for security purpose. Because you are using JSR-75.

    In this purpose, You need to sign your application with atleast any 3rd party signature like one from Verisign or Thrawte and then go to the application settings - permissions - and set permission for "Access User Data" as "Ask only Once" or "Allow Always" (these settings might not be available for your unsiged app on the device.)

    If you facing this Issue on the emulator, go to preferences and MIDP tab, set the application domain to Trusted and set permission as "Allow Always". For more info, see here...

    Signing sites are,

    Thawte

    Verisign

    Java Verified

    0 讨论(0)
  • 2020-12-11 21:10

    If you go to 3rd party trusted certificate means its minimum cost is RS.10000 per year. For deploying your application in client (final stage). It will worth.

    But for testing, validating input, developing stage the cost is high. So check if your mobile has support for self signed certificate. If it supports self signed certificate, then process with self signed certificate.

    But keep in mind self signed certificate is only for testing / development purpose. For delivering the project to client you should go to trusted party certificates.

    0 讨论(0)
提交回复
热议问题