Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User freyc1's Avatar
    Join Date
    Mar 2005
    Location
    Switzerland
    Posts
    3
    Hello everybody
    Is it somehow possible in J2ME to get (read-only) access to a class-file in my jar-archive?

    I already tried with getResourceAsStream(<filename>), but obviously this only works for 'real' resources and not for class-files.

    I hope anybody can help me with this ...

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Class files directly? No.
    Of course if you store the class file under different name (in addition to the real executable class) as a resource, then you could access those. But that would make your jar file bigger.
    What are you trying to achieve?

    Hartti

  3. #3
    Regular Contributor prashant332's Avatar
    Join Date
    Jul 2005
    Location
    Omaha, US
    Posts
    129
    Once the java file is compiled it is converted to byte codes and i dont understand the use of accessing the class file.

Similar Threads

  1. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  2. JAD or JAr problem ...file for 6610 nokia (40 series)
    By farhanx in forum Mobile Java General
    Replies: 2
    Last Post: 2005-11-11, 04:52
  3. strange behavior on sending jar file via WAP for different mobile network
    By thone in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2005-10-28, 07:53
  4. Replies: 0
    Last Post: 2005-10-27, 20:51
  5. Tbuf Usage: Inside Headerfile Class
    By Alicia_S60 in forum Symbian C++
    Replies: 2
    Last Post: 2004-12-01, 04:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved