×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Application not supported. Delete?

    This is the message I receive when trying to open a MIDlet that uses HttpConnection.
    What I want to do is to connect to an URL and retrieve data from a file matching the URL.


  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: Application not supported. Delete?

    give permissions for http connection in JAD file as below

    MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microedition.io.Connector.https

  3. #3
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: Application not supported. Delete?

    Thx. Another problem:
    I'm trying to write a file on C:/ on the device (this root exists)
    and I've explicitly asked for permissions in the JAD:
    javax.microedition.io.Connector.file.read, javax.microedition.io.Connector.file.write
    And even though I am asked if it is okay to read/write when running the application,
    In C:\ I get a SecurityException "Access denied" or IllegalModeException "Connection opened in WRITE mode"
    depending on the exact URI...

    Does anybody know what memory locations that are okay to write to?
    Last edited by alixwarnke; 2008-02-29 at 15:20.

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Application not supported. Delete?

    Java ME Developer's Library contains some information
    http://www.forum.nokia.com/document/...818328681.html

    Hartti

  5. #5
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: Application not supported. Delete?

    I looked through it briefly, couldn't find what I was looking for, can you pinpoint the precise document/pages please?

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Application not supported. Delete?

    After a second quick glance...this might not be as helpful as I originally thought though...

    http://www.forum.nokia.com/document/...82070821D.html
    Directory and file access restrictions

    File API also contains the “restricted access to the directory” concept. This is needed if a user starts to navigate, for example, from root to c:/data/Images/ directory (the fileconn.dir.photos property points to that directory). The user has only a restricted access to the c:/ root and c:/data/ directory. This means that the user has only read access rights to the data/ directory. The list() operation returns only those directories/files to where the user has access.

    The user can create/modify/delete files and sub-directories under the c:/data/Images/ directory, but cannot change the name of the c:/data/Images/ directory. This restriction concerns all directories that are pointed to by a File API system property.

    In S60, access to *.jar and *.jad files are forbidden for other access domains except Manufacturer.

    In Series 40, the following files are visible but cannot have user actions (read/write/rename/copy) performed on them (by midlets in any domain):

    *

    RMS files
    *

    JAR files
    *

    JAD files
    *

    INI files

  7. #7
    Registered User
    Join Date
    Jun 2008
    Posts
    4

    Re: Application not supported. Delete?

    Hi Guys,

    I'm trying to connect to the our client applet on Nokia 6212 NFC device using jsr 177 (apdu:0;target=A0.00.xx.xx.xx.xx.xx), but I'm getting a SecurityException and after I tried to add these permissions to my jad file (javax.microedition.apdu.aid, javax.microedition.apdu.sat, javax.microedition.jcrmi)
    and now I can't even run my midlet on my device and the error is: "Application not supported. Delete?"

    Any idea???

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Application not supported. Delete?

    Have you signed you MIDlet? Does the Access Control List on the SIM card to access that Applet on the card?

    Hartti

  9. #9
    Registered User
    Join Date
    Jun 2008
    Posts
    4

    Re: Application not supported. Delete?

    Hi Hartti,

    I have signed the midley. And I don't want to talk to SIM Card, I'm trying to talk to the our applet on the secure element. I can also send APDU commands and get the response back using ISO14443.

    Thanks,

    Alig

Similar Threads

  1. 3250: Too many SMSs received crash the application
    By kewldeep in forum Mobile Java General
    Replies: 4
    Last Post: 2007-01-27, 00:00
  2. Oversized application executable
    By lenclud in forum Symbian
    Replies: 19
    Last Post: 2006-09-20, 14:04
  3. how to delete an application from the emulator
    By praveena in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-09-30, 10:24
  4. J2ME - 'Application not supported ' (on Nokia 3410)
    By steviec63 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-12-11, 06:03
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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