×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    20

    saving file without asking for security permission

    Hi
    I am programming with my nokia N95 8GB and using Java
    When I try to take a snapshot from the camera and save the image file into a directory it always ask me to grant permission to save that picture. Is there any way that I still can save the file without triggering that kind of warning

    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: saving file without asking for security permission

    Hi snoopyAU,

    totally avoiding/removing confirmation popups is only possible with midlet signing.

    You can find detailed and complete infos about this process on these Forum Nokia Wiki pages:

    http://wiki.forum.nokia.com/index.ph...ng_for_dummies
    http://wiki.forum.nokia.com/index.ph...curity_Domains

    Hope it helps,
    Pit

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    20

    Re: saving file without asking for security permission

    Hi
    Thanks for that useful links.
    May I ask another question. Do I need to sign midlet for camera using permission too if I program to take a snapShot()

  4. #4
    Registered User
    Join Date
    Jul 2008
    Posts
    21

    Re: saving file without asking for security permission

    Quote Originally Posted by snoopyAU View Post
    Hi
    Thanks for that useful links.
    May I ask another question. Do I need to sign midlet for camera using permission too if I program to take a snapShot()
    Yes you need to sign the midlet to take a snapShot.

  5. #5
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: saving file without asking for security permission

    snoopyAU, No, you do not need to sign the MIDlet to be able to take pictures. But there will be confirmations asked from the user. With signing, you can avoid those (and without signing, you can change the settings so that the user is only asked once...)

    Exception! Some operators have more restrictions in place for MIDlets (running on operator branded devices), see here for more information
    http://wiki.forum.nokia.com/index.ph...m_the_standard

    Hartti

  6. #6
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Re: saving file without asking for security permission

    Hey
    can anybody tell how to get rid of following messages that even appear in the Emulator when we run in NetBean environment

    wants to record a snapshot image, is it OK to record?, after pressing yes it comes

    wants to read from the local file system, is it OK to read you files?

    Pleasw

  7. #7
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: saving file without asking for security permission

    Hi tdingu ,
    As Hartti , jppit said in the below post , If you are performing any operation which is untrusted , Then it will ask the user for the permitions . This is due to the sand box effect of java. If you want to get rid of all these you need to sign your application the it will not ask any questions. And one more thing after installing the signed jar and you are using the S40 devise you have to setyou have to set the application access permitions manly and it has to set to askonce mode .

    In netbeans if you have a certificate you can directly import and run your project

    For signing reference go through the following links:
    http://www.spindriftpages.net/blog/d...orial-revised/
    http://developers.sun.com/mobility/w.../wtk-sign.html
    http://multivac.fatburen.org/localdo.../security.html
    http://blog.javia.org/midlet-signing/

  8. #8
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: saving file without asking for security permission

    tdingu, the emulator shoudl have a setting to run the MIDlet in manufacturer/operator domain. In that mode, there are no questions asked.

    Hartti

Similar Threads

  1. problem when importing from carbide c++ to vs 2003!
    By misfit.physics in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2008-02-19, 09:45
  2. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  3. Replies: 1
    Last Post: 2006-08-24, 15:37
  4. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  5. PROBLEMS WITH 9210I EXCEL FILE SAVING
    By bte1710 in forum Symbian
    Replies: 0
    Last Post: 2002-07-06, 16:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×